diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-27 20:22:49 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-27 20:22:49 +0200 |
commit | 64662ecc6ea6b5296ea77d83eac6eb1372afac01 (patch) | |
tree | c32745b57e9f65c9aff83717ea930de06c853577 /qmapwatchlet/qmapwatchlet.cpp | |
parent | 754d02ae6f8d19e64a36cee970a7e364b5b295de (diff) | |
download | sowatch-64662ecc6ea6b5296ea77d83eac6eb1372afac01.tar.gz sowatch-64662ecc6ea6b5296ea77d83eac6eb1372afac01.zip |
new crappy map watchlet
Diffstat (limited to 'qmapwatchlet/qmapwatchlet.cpp')
-rw-r--r-- | qmapwatchlet/qmapwatchlet.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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")); +} + |