diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-05-18 09:35:29 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-07-08 15:38:16 +0000 |
commit | 0369bac1261afef77e439424b2698ca7d48b42f9 (patch) | |
tree | ec65d5cbe7b30dd2aa0785713c8a28589785fb9e /src/plugins/cpptools/abstracteditorsupport.h | |
parent | cb61a8a9aa93565c8f45fa412a0aac7cfc52ab48 (diff) | |
download | qt-creator-0369bac1261afef77e439424b2698ca7d48b42f9.tar.gz |
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.h | 1 |
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()); |