diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2012-08-16 13:32:43 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 10:07:49 +0200 |
commit | 059388adce26be48868cd741b4c5d751298fb4d8 (patch) | |
tree | 1a8a41c0f280b7ab3c502b49527bd609d1c0884a /doc/src/cpp-qml.qdoc | |
parent | 7dd46f8c96a4bdaca2809ff97b773f358392516f (diff) |
Convert GeoShape, GeoRectangle and GeoCircle into QML value types.v5.0.0-beta1
This replaces the GeoShape, GeoRectangle and GeoCircle QML elements with
value types. A value type is a better fit for shape types. It is very
similar to a rect with some utility functions.
Declare QGeoShape, QGeoRectangle and QGeoCircle as movable types.
Update documentation.
Change-Id: Id6c48e1e841c68f2f0c5c6a9c4a6580a57e2dfb6
Reviewed-by: abcd <amos.choy@nokia.com>
Diffstat (limited to 'doc/src/cpp-qml.qdoc')
-rw-r--r-- | doc/src/cpp-qml.qdoc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/doc/src/cpp-qml.qdoc b/doc/src/cpp-qml.qdoc index 28bc6620..47b2175e 100644 --- a/doc/src/cpp-qml.qdoc +++ b/doc/src/cpp-qml.qdoc @@ -132,29 +132,6 @@ The following sets the properties of this object based on a QGeoAddress object f \snippet snippets/cpp/cppqml.cpp Address set -\section2 GeoRectangle - QGeoRectangle -\target georectangle -The \l {GeoRectangle::rectangle}{GeoRectangle.rectangle} property is used to provide an interface -between C++ and QML code. First a pointer to a GeoRectangle object must be obtained from C++, then -use the \l {QObject::property()}{property()} and \l {QObject::setProperty()}{setProperty()} -functions to get and set the \c rectangle property. The following gets the QGeoRectangle -representing this object from C++: -\snippet snippets/cpp/cppqml.cpp GeoRectangle get -The following sets the properties of this object based on a QGeoRectangle object from C++: -\snippet snippets/cpp/cppqml.cpp GeoRectangle set - - -\section2 GeoCircle - QGeoCircle -\target geocircle -The \l {GeoCircle::circle} {GeoCircle.circle} property is used to provide an interface between C++ and QML code. First a pointer to a -GeoCircle object must be obtained from C++, then use the -\l {QObject::property()}{property()} and \l {QObject::setProperty()}{setProperty()} functions -to get and set the \c circle property. -The following gets the QGeoCircle representing this object from C++: -\snippet snippets/cpp/cppqml.cpp GeoCircle get -The following sets the properties of this object based on a QGeoCircle object from C++: -\snippet snippets/cpp/cppqml.cpp GeoCircle set - \section2 Location - QGeoLocation \target location The \l {Location::location} {Location.location} property is used to provide an interface between C++ and QML code. First a pointer to a |