From 64662ecc6ea6b5296ea77d83eac6eb1372afac01 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Tue, 27 Sep 2011 20:22:49 +0200 Subject: new crappy map watchlet --- qmapwatchlet/qmapwatchlet.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 qmapwatchlet/qmapwatchlet.cpp (limited to 'qmapwatchlet/qmapwatchlet.cpp') diff --git a/qmapwatchlet/qmapwatchlet.cpp b/qmapwatchlet/qmapwatchlet.cpp new file mode 100644 index 0000000..c77ede4 --- /dev/null +++ b/qmapwatchlet/qmapwatchlet.cpp @@ -0,0 +1,11 @@ +#include "qmapwatchlet.h" + +using namespace sowatch; + +QMapWatchlet::QMapWatchlet(WatchServer* server) : + DeclarativeWatchlet(server, "com.javispedro.sowatch.map") +{ + + setSource(QUrl("qrc:/qmapwatchlet/" + server->watch()->model() + ".qml")); +} + -- cgit v1.2.3