summaryrefslogtreecommitdiff
path: root/qmapwatchlet/mapview.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-14 01:57:34 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-14 01:57:34 +0200
commit9e3eff1c3a2b7105fecf6d0d7f052eb9943fbada (patch)
treee28d75366e004e3865deefb5bcaa2dc8e0d3a773 /qmapwatchlet/mapview.cpp
parent80c58c124caf17f670d8efc120f5ae4bfd9aa09f (diff)
downloadsowatch-9e3eff1c3a2b7105fecf6d0d7f052eb9943fbada.tar.gz
sowatch-9e3eff1c3a2b7105fecf6d0d7f052eb9943fbada.zip
perform only one bluetooth discovery for all watches
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) {