Commit 76355f7c authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.navigatorView: turn NavigatorView into a QmlModelView

This will help in the future to add features like a context menu.

Change-Id: I194e79328b72798a8e000a8ca3abe48150965afb
Reviewed-on: http://codereview.qt.nokia.com/409Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 033837dc
......@@ -44,7 +44,7 @@
namespace QmlDesigner {
NavigatorView::NavigatorView(QObject* parent) :
AbstractView(parent),
QmlModelView(parent),
m_blockSelectionChangedSignal(false),
m_widget(new NavigatorWidget(this)),
m_treeModel(new NavigatorTreeModel(this))
......
......@@ -33,7 +33,7 @@
#ifndef NAVIGATORVIEW_H
#define NAVIGATORVIEW_H
#include <abstractview.h>
#include <qmlmodelview.h>
#include <QWeakPointer>
......@@ -51,7 +51,7 @@ class NavigatorTreeModel;
class IconCheckboxItemDelegate;
class IdItemDelegate;
class NavigatorView : public AbstractView
class NavigatorView : public QmlModelView
{
Q_OBJECT
......
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