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.cpp | |
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.cpp')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomap.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap.cpp b/src/location/declarativemaps/qdeclarativegeomap.cpp index 36dc390f..7c5d3773 100644 --- a/src/location/declarativemaps/qdeclarativegeomap.cpp +++ b/src/location/declarativemaps/qdeclarativegeomap.cpp @@ -1133,32 +1133,6 @@ qreal QDeclarativeGeoMap::maximumFieldOfView() const } /*! - \qmlproperty bool QtLocation::Map::bearingSupported - - This property indicates if the Map supports bearing. - If the plugin property of the map is not set, or the plugin does not support mapping, this property is false. - - \since Qt Location 5.9 -*/ -bool QDeclarativeGeoMap::isBearingSupported() const -{ - return m_cameraCapabilities.supportsBearing(); -} - -/*! - \qmlproperty bool QtLocation::Map::tiltingSupported - - This property indicates if the Map supports tilting. - If the plugin property of the map is not set, or the plugin does not support mapping, this property is false. - - \since Qt Location 5.9 -*/ -bool QDeclarativeGeoMap::isTiltingSupported() const -{ - return m_cameraCapabilities.supportsTilting(); -} - -/*! \qmlproperty bool QtLocation::Map::minimumTilt This property holds the minimum valid tilt for the map, in degrees. |