summaryrefslogtreecommitdiff
path: root/qml/pages/WatchView.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <dev.git@javispedro.com>2014-09-14 14:11:26 +0200
committerJavier S. Pedro <dev.git@javispedro.com>2014-09-14 14:11:26 +0200
commitb9b1829dbc50534190c8b81f91ee477af6971834 (patch)
tree360f09061f43a247a5afdc2c83df2b9a03d86a4a /qml/pages/WatchView.qml
parent85fb48bc51fed06a50b6178727fdf9e96aea4fc4 (diff)
downloadsalmeta-b9b1829dbc50534190c8b81f91ee477af6971834.tar.gz
salmeta-b9b1829dbc50534190c8b81f91ee477af6971834.zip
addign watch properties, starting notification work
Diffstat (limited to 'qml/pages/WatchView.qml')
-rw-r--r--qml/pages/WatchView.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/qml/pages/WatchView.qml b/qml/pages/WatchView.qml
index e738f4e..a5d755e 100644
--- a/qml/pages/WatchView.qml
+++ b/qml/pages/WatchView.qml
@@ -42,4 +42,9 @@ Flickable {
curPage = Math.round(watchView.contentX / watchView.width)
pivotAnim.start()
}
+
+ function switchToPage(page) {
+ curPage = page;
+ pivotAnim.start();
+ }
}