aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h')
-rw-r--r--tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h
index b13debcf1b..211119a654 100644
--- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h
+++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h
@@ -132,6 +132,14 @@ public:
QProperty<int> someProperty;
};
+namespace Namespace {
+ class Element : public QObject
+ {
+ Q_OBJECT
+ QML_ELEMENT
+ };
+}
+
class tst_qmltyperegistrar : public QObject
{
Q_OBJECT
@@ -148,7 +156,7 @@ private slots:
void restrictToImportVersion();
void pastMajorVersions();
void implementsInterfaces();
-
+ void namespacedElement();
private:
QByteArray qmltypesData;
};