diff options
author | Fawzi Mohamed <[email protected]> | 2014-11-06 16:24:26 +0100 |
---|---|---|
committer | Fawzi Mohamed <[email protected]> | 2014-11-18 10:04:54 +0100 |
commit | 7e1b512f31c190ec9c1bbfbf5beccaa46f867a8d (patch) | |
tree | 4cccd7d34fe3b41b7cf3e05a20ae487634b8b646 /src/libs/qmljs/qmljsmodelmanagerinterface.h | |
parent | 7c9c5bda941ecfbe9fd422731cac8e89bb358920 (diff) |
qmljs: add isIdle method to detect background parsing/scannig
If the qmljsmodel has no background task, then isIdle returns true
Change-Id: I31420343c560c5ed118f371f7be347eadb6622f4
Reviewed-by: Thomas Hartmann <[email protected]>
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.h')
-rw-r--r-- | src/libs/qmljs/qmljsmodelmanagerinterface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.h b/src/libs/qmljs/qmljsmodelmanagerinterface.h index c00bc0b966d..3986beb1d09 100644 --- a/src/libs/qmljs/qmljsmodelmanagerinterface.h +++ b/src/libs/qmljs/qmljsmodelmanagerinterface.h @@ -182,6 +182,7 @@ public: void emitDocumentChangedOnDisk(QmlJS::Document::Ptr doc); void updateQrcFile(const QString &path); ProjectInfo projectInfoForPath(QString path) const; + bool isIdle() const ; PathsAndLanguages importPaths() const; QmlJS::QmlLanguageBundles activeBundles() const; |