Searched refs:qmlObject (Results 1 – 3 of 3) sorted by relevance
152 QObject *qmlObject = component.create(); in testAddress() local154 QGeoAddress address = qmlObject->property("address").value<QGeoAddress>(); in testAddress()158 qmlObject->setProperty("address", QVariant::fromValue(QGeoAddress())); in testAddress()160 QVERIFY(qmlObject->property("city").toString().isEmpty()); in testAddress()161 QVERIFY(qmlObject->property("country").toString().isEmpty()); in testAddress()162 QVERIFY(qmlObject->property("countryCode").toString().isEmpty()); in testAddress()163 QVERIFY(qmlObject->property("postalCode").toString().isEmpty()); in testAddress()164 QVERIFY(qmlObject->property("state").toString().isEmpty()); in testAddress()165 QVERIFY(qmlObject->property("street").toString().isEmpty()); in testAddress()167 delete qmlObject; in testAddress()[all …]
62 void cppQmlInterface(QObject *qmlObject) in cppQmlInterface() argument65 QPlaceCategory category = qmlObject->property("category").value<QPlaceCategory>(); in cppQmlInterface()69 qmlObject->setProperty("category", QVariant::fromValue(category)); in cppQmlInterface()73 …QPlaceContactDetail contactDetail = qmlObject->property("contactDetail").value<QPlaceContactDetail… in cppQmlInterface()77 qmlObject->setProperty("contactDetail", QVariant::fromValue(contactDetail)); in cppQmlInterface()81 QPlace place = qmlObject->property("place").value<QPlace>(); in cppQmlInterface()85 qmlObject->setProperty("place", QVariant::fromValue(place)); in cppQmlInterface()89 QPlaceAttribute placeAttribute = qmlObject->property("attribute").value<QPlaceAttribute>(); in cppQmlInterface()93 qmlObject->setProperty("attribute", QVariant::fromValue(placeAttribute)); in cppQmlInterface()97 QPlaceIcon placeIcon = qmlObject->property("icon").value<QPlaceIcon>(); in cppQmlInterface()[all …]
59 void cppQmlInterface(QObject *qmlObject) in cppQmlInterface() argument62 QGeoAddress geoAddress = qmlObject->property("address").value<QGeoAddress>(); in cppQmlInterface()66 qmlObject->setProperty("address", QVariant::fromValue(geoAddress)); in cppQmlInterface()70 QGeoLocation geoLocation = qmlObject->property("location").value<QGeoLocation>(); in cppQmlInterface()74 qmlObject->setProperty("location", QVariant::fromValue(geoLocation)); in cppQmlInterface()