summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelistreference
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 05:45:44 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 05:45:44 (GMT)
commitd022acd47350f61d3959b076d7bc92df86015b16 (patch)
tree7bb53c1c159545b2962413a9de914bfcc2475500 /tests/auto/declarative/qdeclarativelistreference
parentf29a6c8b9fbeb899997c1e4cc2a4be009a231502 (diff)
downloadQt-d022acd47350f61d3959b076d7bc92df86015b16.zip
Qt-d022acd47350f61d3959b076d7bc92df86015b16.tar.gz
Qt-d022acd47350f61d3959b076d7bc92df86015b16.tar.bz2
Tweak QDeclarativeMetaProperty type category API
Diffstat (limited to 'tests/auto/declarative/qdeclarativelistreference')
-rw-r--r--tests/auto/declarative/qdeclarativelistreference/tst_qdeclarativelistreference.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativelistreference/tst_qdeclarativelistreference.cpp b/tests/auto/declarative/qdeclarativelistreference/tst_qdeclarativelistreference.cpp
index 5c6ceef..fdcb98a 100644
--- a/tests/auto/declarative/qdeclarativelistreference/tst_qdeclarativelistreference.cpp
+++ b/tests/auto/declarative/qdeclarativelistreference/tst_qdeclarativelistreference.cpp
@@ -547,10 +547,10 @@ void tst_qdeclarativelistreference::engineTypes()
QVERIFY(o);
QDeclarativeMetaProperty p1(o, QLatin1String("myList"));
- QVERIFY(p1.propertyCategory() == QDeclarativeMetaProperty::Normal);
+ QVERIFY(p1.propertyTypeCategory() == QDeclarativeMetaProperty::Normal);
QDeclarativeMetaProperty p2(o, QLatin1String("myList"), engine.rootContext());
- QVERIFY(p2.propertyCategory() == QDeclarativeMetaProperty::List);
+ QVERIFY(p2.propertyTypeCategory() == QDeclarativeMetaProperty::List);
QVariant v = p2.read();
QVERIFY(v.userType() == qMetaTypeId<QDeclarativeListReference>());
QDeclarativeListReference ref = qvariant_cast<QDeclarativeListReference>(v);