psa: implemented settings
[feedingit] / psa_harmattan / feedingit / qml / AutomaticUpdate.qml
1 import QtQuick 1.0
2 import QtMobility.systeminfo 1.2
3
4 AlignedTimer {
5     id: heartbeat
6     maximumInterval: 15
7     minimumInterval: 5
8     onTimeout: {
9         var timestamp = Qt.formatDateTime(new Date(), "hh:mm:ss") + qsTr(" - heartbeat!")
10         console.log(timestamp)
11         prevLabel.text = lastLabel.text
12         lastLabel.text = timestamp
13     }
14 }