summaryrefslogtreecommitdiff
path: root/notificationswatchlet/notificationswatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-10-02 16:39:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-10-02 16:39:40 +0200
commit0a656b75f3fc80f13424db0e7ec403dff28a366e (patch)
tree23f72a2fde3f718048b49d9806ded3d315d50a80 /notificationswatchlet/notificationswatchlet.cpp
parentd9f132f3d5bf41ee4f30e7ea2bd1b61120fa29b7 (diff)
downloadsowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.tar.gz
sowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.zip
new notifications list, time syncing
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"));
+}
+