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/metawatch-digital-watchface.qml | |
parent | ae37832316d905889c82706b351b3c037c9e1ab6 (diff) | |
download | sowatch-6003bf81107dd9be51589c074b74c5af82bfc8ab.tar.gz sowatch-6003bf81107dd9be51589c074b74c5af82bfc8ab.zip |
testing qml notifications
Diffstat (limited to 'metawatchwatchlets/metawatch-digital-watchface.qml')
-rw-r--r-- | metawatchwatchlets/metawatch-digital-watchface.qml | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/metawatchwatchlets/metawatch-digital-watchface.qml b/metawatchwatchlets/metawatch-digital-watchface.qml index 23236a6..a030bdb 100644 --- a/metawatchwatchlets/metawatch-digital-watchface.qml +++ b/metawatchwatchlets/metawatch-digital-watchface.qml @@ -5,13 +5,6 @@ import com.javispedro.sowatch.metawatch 1.0 MWPage { id: page - Connections { - target: watch - onActiveChanged: { - console.log("watchface is now " + (watch.active ? "active" : "inactive")) - } - } - Column { Item { id: systemArea @@ -30,6 +23,7 @@ MWPage { Item { width: page.width height: 30 + // TODO Weather stuff. } Image { @@ -107,7 +101,7 @@ MWPage { function updateWeather() { var weather = notifications.getMostRecentByType(Notification.WeatherNotification); if (typeof weather !== "undefined") { - // TODO + // TODO Weather stuff } } @@ -117,16 +111,6 @@ MWPage { } Connections { - target: watch - onActiveChanged: { - if (watch.active) { - console.log("watchface active"); - //updateUnreadCounts(); - } - } - } - - Connections { target: notifications onModelChanged: update(); } |