summaryrefslogtreecommitdiff
path: root/qmapwatchlet/mapview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmapwatchlet/mapview.cpp')
-rw-r--r--qmapwatchlet/mapview.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/qmapwatchlet/mapview.cpp b/qmapwatchlet/mapview.cpp
index 7e78d15..ce0e2b4 100644
--- a/qmapwatchlet/mapview.cpp
+++ b/qmapwatchlet/mapview.cpp
@@ -95,6 +95,16 @@ void MapView::setUpdateInterval(int msec)
}
}
+bool MapView::decolor() const
+{
+ return _decolor;
+}
+
+void MapView::setDecolor(bool decolor)
+{
+ _decolor = decolor;
+}
+
qreal MapView::zoomLevel() const
{
if (_mapData) {