diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-02-16 10:01:04 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-02-28 15:26:30 +0000 |
commit | b91774eca4bf46fcf5d4f4c9a65d6cb71eb6290d (patch) | |
tree | 43b6aeeae73334873cd56d1e449444fc5056d367 /src/location/declarativemaps/qdeclarativegeomap_p.h | |
parent | 3027558cf4094c7d290731c9d819201c6d570c13 (diff) | |
download | qtlocation-b91774eca4bf46fcf5d4f4c9a65d6cb71eb6290d.tar.gz |
Remove tiltingSupported and bearingSupported properties
As these two properties would be deprecated in 5.10, this patch removes
them, implicitly forcing all plugins to support tilting and bearing
(or at least bearing, as tilting can be bounded via range).
Task-number: QTBUG-58931
Change-Id: Iddec8cc225aaa656e8d509bd41b860f18956788a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomap_p.h')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomap_p.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap_p.h b/src/location/declarativemaps/qdeclarativegeomap_p.h index 6a6b36a9..c3d798f2 100644 --- a/src/location/declarativemaps/qdeclarativegeomap_p.h +++ b/src/location/declarativemaps/qdeclarativegeomap_p.h @@ -79,13 +79,10 @@ class Q_LOCATION_PRIVATE_EXPORT QDeclarativeGeoMap : public QQuickItem Q_PROPERTY(qreal maximumZoomLevel READ maximumZoomLevel WRITE setMaximumZoomLevel NOTIFY maximumZoomLevelChanged) Q_PROPERTY(qreal zoomLevel READ zoomLevel WRITE setZoomLevel NOTIFY zoomLevelChanged) - - Q_PROPERTY(bool tiltingSupported READ isTiltingSupported NOTIFY tiltingSupportChanged) Q_PROPERTY(qreal tilt READ tilt WRITE setTilt NOTIFY tiltChanged) Q_PROPERTY(qreal minimumTilt READ minimumTilt WRITE setMinimumTilt NOTIFY minimumTiltChanged) Q_PROPERTY(qreal maximumTilt READ maximumTilt WRITE setMaximumTilt NOTIFY maximumTiltChanged) - Q_PROPERTY(bool bearingSupported READ isBearingSupported NOTIFY bearingSupportChanged) Q_PROPERTY(qreal bearing READ bearing WRITE setBearing NOTIFY bearingChanged) Q_PROPERTY(qreal fieldOfView READ fieldOfView WRITE setFieldOfView NOTIFY fieldOfViewChanged) @@ -124,11 +121,9 @@ public: void setZoomLevel(qreal zoomLevel); qreal zoomLevel() const; - bool isBearingSupported() const; void setBearing(qreal bearing); qreal bearing() const; - bool isTiltingSupported() const; void setTilt(qreal tilt); qreal tilt() const; void setMinimumTilt(qreal minimumTilt, bool userSet = true); @@ -201,8 +196,6 @@ Q_SIGNALS: void bearingChanged(qreal bearing); void tiltChanged(qreal tilt); void fieldOfViewChanged(qreal fieldOfView); - void bearingSupportChanged(bool bearingSupport); - void tiltingSupportChanged(bool tiltingSupport); void minimumTiltChanged(qreal minimumTilt); void maximumTiltChanged(qreal maximumTilt); void minimumFieldOfViewChanged(qreal minimumFieldOfView); |