~frals/ubuntu-clock-app/clockview-easteregg

« back to all changes in this revision

Viewing changes to ClockPage.qml

  • Committer: Tarmac
  • Author(s): Juha Ristolainen
  • Date: 2013-03-14 17:13:05 UTC
  • mfrom: (10.1.1 alarm-page)
  • Revision ID: tarmac-20130314171305-be065z7orrpgxstw
Added local storage db handling and example setting stored in it: the last used tab index is stored/restored between app launches.

Approved by Ubuntu Phone Apps Jenkins Bot, Nick Leppänen Larsson, Nekhelesh Ramananthan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
      \brief main Timer calls this on every 1000ms
29
29
      */
30
30
    function onTimerUpdate(now) {
31
 
        Utils.log("ClockPage onTimerUpdate: " + now);
32
 
 
33
31
        currentTimeFormatted = Qt.formatTime(now);
34
32
 
35
33
        // Tell currently loaded clockface that time has changed