summaryrefslogtreecommitdiff
path: root/liveviewwatchlets/liveviewnotificationwatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'liveviewwatchlets/liveviewnotificationwatchlet.cpp')
-rw-r--r--liveviewwatchlets/liveviewnotificationwatchlet.cpp11
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"));
+}