summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativeproperty
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-11 13:05:01 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-11 13:05:01 +1000
commit09dc1b3386eb60d7d9f2d644fe114c1daa595049 (patch)
treed72e0f5652c215cf6b796232643399eda3e8ec3d /tests/auto/declarative/qdeclarativeproperty
parentc62cd5347adda26a68b3a2a67e04a38c0e8626fe (diff)
downloadqt4-tools-09dc1b3386eb60d7d9f2d644fe114c1daa595049.tar.gz
Compile fix after e5922ab126f3532483b18720ce893d6be826d50e
Diffstat (limited to 'tests/auto/declarative/qdeclarativeproperty')
-rw-r--r--tests/auto/declarative/qdeclarativeproperty/tst_qdeclarativeproperty.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativeproperty/tst_qdeclarativeproperty.cpp b/tests/auto/declarative/qdeclarativeproperty/tst_qdeclarativeproperty.cpp
index 9b8a643934..76c540341c 100644
--- a/tests/auto/declarative/qdeclarativeproperty/tst_qdeclarativeproperty.cpp
+++ b/tests/auto/declarative/qdeclarativeproperty/tst_qdeclarativeproperty.cpp
@@ -1348,9 +1348,9 @@ void tst_qdeclarativeproperty::copy()
void tst_qdeclarativeproperty::initTestCase()
{
- QML_REGISTER_TYPE(Test,1,0,MyQmlObject,MyQmlObject);
- QML_REGISTER_TYPE(Test,1,0,PropertyObject,PropertyObject);
- QML_REGISTER_TYPE(Test,1,0,MyContainer,MyContainer);
+ qmlRegisterType<MyQmlObject>("Test",1,0,"MyQmlObject");
+ qmlRegisterType<PropertyObject>("Test",1,0,"PropertyObject");
+ qmlRegisterType<MyContainer>("Test",1,0,"MyContainer");
}