diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-07 01:37:21 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-07 01:37:21 +0200 |
commit | 6003bf81107dd9be51589c074b74c5af82bfc8ab (patch) | |
tree | 502193634979c12b45c2a013668d21556e2c7050 /metawatchwatchlets/metawatchnotificationwatchlet.cpp | |
parent | ae37832316d905889c82706b351b3c037c9e1ab6 (diff) | |
download | sowatch-6003bf81107dd9be51589c074b74c5af82bfc8ab.tar.gz sowatch-6003bf81107dd9be51589c074b74c5af82bfc8ab.zip |
testing qml notifications
Diffstat (limited to 'metawatchwatchlets/metawatchnotificationwatchlet.cpp')
-rw-r--r-- | metawatchwatchlets/metawatchnotificationwatchlet.cpp | 11 |
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")); +} |