summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativegeomapitembase.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@nokia.com>2011-12-07 18:07:54 +0200
committerQt by Nokia <qt-info@nokia.com>2011-12-08 06:33:55 +0100
commite732ce67d1336f1145ee0929369241c1bcbefd37 (patch)
tree6f150e1eb9452fc52873a1d7e6984cd417c31eb2 /src/imports/location/qdeclarativegeomapitembase.cpp
parent859962052b0e0d9e038918a5f8595b137bb08191 (diff)
downloadqtlocation-e732ce67d1336f1145ee0929369241c1bcbefd37.tar.gz
Preliminary MapMouseArea support for items.
This commit adds preliminary MapMouseArea support for map items. Supported items: quickitem, polyline and circle (rest items will follow shortly). Change-Id: Ifd457c9a86e2c28b6a384dd0578cd068f3ef5c9e Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeomapitembase.cpp')
-rw-r--r--src/imports/location/qdeclarativegeomapitembase.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativegeomapitembase.cpp b/src/imports/location/qdeclarativegeomapitembase.cpp
index 33e01625..bdec43a1 100644
--- a/src/imports/location/qdeclarativegeomapitembase.cpp
+++ b/src/imports/location/qdeclarativegeomapitembase.cpp
@@ -62,11 +62,20 @@ void QDeclarativeGeoMapItemBase::componentComplete()
componentComplete_ = true;
}
-bool QDeclarativeGeoMapItemBase::contains(QPoint point)
+bool QDeclarativeGeoMapItemBase::contains(QPointF point)
{
+ Q_UNUSED(point);
return true;
}
+void QDeclarativeGeoMapItemBase::dragStarted()
+{
+}
+
+void QDeclarativeGeoMapItemBase::dragEnded()
+{
+}
+
void QDeclarativeGeoMapItemBase::setMap(QDeclarativeGeoMap* quickMap, Map *map)
{
QLOC_TRACE2(quickMap, quickMap_);