summaryrefslogtreecommitdiff
path: root/platform/qt/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-09-26 11:37:26 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-09-26 11:47:34 +0200
commit9eb33d6669dd2d1c5d3b2590108796df85317fd0 (patch)
tree2ddf30cc14a129ac756f6d67a7e5c4081a79840f /platform/qt/include
parent5a12539d34976dd68186c70c3b69fcad8156d0a6 (diff)
downloadqtlocation-mapboxgl-9eb33d6669dd2d1c5d3b2590108796df85317fd0.tar.gz
[Qt] Implement QQuickMapboxGL::error{,String} properties
Diffstat (limited to 'platform/qt/include')
-rw-r--r--platform/qt/include/qquickmapboxgl.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/qt/include/qquickmapboxgl.hpp b/platform/qt/include/qquickmapboxgl.hpp
index 419d5328b5..44878c246e 100644
--- a/platform/qt/include/qquickmapboxgl.hpp
+++ b/platform/qt/include/qquickmapboxgl.hpp
@@ -88,10 +88,10 @@ signals:
void zoomLevelChanged(qreal zoomLevel);
void centerChanged(const QGeoCoordinate &coordinate);
void colorChanged(const QColor &color);
+ void errorChanged();
// Compatibility with Map QML Type, but no-op.
void pluginChanged(QDeclarativeGeoServiceProvider *plugin);
- void errorChanged();
void copyrightLinkActivated(const QString &link);
void copyrightsVisibleChanged(bool visible);
@@ -163,6 +163,9 @@ private:
QList<QVariantMap> m_filterChanges;
QList<QQuickMapboxGLMapParameter*> m_parameters;
+ QGeoServiceProvider::Error m_error = QGeoServiceProvider::NoError;
+ QString m_errorString;
+
qreal m_bearing = 0;
qreal m_pitch = 0;