aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljsmodelmanagerinterface.h
diff options
context:
space:
mode:
authorOrgad Shaneh <[email protected]>2016-06-27 22:25:11 +0300
committerOrgad Shaneh <[email protected]>2016-06-28 08:47:26 +0000
commit7609e56ee365520011920eee07e7e7c876eb5683 (patch)
treea84a40889c3906913f87a5aac481503689bb3b37 /src/libs/qmljs/qmljsmodelmanagerinterface.h
parent090c1069297883fd4073152d0c62fd4c8e08afb3 (diff)
QmlJS[|Editor|Tools]: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I56550546b341d486d321329e9a90b9369d56af40 Reviewed-by: Marco Benelli <[email protected]>
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.h')
-rw-r--r--src/libs/qmljs/qmljsmodelmanagerinterface.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.h b/src/libs/qmljs/qmljsmodelmanagerinterface.h
index 142fc54c175..568fb63593c 100644
--- a/src/libs/qmljs/qmljsmodelmanagerinterface.h
+++ b/src/libs/qmljs/qmljsmodelmanagerinterface.h
@@ -205,9 +205,11 @@ public:
PathsAndLanguages paths,
ModelManagerInterface *modelManager,
bool emitDocChangedOnDisk, bool libOnly = true);
-public slots:
+
virtual void resetCodeModel();
void removeProjectInfo(ProjectExplorer::Project *project);
+ void maybeQueueCppQmlTypeUpdate(const CPlusPlus::Document::Ptr &doc);
+
signals:
void documentUpdated(QmlJS::Document::Ptr doc);
void documentChangedOnDisk(QmlJS::Document::Ptr doc);
@@ -215,12 +217,11 @@ signals:
void libraryInfoUpdated(const QString &path, const QmlJS::LibraryInfo &info);
void projectInfoUpdated(const ProjectInfo &pinfo);
void projectPathChanged(const QString &projectPath);
-protected slots:
- void maybeQueueCppQmlTypeUpdate(const CPlusPlus::Document::Ptr &doc);
- void queueCppQmlTypeUpdate(const CPlusPlus::Document::Ptr &doc, bool scan);
- void asyncReset();
- virtual void startCppQmlTypeUpdate();
+
protected:
+ Q_INVOKABLE void queueCppQmlTypeUpdate(const CPlusPlus::Document::Ptr &doc, bool scan);
+ Q_INVOKABLE void asyncReset();
+ virtual void startCppQmlTypeUpdate();
QMutex *mutex() const;
virtual QHash<QString,Dialect> languageForSuffix() const;
virtual void writeMessageInternal(const QString &msg) const;