aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/abstracteditorsupport.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-05-18 09:35:29 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-07-08 15:38:16 +0000
commit0369bac1261afef77e439424b2698ca7d48b42f9 (patch)
treeec65d5cbe7b30dd2aa0785713c8a28589785fb9e /src/plugins/cpptools/abstracteditorsupport.h
parentcb61a8a9aa93565c8f45fa412a0aac7cfc52ab48 (diff)
UiCodeModelSupport: Notify if content changes
Needed for ClangCodeModel. If the content changes, we want to send it immediately to the codemodelbackend process. Change-Id: Iedf16930b494ccb5e91f1bc435db026067d98613 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/abstracteditorsupport.h')
-rw-r--r--src/plugins/cpptools/abstracteditorsupport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/abstracteditorsupport.h b/src/plugins/cpptools/abstracteditorsupport.h
index b1919fcff2..606fcca9a2 100644
--- a/src/plugins/cpptools/abstracteditorsupport.h
+++ b/src/plugins/cpptools/abstracteditorsupport.h
@@ -51,6 +51,7 @@ public:
virtual QString fileName() const = 0;
void updateDocument();
+ void notifyAboutUpdatedContents() const;
unsigned revision() const { return m_revision; }
static QString licenseTemplate(const QString &file = QString(), const QString &className = QString());