diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-04-30 13:24:47 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-05-06 08:42:13 +0300 |
commit | e0d32a80363759837cc13eb24365f3cd07174da7 (patch) | |
tree | 098f1ff284027c2a2813ac1c0a2ada6d60a87ad8 /plugins/autotest/testtreemodel.h | |
parent | fcf8484eb2e827936b93479fa8d773a66c574759 (diff) | |
download | qt-creator-e0d32a80363759837cc13eb24365f3cd07174da7.tar.gz |
Enhance test tree to be able to support Squish tests
Change-Id: I93fec9ee1a413fe02fb19475a44644578b842c88
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/testtreemodel.h')
-rw-r--r-- | plugins/autotest/testtreemodel.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/autotest/testtreemodel.h b/plugins/autotest/testtreemodel.h index 15a00ecb38..9aad3fc529 100644 --- a/plugins/autotest/testtreemodel.h +++ b/plugins/autotest/testtreemodel.h @@ -31,7 +31,8 @@ namespace { enum ItemRole { // AnnotationRole = Qt::UserRole + 1, LinkRole = Qt::UserRole + 2, // can be removed if AnnotationRole comes back - ItalicRole // used only inside the delegate + ItalicRole, // used only inside the delegate + TypeRole }; } @@ -49,7 +50,8 @@ class TestTreeModel : public QAbstractItemModel public: enum Type { AutoTest, - QuickTest + QuickTest, + SquishTest }; static TestTreeModel* instance(); @@ -110,6 +112,7 @@ private: TestTreeItem *m_rootItem; TestTreeItem *m_autoTestRootItem; TestTreeItem *m_quickTestRootItem; + TestTreeItem *m_squishTestRootItem; TestCodeParser *m_parser; bool m_connectionsInitialized; QAtomicInt m_refCounter; |