Category - QPlaceCategory▲
The Category.category property is used to provide an interface between C++ and QML code. First a pointer to a Category object must be obtained from C++, then use the property() and setProperty() functions to get and set the category property. The following gets the QPlaceCategory representing this object from C++:
QPlaceCategory category =
qmlObject-&
gt;property("category"
).value&
lt;QPlaceCategory&
gt;();
The following sets the properties of this object based on a QPlaceCategory object from C++:
qmlObject-&
gt;setProperty("category"
, QVariant::
fromValue(category));
ContactDetail - QDeclarativeContactDetail▲
The ContactDetail.contactDetail property is used to provide an interface between C++ and QML code. First a pointer to a ContactDetail object must be obtained from C++, then use the property() and setProperty() functions to get and set the contactDetail property. The following gets the QPlaceContactDetail representing this object from C++:
QPlaceContactDetail contactDetail =
qmlObject-&
gt;property("contactDetail"
).value&
lt;QPlaceContactDetail&
gt;();
The following sets the properties of this object based on a QPlaceContactDetail object from C++:
qmlObject-&
gt;setProperty("contactDetail"
, QVariant::
fromValue(contactDetail));
Place - QPlace▲
The Place.place property is used to provide an interface between C++ and QML code. First a pointer to a Place object must be obtained from C++, then use the property() and setProperty() functions to get and set the place property. The following gets the QPlace representing this object from C++:
QPlace place =
qmlObject-&
gt;property("place"
).value&
lt;QPlace&
gt;();
The following sets the properties of this object based on a QPlace object from C++:
qmlObject-&
gt;setProperty("place"
, QVariant::
fromValue(place));
PlaceAttribute - QPlaceAttribute▲
The PlaceAttribute.attribute property is used to provide an interface between C++ and QML code. First a pointer to a PlaceAttribute object must be obtained from C++, then use the property() and setProperty() functions to get and set the attribute property. The following gets the QPlaceAttribute representing this object from C++:
QPlaceAttribute placeAttribute =
qmlObject-&
gt;property("attribute"
).value&
lt;QPlaceAttribute&
gt;();
The following sets the properties of this object based on a QPlaceAttribute object from C++:
qmlObject-&
gt;setProperty("attribute"
, QVariant::
fromValue(placeAttribute));
Icon - QPlaceIcon▲
The Icon.icon property is used to provide an interface between C++ and QML code. First a pointer to a Icon object must be obtained from C++, then use the property() and setProperty() functions to get and set the icon property. The following gets the QPlaceIcon representing this object from C++:
QPlaceIcon placeIcon =
qmlObject-&
gt;property("icon"
).value&
lt;QPlaceIcon&
gt;();
The following sets the properties of this object based on a QPlaceIcon object from C++:
qmlObject-&
gt;setProperty("icon"
, QVariant::
fromValue(placeIcon));
User - QPlaceUser▲
The User.user property is used to provide an interface between C++ and QML code. First a pointer to a User object must be obtained from C++, then use the property() and setProperty() functions to get and set the user property. The following gets the QPlaceUser representing this object from C++:
QPlaceUser placeUser =
qmlObject-&
gt;property("user"
).value&
lt;QPlaceUser&
gt;();
The following sets the properties of this object based on a QPlaceUser object from C++:
qmlObject-&
gt;setProperty("user"
, QVariant::
fromValue(placeUser));
Ratings - QPlaceRatings▲
The Ratings.ratings property is used to provide an interface between C++ and QML code. First a pointer to a Ratings object must be obtained from C++, then use the property() and setProperty() functions to get and set the ratings property. The following gets the QPlaceRating representing this object from C++:
QPlaceRatings placeRatings =
qmlObject-&
gt;property("ratings"
).value&
lt;QPlaceRatings&
gt;();
The following sets the properties of this object based on a QPlaceRatings object from C++:
qmlObject-&
gt;setProperty("ratings"
, QVariant::
fromValue(placeRatings));
Supplier - QPlaceSupplier▲
The Supplier.supplier property is used to provide an interface between C++ and QML code. First a pointer to a Supplier object must be obtained from C++, then use the property() and setProperty() functions to get and set the supplier property. The following gets the QPlaceSupplier representing this object from C++:
QPlaceSupplier placeSupplier =
qmlObject-&
gt;property("supplier"
).value&
lt;QPlaceSupplier&
gt;();
The following sets the properties of this object based on a QPlaceSupplier object from C++:
qmlObject-&
gt;setProperty("supplier"
, QVariant::
fromValue(placeSupplier));