summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativegeomap_p.h
diff options
context:
space:
mode:
authorAaron McCarthy <mccarthy.aaron@gmail.com>2014-12-12 00:43:44 +1000
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-01-27 14:50:13 +0000
commitbbb1839392f24fe133ab182ffe36b2e2b0304edf (patch)
treeb969e8b0370312b408a2714087546178bcb43845 /src/imports/location/qdeclarativegeomap_p.h
parentab890b333b30eda0593e7d748018ef3f4c683ddf (diff)
downloadqtlocation-bbb1839392f24fe133ab182ffe36b2e2b0304edf.tar.gz
Allow HTML based copyright notices.
In addition to the image based map copyright/attribution notice allow a geo service provider to provide a HTML string which is rendered and displayed. Add copyrightLinkActivated signal to the map to enable the application to launch the url in an external browser. The geo service providers are no longer in control of the position of the copyright notice. For the time being it will be placed at the bottom left of the map. Change-Id: I49bfc58a70e9254220903d5103c714c08f327e8b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeomap_p.h')
-rw-r--r--src/imports/location/qdeclarativegeomap_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/location/qdeclarativegeomap_p.h b/src/imports/location/qdeclarativegeomap_p.h
index 9ba23e53..256ddcfb 100644
--- a/src/imports/location/qdeclarativegeomap_p.h
+++ b/src/imports/location/qdeclarativegeomap_p.h
@@ -180,6 +180,7 @@ Q_SIGNALS:
void maximumZoomLevelChanged();
void mapItemsChanged();
void errorChanged();
+ void copyrightLinkActivated(const QString &link);
private Q_SLOTS:
void updateMapDisplay(const QRectF &target);