diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-01-30 19:54:44 +0100 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-01-30 19:54:44 +0100 |
commit | 1375a26b135547fdd8e07db62acf8116a8482560 (patch) | |
tree | 96cb70c28d7c3cb05947caa39dde9d360e4903dc /qmsgwatchlet/qmsgwatchlet.cpp | |
parent | c916a1e3cb9440737a9414d6f28505b67209e3cb (diff) | |
download | sowatch-1375a26b135547fdd8e07db62acf8116a8482560.tar.gz sowatch-1375a26b135547fdd8e07db62acf8116a8482560.zip |
add a qt mobility messaging based watchlet
Diffstat (limited to 'qmsgwatchlet/qmsgwatchlet.cpp')
-rw-r--r-- | qmsgwatchlet/qmsgwatchlet.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qmsgwatchlet/qmsgwatchlet.cpp b/qmsgwatchlet/qmsgwatchlet.cpp new file mode 100644 index 0000000..5a95937 --- /dev/null +++ b/qmsgwatchlet/qmsgwatchlet.cpp @@ -0,0 +1,11 @@ +#include "qmsgwatchlet.h" + +using namespace sowatch; + +QMsgWatchlet::QMsgWatchlet(WatchServer* server) : + DeclarativeWatchlet(server, "com.javispedro.sowatch.qmsg") +{ + + setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + server->watch()->model() + ".qml")); +} + |