diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-11 03:05:01 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-11 03:05:01 (GMT) |
commit | 09dc1b3386eb60d7d9f2d644fe114c1daa595049 (patch) | |
tree | d72e0f5652c215cf6b796232643399eda3e8ec3d /tests/auto/declarative/qdeclarativeproperty | |
parent | c62cd5347adda26a68b3a2a67e04a38c0e8626fe (diff) | |
download | Qt-09dc1b3386eb60d7d9f2d644fe114c1daa595049.zip Qt-09dc1b3386eb60d7d9f2d644fe114c1daa595049.tar.gz Qt-09dc1b3386eb60d7d9f2d644fe114c1daa595049.tar.bz2 |
Compile fix after e5922ab126f3532483b18720ce893d6be826d50e
Diffstat (limited to 'tests/auto/declarative/qdeclarativeproperty')
-rw-r--r-- | tests/auto/declarative/qdeclarativeproperty/tst_qdeclarativeproperty.cpp | 6 |
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 9b8a643..76c5403 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"); } |