summaryrefslogtreecommitdiff
path: root/metawatchwatchlets/metawatchnotificationwatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'metawatchwatchlets/metawatchnotificationwatchlet.cpp')
-rw-r--r--metawatchwatchlets/metawatchnotificationwatchlet.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/metawatchwatchlets/metawatchnotificationwatchlet.cpp b/metawatchwatchlets/metawatchnotificationwatchlet.cpp
new file mode 100644
index 0000000..ef9c3d5
--- /dev/null
+++ b/metawatchwatchlets/metawatchnotificationwatchlet.cpp
@@ -0,0 +1,11 @@
+#include "metawatchnotificationwatchlet.h"
+
+using namespace sowatch;
+
+const QLatin1String MetaWatchNotificationWatchlet::myId("com.javispedro.sowatch.metawatch.notification");
+
+MetaWatchNotificationWatchlet::MetaWatchNotificationWatchlet(Watch *watch) :
+ DeclarativeWatchlet(watch, myId)
+{
+ setSource(QUrl(SOWATCH_QML_DIR "/metawatchwatchlets/" + watch->model() + "-notification.qml"));
+}