diff options
Diffstat (limited to 'qmapwatchlet/compasswatchlet.cpp')
-rw-r--r-- | qmapwatchlet/compasswatchlet.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qmapwatchlet/compasswatchlet.cpp b/qmapwatchlet/compasswatchlet.cpp new file mode 100644 index 0000000..3101955 --- /dev/null +++ b/qmapwatchlet/compasswatchlet.cpp @@ -0,0 +1,11 @@ +#include "tripwatchlet.h" + +using namespace sowatch; + +const QLatin1String TripWatchlet::myId("com.javispedro.sowatch.trip"); + +TripWatchlet::TripWatchlet(WatchServer* server) : + DeclarativeWatchlet(server, myId) +{ + setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/trip-" + server->watch()->model() + ".qml")); +} |