summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolseditorsupport.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2013-11-13 14:31:50 +0100
committerNikolai Kosjar <nikolai.kosjar@digia.com>2013-11-14 08:34:45 +0100
commit36ce1dbb84ff3fb557c781029cf5aa7e5051ea4a (patch)
treee3aa277f1563bfd6cd8bcc4a4a2ed43b26c7dfc7 /src/plugins/cpptools/cpptoolseditorsupport.h
parent8a1eed2c56240705e277a132ba077519d0eb0647 (diff)
downloadqt-creator-36ce1dbb84ff3fb557c781029cf5aa7e5051ea4a.tar.gz
Designer/CppTools: Fix flaky test_gotoslot_withoutProject
The document was not always updated in time. Change-Id: Iac89985d39a8784e3cbf63dfd42b1c5150775068 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolseditorsupport.h')
-rw-r--r--src/plugins/cpptools/cpptoolseditorsupport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolseditorsupport.h b/src/plugins/cpptools/cpptoolseditorsupport.h
index 02beb1d295..84674e3e51 100644
--- a/src/plugins/cpptools/cpptoolseditorsupport.h
+++ b/src/plugins/cpptools/cpptoolseditorsupport.h
@@ -125,6 +125,9 @@ public:
QSharedPointer<SnapshotUpdater> snapshotUpdater();
+ /// Checks whether the document is (re)parsed or about to be (re)parsed.
+ bool isUpdatingDocument();
+
signals:
void documentUpdated();
void diagnosticsChanged();