summaryrefslogtreecommitdiff
path: root/qmapwatchlet/metawatch-digital.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-17 04:57:27 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-17 04:57:27 +0200
commit659c53b0d8faf26e6f06334833b2e105a4c4193d (patch)
tree8dced84e65f3c662622159acb6ab096bfc005976 /qmapwatchlet/metawatch-digital.qml
parenta2059b5cfaa600402dfbec5d63099fd724998e9f (diff)
downloadsowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.tar.gz
sowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.zip
trying to make the map watchlet more useful
Diffstat (limited to 'qmapwatchlet/metawatch-digital.qml')
-rw-r--r--qmapwatchlet/metawatch-digital.qml21
1 files changed, 6 insertions, 15 deletions
diff --git a/qmapwatchlet/metawatch-digital.qml b/qmapwatchlet/metawatch-digital.qml
index 16206db..9c054a4 100644
--- a/qmapwatchlet/metawatch-digital.qml
+++ b/qmapwatchlet/metawatch-digital.qml
@@ -1,23 +1,14 @@
import QtQuick 1.0
import QtMobility.location 1.2
+import com.javispedro.sowatch.metawatch 1.0
+import com.javispedro.sowatch.qmap 1.0
-Rectangle {
- width: 96
- height: 96
-
- color: "white"
-
- PositionSource {
- id: pos
- updateInterval: 5000
- active: watch.active
- }
-
- Map {
+MWPage {
+ MapView {
id: map
anchors.fill: parent;
- plugin : Plugin { name : "nokia" }
- center: pos.position.coordinate
+ updateEnabled: watch.active
+ updateInterval: 5000;
}
Connections {