forked from qt-creator/qt-creator
QmlOutline: Move model methods to private
This commit is contained in:
@@ -57,7 +57,12 @@ public:
|
|||||||
|
|
||||||
QmlJS::Document::Ptr document() const;
|
QmlJS::Document::Ptr document() const;
|
||||||
void update(const SemanticInfo &semanticInfo);
|
void update(const SemanticInfo &semanticInfo);
|
||||||
|
QmlJS::AST::Node *nodeForIndex(const QModelIndex &index);
|
||||||
|
|
||||||
|
signals:
|
||||||
|
void updated();
|
||||||
|
|
||||||
|
private:
|
||||||
QModelIndex enterObjectDefinition(QmlJS::AST::UiObjectDefinition *objectDefinition);
|
QModelIndex enterObjectDefinition(QmlJS::AST::UiObjectDefinition *objectDefinition);
|
||||||
void leaveObjectDefiniton();
|
void leaveObjectDefiniton();
|
||||||
|
|
||||||
@@ -67,11 +72,6 @@ public:
|
|||||||
QModelIndex enterPublicMember(QmlJS::AST::UiPublicMember *publicMember);
|
QModelIndex enterPublicMember(QmlJS::AST::UiPublicMember *publicMember);
|
||||||
void leavePublicMember();
|
void leavePublicMember();
|
||||||
|
|
||||||
QmlJS::AST::Node *nodeForIndex(const QModelIndex &index);
|
|
||||||
|
|
||||||
signals:
|
|
||||||
void updated();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QModelIndex enterNode(const QmlOutlineItem &prototype);
|
QModelIndex enterNode(const QmlOutlineItem &prototype);
|
||||||
void leaveNode();
|
void leaveNode();
|
||||||
|
|||||||
Reference in New Issue
Block a user