import QtQuick 1.0 import QtMobility.systeminfo 1.2 AlignedTimer { id: heartbeat maximumInterval: 15 minimumInterval: 5 onTimeout: { var timestamp = Qt.formatDateTime(new Date(), "hh:mm:ss") + qsTr(" - heartbeat!") console.log(timestamp) prevLabel.text = lastLabel.text lastLabel.text = timestamp } }