From 5df0f0a0500cff7f42b5cf0f86b8646f34c74a1a Mon Sep 17 00:00:00 2001 From: Kai Koehne <kai.koehne@nokia.com> Date: Mon, 19 Jul 2010 14:02:17 +0200 Subject: [PATCH] QmlOutline: Move model methods to private --- src/plugins/qmljseditor/qmloutlinemodel.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/qmljseditor/qmloutlinemodel.h b/src/plugins/qmljseditor/qmloutlinemodel.h index acc0890bc7a..8c853483f90 100644 --- a/src/plugins/qmljseditor/qmloutlinemodel.h +++ b/src/plugins/qmljseditor/qmloutlinemodel.h @@ -57,7 +57,12 @@ public: QmlJS::Document::Ptr document() const; void update(const SemanticInfo &semanticInfo); + QmlJS::AST::Node *nodeForIndex(const QModelIndex &index); +signals: + void updated(); + +private: QModelIndex enterObjectDefinition(QmlJS::AST::UiObjectDefinition *objectDefinition); void leaveObjectDefiniton(); @@ -67,11 +72,6 @@ public: QModelIndex enterPublicMember(QmlJS::AST::UiPublicMember *publicMember); void leavePublicMember(); - QmlJS::AST::Node *nodeForIndex(const QModelIndex &index); - -signals: - void updated(); - private: QModelIndex enterNode(const QmlOutlineItem &prototype); void leaveNode(); -- GitLab