summaryrefslogtreecommitdiff
path: root/plugins/autotest/testcodeparser.h
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-04-10 15:09:45 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-04-10 16:24:57 +0300
commitf1b240d004578d54b6497a910098566022c8edb0 (patch)
treee616782d77b8f23cd39f8287f976579e31fc6f65 /plugins/autotest/testcodeparser.h
parent4fb458c9e739283c5d77bff67d08dcba935d6984 (diff)
downloadqt-creator-f1b240d004578d54b6497a910098566022c8edb0.tar.gz
Disable context menu entries while parsing
Change-Id: Ib562ed00065fedd94fdaed0edb11b0fa62a18de5 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/testcodeparser.h')
-rw-r--r--plugins/autotest/testcodeparser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/autotest/testcodeparser.h b/plugins/autotest/testcodeparser.h
index f4894e9674..1b8215fe50 100644
--- a/plugins/autotest/testcodeparser.h
+++ b/plugins/autotest/testcodeparser.h
@@ -55,6 +55,7 @@ public:
explicit TestCodeParser(TestTreeModel *parent = 0);
virtual ~TestCodeParser();
void setState(State state);
+ State state() const { return m_parserState; }
#ifdef WITH_TESTS
int autoTestsCount() const;