aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/ModelManagerInterface.h
diff options
context:
space:
mode:
authorErik Verbruggen <[email protected]>2013-01-01 10:34:42 +0100
committerErik Verbruggen <[email protected]>2013-01-04 10:19:51 +0100
commit7b0f9979636c2565c34ecddf0c424936095b0c2a (patch)
tree858520bdf5e0dd1a147f1aa43f35c37d204dcf77 /src/plugins/cpptools/ModelManagerInterface.h
parentb553055596e22544b8eb24a939c13415b001dd28 (diff)
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 <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/ModelManagerInterface.h')
-rw-r--r--src/plugins/cpptools/ModelManagerInterface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/cpptools/ModelManagerInterface.h b/src/plugins/cpptools/ModelManagerInterface.h
index 0d0bdf6f2d7..e340ddbe467 100644
--- a/src/plugins/cpptools/ModelManagerInterface.h
+++ b/src/plugins/cpptools/ModelManagerInterface.h
@@ -239,6 +239,11 @@ Q_SIGNALS:
void sourceFilesRefreshed(const QStringList &files);
void extraDiagnosticsUpdated(QString fileName);
+ /// \brief Emitted after updateProjectInfo method is called on the model-manager.
+ ///
+ /// Other classes can use this to get notified when the \c ProjectExplorer has updated the parts.
+ void projectPartsUpdated(ProjectExplorer::Project *project);
+
public Q_SLOTS:
virtual void updateModifiedSourceFiles() = 0;
virtual QFuture<void> updateSourceFiles(const QStringList &sourceFiles) = 0;