diff options
Diffstat (limited to 'qorgwatchlet/qorgwatchlet.cpp')
-rw-r--r-- | qorgwatchlet/qorgwatchlet.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qorgwatchlet/qorgwatchlet.cpp b/qorgwatchlet/qorgwatchlet.cpp new file mode 100644 index 0000000..7111c81 --- /dev/null +++ b/qorgwatchlet/qorgwatchlet.cpp @@ -0,0 +1,13 @@ +#include <QtCore/QDebug> + +#include "qmsgwatchlet.h" + +QTM_USE_NAMESPACE +using namespace sowatch; + +QMsgWatchlet::QMsgWatchlet(WatchServer* server) : + DeclarativeWatchlet(server, "com.javispedro.sowatch.qmsg"), + _qms(new QMessageService(this)) +{ + setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + server->watch()->model() + ".qml")); +} |