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 <marco.benelli@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
Denis Kormalev
2015-04-26 23:59:36 +03:00
committed by Kai Koehne
parent 0a94329b17
commit 2105115fdf
2 changed files with 28 additions and 13 deletions

View File

@@ -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;