summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/editordocumenthandle.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@theqtcompany.com>2015-10-13 15:56:41 +0200
committerMarco Bubke <marco.bubke@theqtcompany.com>2015-10-13 14:03:11 +0000
commit250c8d662b43f97d485e9833e9a3df2daa2c1d63 (patch)
treebfe7afe07b7295ed34b1f4d17af3f33c7a11468f /src/plugins/cpptools/editordocumenthandle.h
parentb1dced66d7f4c39677f401395f6d71ed128a2684 (diff)
downloadqt-creator-250c8d662b43f97d485e9833e9a3df2daa2c1d63.tar.gz
Clang: Add UpdateTranslationUnitsForEditorMessage
If an editor is changing all translation units independent of their project part they must be updated too. So we introduce a new message to update all translation units with the same file path. Change-Id: I70d0ea2bbca9fa880111ff7219573e54f3277026 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/editordocumenthandle.h')
-rw-r--r--src/plugins/cpptools/editordocumenthandle.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/cpptools/editordocumenthandle.h b/src/plugins/cpptools/editordocumenthandle.h
index e4343bce3b..99c6342204 100644
--- a/src/plugins/cpptools/editordocumenthandle.h
+++ b/src/plugins/cpptools/editordocumenthandle.h
@@ -34,7 +34,6 @@
#include "cpptools_global.h"
#include "senddocumenttracker.h"
-#include <QMap>
#include <QString>
namespace CppTools {
@@ -59,10 +58,10 @@ public:
virtual void resetProcessor() = 0;
- SendDocumentTracker &sendTracker(const QString &projectPartId);
+ SendDocumentTracker &sendTracker();
private:
- QMap<QString, SendDocumentTracker> m_documentRevisionManagements;
+ SendDocumentTracker m_sendTracker;
bool m_needsRefresh;
};