summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/cpp/cppqml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/cpp/cppqml.cpp')
-rw-r--r--doc/src/snippets/cpp/cppqml.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/src/snippets/cpp/cppqml.cpp b/doc/src/snippets/cpp/cppqml.cpp
index 0e7158a7..d5d4bad9 100644
--- a/doc/src/snippets/cpp/cppqml.cpp
+++ b/doc/src/snippets/cpp/cppqml.cpp
@@ -127,22 +127,6 @@ void cppQmlInterface(QObject *qmlObject)
qmlObject->setProperty("address", QVariant::fromValue(geoAddress));
//! [Address set]
- //! [GeoRectangle get]
- QGeoRectangle geoRectangle = qmlObject->property("rectangle").value<QGeoRectangle>();
- //! [GeoRectangle get]
-
- //! [GeoRectangle set]
- qmlObject->setProperty("rectangle", QVariant::fromValue(geoRectangle));
- //! [GeoRectangle set]
-
- //! [GeoCircle get]
- QGeoCircle geoCircle = qmlObject->property("circle").value<QGeoCircle>();
- //! [GeoCircle get]
-
- //! [GeoCircle set]
- qmlObject->setProperty("circle", QVariant::fromValue(geoCircle));
- //! [GeoCircle set]
-
//! [Location get]
QGeoLocation geoLocation = qmlObject->property("location").value<QGeoLocation>();
//! [Location get]