C++: emit signal when project parts have been updated.

To be used in the ClangCodeModel, because there is no other way to find
out if the ProjectParts got changed.

Change-Id: Ie5681b4997adb9103499cf2864c81970cbd2be55
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Erik Verbruggen
2013-01-01 10:34:42 +01:00
parent b553055596
commit 7b0f997963
2 changed files with 7 additions and 0 deletions

View File

@@ -966,6 +966,8 @@ void CppModelManager::updateProjectInfo(const ProjectInfo &pinfo)
if (!qgetenv("QTCREATOR_DUMP_PROJECT_INFO").isEmpty())
dumpModelManagerConfiguration();
emit projectPartsUpdated(pinfo.project().data());
}
QList<CppModelManager::ProjectPart::Ptr> CppModelManager::projectPart(const QString &fileName) const