diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 05:45:44 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 05:45:44 (GMT) |
commit | d022acd47350f61d3959b076d7bc92df86015b16 (patch) | |
tree | 7bb53c1c159545b2962413a9de914bfcc2475500 /tests/auto/declarative/qdeclarativelistreference | |
parent | f29a6c8b9fbeb899997c1e4cc2a4be009a231502 (diff) | |
download | Qt-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.cpp | 4 |
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); |