diff options
author | Friedemann Kleint <[email protected]> | 2009-11-09 15:57:56 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2009-11-09 15:57:56 +0100 |
commit | 7aa24116935249a840e1350a6f8de73bc794fb09 (patch) | |
tree | f0d69542e8cb13187eaeebb43ec187b3ad763aa1 /src/plugins/git/gitversioncontrol.cpp | |
parent | 19fb0311bade0ffee612d51d64d40b04a811b7c4 (diff) |
Code model: Update on changes from the versioning system.
Add state logic to CppCodeModelManagerInterface, making it aware whether
an indexer is running, protect the update methods from another
invocation while running. Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating.
Reviewed-by: Roberto Raggi <[email protected]>
Reviewed-by: con <[email protected]>
Diffstat (limited to 'src/plugins/git/gitversioncontrol.cpp')
-rw-r--r-- | src/plugins/git/gitversioncontrol.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/git/gitversioncontrol.cpp b/src/plugins/git/gitversioncontrol.cpp index 559d296220e..c64a683bea0 100644 --- a/src/plugins/git/gitversioncontrol.cpp +++ b/src/plugins/git/gitversioncontrol.cpp @@ -96,5 +96,10 @@ QString GitVersionControl::findTopLevelForDirectory(const QString &directory) co return GitClient::findRepositoryForDirectory(directory); } +void GitVersionControl::emitFilesChanged(const QStringList &l) +{ + emit filesChanged(l); +} + } // Internal } // Git |