summaryrefslogtreecommitdiff
path: root/qmapwatchlet/compasswatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-19 19:18:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-19 19:18:40 +0200
commit6df11eb1581441e45d18728baf066aa5136042ae (patch)
tree5672071de8a2ca680495b12f330bc8b3e093fbd4 /qmapwatchlet/compasswatchlet.cpp
parent26b8b909570bca66882c68f1c6f578f2aeef1e7e (diff)
downloadsowatch-6df11eb1581441e45d18728baf066aa5136042ae.tar.gz
sowatch-6df11eb1581441e45d18728baf066aa5136042ae.zip
testin compass watchlet
Diffstat (limited to 'qmapwatchlet/compasswatchlet.cpp')
-rw-r--r--qmapwatchlet/compasswatchlet.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qmapwatchlet/compasswatchlet.cpp b/qmapwatchlet/compasswatchlet.cpp
index 3101955..cbc19a4 100644
--- a/qmapwatchlet/compasswatchlet.cpp
+++ b/qmapwatchlet/compasswatchlet.cpp
@@ -1,11 +1,11 @@
-#include "tripwatchlet.h"
+#include "compasswatchlet.h"
using namespace sowatch;
-const QLatin1String TripWatchlet::myId("com.javispedro.sowatch.trip");
+const QLatin1String CompassWatchlet::myId("com.javispedro.sowatch.compass");
-TripWatchlet::TripWatchlet(WatchServer* server) :
+CompassWatchlet::CompassWatchlet(WatchServer* server) :
DeclarativeWatchlet(server, myId)
{
- setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/trip-" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/compass-" + server->watch()->model() + ".qml"));
}