summaryrefslogtreecommitdiff
path: root/notificationswatchlet/notificationswatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'notificationswatchlet/notificationswatchlet.cpp')
-rw-r--r--notificationswatchlet/notificationswatchlet.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/notificationswatchlet/notificationswatchlet.cpp b/notificationswatchlet/notificationswatchlet.cpp
new file mode 100644
index 0000000..01110e9
--- /dev/null
+++ b/notificationswatchlet/notificationswatchlet.cpp
@@ -0,0 +1,10 @@
+#include "notificationswatchlet.h"
+
+using namespace sowatch;
+
+NotificationsWatchlet::NotificationsWatchlet(WatchServer* server) :
+ DeclarativeWatchlet(server, "com.javispedro.sowatch.notifications")
+{
+ setSource(QUrl("qrc:/notificationswatchlet/" + server->watch()->model() + ".qml"));
+}
+