diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 04:11:52 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 04:22:27 (GMT) |
commit | 9c147ba5e39dffea91d492896cc836529715d7ac (patch) | |
tree | 4f23a5071065f65e68ee95261549f31416c66111 /tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp | |
parent | 02248947be750a44ebcc6c765fb4d0434bbf8c96 (diff) | |
download | Qt-9c147ba5e39dffea91d492896cc836529715d7ac.zip Qt-9c147ba5e39dffea91d492896cc836529715d7ac.tar.gz Qt-9c147ba5e39dffea91d492896cc836529715d7ac.tar.bz2 |
Remove QDeclarativeMetaProperty::createProperty() method
The behavior of createProperty() (to resolve dot properties) is now the
behavior of the constructors.
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp index ae07112..2907757 100644 --- a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp +++ b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp @@ -747,7 +747,7 @@ void tst_qdeclarativelanguage::valueTypes() // ### #if 0 - QDeclarativeMetaProperty p = QDeclarativeMetaProperty::createProperty(object, "rectProperty.x"); + QDeclarativeMetaProperty p(object, "rectProperty.x"); QCOMPARE(p.read(), QVariant(12)); p.write(13); QCOMPARE(p.read(), QVariant(13)); |