aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/testtreemodel.h
diff options
context:
space:
mode:
authorhjk <[email protected]>2016-06-24 09:36:42 +0200
committerhjk <[email protected]>2016-07-27 08:00:40 +0000
commit53415cece15ae11e4176320b4e8bd604424214f0 (patch)
tree89f4a22de2755e731f5a67edde028e28c59e9df5 /src/plugins/autotest/testtreemodel.h
parent245965223450e6936d9a6b250bff777e633bbcc6 (diff)
Utils: Streamline TreeModel API
The LeveledTreeModel case is general enough to cover the UniformTreeModel case, so merge them and rename to TreeModel. The former TreeModel is now BaseTreeModel. BaseTreeModels should not be instantiated directly, a tree model with non-uniform basic items is available as TreeModel<>. Done-with: Eike Ziller <[email protected]> Change-Id: I64a65617ab68c0cde39cf65f4bc092ef808ee6fb Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/autotest/testtreemodel.h')
-rw-r--r--src/plugins/autotest/testtreemodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testtreemodel.h b/src/plugins/autotest/testtreemodel.h
index 71291019375..c57be8a4738 100644
--- a/src/plugins/autotest/testtreemodel.h
+++ b/src/plugins/autotest/testtreemodel.h
@@ -40,7 +40,7 @@ class TestParseResult;
using TestParseResultPtr = QSharedPointer<TestParseResult>;
-class TestTreeModel : public Utils::TreeModel
+class TestTreeModel : public Utils::TreeModel<>
{
Q_OBJECT
public: