aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/autotest/testtreeitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/autotest/testtreeitem.h')
-rw-r--r--plugins/autotest/testtreeitem.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/autotest/testtreeitem.h b/plugins/autotest/testtreeitem.h
index 25a49f3edf..e1814db356 100644
--- a/plugins/autotest/testtreeitem.h
+++ b/plugins/autotest/testtreeitem.h
@@ -21,6 +21,7 @@
#include <QList>
#include <QString>
+#include <QMetaType>
namespace Autotest {
namespace Internal {
@@ -37,7 +38,8 @@ public:
TEST_SPECIALFUNCTION
};
- TestTreeItem(const QString &name, const QString &filePath, Type type, TestTreeItem *parent = 0);
+ TestTreeItem(const QString &name = QString(), const QString &filePath = QString(),
+ Type type = ROOT, TestTreeItem *parent = 0);
virtual ~TestTreeItem();
TestTreeItem(const TestTreeItem& other);
@@ -90,4 +92,7 @@ struct TestCodeLocationAndType {
} // namespace Internal
} // namespace Autotest
+Q_DECLARE_METATYPE(Autotest::Internal::TestTreeItem)
+Q_DECLARE_METATYPE(Autotest::Internal::TestCodeLocationAndType)
+
#endif // TESTTREEITEM_H