summaryrefslogtreecommitdiff
path: root/plugins/autotest/testtreeitem.h
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-09-04 11:02:14 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-10-02 10:42:32 +0300
commitb4dcfc1d91872fae64466da8b38bdcb9e1fad855 (patch)
tree8036cfdf62bc9627c2cff287d757d377631fe064 /plugins/autotest/testtreeitem.h
parent0d01a0c7bfe2c80700b64e1b56c1172cc99a6f45 (diff)
downloadqt-creator-b4dcfc1d91872fae64466da8b38bdcb9e1fad855.tar.gz
Let TestTreeItem handle its parent
Part of preparing to re-use QC's TreeModel/TreeItem for TestTreeModel/TestTreeItem. Change-Id: Ieab26e9061790dd4c3d8dc64ce292727a17977f7 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/testtreeitem.h')
-rw-r--r--plugins/autotest/testtreeitem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/autotest/testtreeitem.h b/plugins/autotest/testtreeitem.h
index 8c7bf14307..0d25350eda 100644
--- a/plugins/autotest/testtreeitem.h
+++ b/plugins/autotest/testtreeitem.h
@@ -41,7 +41,7 @@ public:
};
TestTreeItem(const QString &name = QString(), const QString &filePath = QString(),
- Type type = ROOT, TestTreeItem *parent = 0);
+ Type type = ROOT);
virtual ~TestTreeItem();
TestTreeItem(const TestTreeItem& other);
@@ -67,7 +67,6 @@ public:
void setChecked(const Qt::CheckState checked);
Qt::CheckState checked() const;
Type type() const { return m_type; }
- void setParent(TestTreeItem *parent) { m_parent = parent; }
QList<QString> getChildNames() const;
private: