aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljsmodelmanagerinterface.h
diff options
context:
space:
mode:
authorDenis Kormalev <[email protected]>2015-04-26 23:59:36 +0300
committerKai Koehne <[email protected]>2015-05-19 08:00:50 +0000
commit2105115fdf13b37c60ed12cd61f8863c1d461fd0 (patch)
treed0c612a7f0dfdec6a1f1349242fe7ad2e0549e41 /src/libs/qmljs/qmljsmodelmanagerinterface.h
parent0a94329b17889bb4d1a0335a639b3d28a8dc17e2 (diff)
QmlJS: allProjectsInfosForPath method
Method that returns list of all project infos where this file belongs (similar to methods in cpp module). Change-Id: I94eb86ffa5bdbee8d794377a03160418b7340662 Reviewed-by: Marco Benelli <[email protected]> Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.h')
-rw-r--r--src/libs/qmljs/qmljsmodelmanagerinterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.h b/src/libs/qmljs/qmljsmodelmanagerinterface.h
index df232598811..18ed602fc40 100644
--- a/src/libs/qmljs/qmljsmodelmanagerinterface.h
+++ b/src/libs/qmljs/qmljsmodelmanagerinterface.h
@@ -177,7 +177,8 @@ public:
void updateLibraryInfo(const QString &path, const QmlJS::LibraryInfo &info);
void emitDocumentChangedOnDisk(QmlJS::Document::Ptr doc);
void updateQrcFile(const QString &path);
- ProjectInfo projectInfoForPath(QString path) const;
+ ProjectInfo projectInfoForPath(const QString &path) const;
+ QList<ProjectInfo> allProjectInfosForPath(const QString &path) const;
bool isIdle() const ;
PathsAndLanguages importPaths() const;