diff options
author | Juha Vuolle <juha.vuolle@nokia.com> | 2011-12-07 18:07:54 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-08 06:33:55 +0100 |
commit | e732ce67d1336f1145ee0929369241c1bcbefd37 (patch) | |
tree | 6f150e1eb9452fc52873a1d7e6984cd417c31eb2 /src/imports/location/qdeclarativegeomapitembase.cpp | |
parent | 859962052b0e0d9e038918a5f8595b137bb08191 (diff) | |
download | qtlocation-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.cpp | 11 |
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_); |