Commit 7f4e1cf9 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner: Refactor NavigatorWidget::treeView

Change-Id: If5e1c5dbd8dd6f52bcf43d88256201a4a3c4aa9a
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent c2bdf290
......@@ -77,6 +77,11 @@ void NavigatorWidget::setTreeModel(QAbstractItemModel* model)
m_treeView->setModel(model);
}
QTreeView *NavigatorWidget::treeView() const
{
return m_treeView;
}
QList<QToolButton *> NavigatorWidget::createToolBarWidgets()
{
QList<QToolButton *> buttons;
......
......@@ -50,7 +50,7 @@ public:
virtual ~NavigatorWidget();
void setTreeModel(QAbstractItemModel *model);
QTreeView *treeView() const { return m_treeView; }
QTreeView *treeView() const;
QList<QToolButton *> createToolBarWidgets();
QString contextHelpId() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment