diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-07-07 13:50:28 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-07-07 13:50:28 +0200 |
commit | f61dfc6557303a8bba5301927f42e5b2a7ffcac6 (patch) | |
tree | fdba31b412015684d46c7a3cb070b8a57ff37ef4 /liveviewwatchlets/liveviewnotificationwatchlet.cpp | |
parent | 92475d094cfddf7dd3036f5f1a9d6845a83ee350 (diff) | |
download | sowatch-f61dfc6557303a8bba5301927f42e5b2a7ffcac6.tar.gz sowatch-f61dfc6557303a8bba5301927f42e5b2a7ffcac6.zip |
add some notification support to liveview
Diffstat (limited to 'liveviewwatchlets/liveviewnotificationwatchlet.cpp')
-rw-r--r-- | liveviewwatchlets/liveviewnotificationwatchlet.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/liveviewwatchlets/liveviewnotificationwatchlet.cpp b/liveviewwatchlets/liveviewnotificationwatchlet.cpp new file mode 100644 index 0000000..eecc485 --- /dev/null +++ b/liveviewwatchlets/liveviewnotificationwatchlet.cpp @@ -0,0 +1,11 @@ +#include "liveviewnotificationwatchlet.h" + +using namespace sowatch; + +const QLatin1String LiveViewNotificationWatchlet::myId("com.javispedro.sowatch.liveview.notification"); + +LiveViewNotificationWatchlet::LiveViewNotificationWatchlet(Watch *watch) : + DeclarativeWatchlet(watch, myId) +{ + setSource(QUrl(SOWATCH_QML_DIR "/liveviewwatchlets/" + watch->model() + "-notification.qml")); +} |