summaryrefslogtreecommitdiff
path: root/daemon/dbusadaptor.cpp
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-23 10:20:00 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-23 10:20:00 +0200
commit05502a35e1b1bd10a4ba81d2974d5c41e6a1ef35 (patch)
tree38ebe20a01e00246e10ba9fffc7ace56aaa56032 /daemon/dbusadaptor.cpp
parent9f8db04d6059e0b220e36a064d694a1b0649f5f0 (diff)
parent9e92e7c4cfd6236912a2665df9a6ed89e8fcdffc (diff)
Merge pull request #10 from smurfy/sync_time
Added support to sync date and time from phone
Diffstat (limited to 'daemon/dbusadaptor.cpp')
-rw-r--r--daemon/dbusadaptor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/dbusadaptor.cpp b/daemon/dbusadaptor.cpp
index 6125ee7..3332551 100644
--- a/daemon/dbusadaptor.cpp
+++ b/daemon/dbusadaptor.cpp
@@ -69,6 +69,13 @@ void PebbledAdaptor::ping(int val)
QMetaObject::invokeMethod(parent(), "ping", Q_ARG(int, val));
}
+void PebbledAdaptor::time()
+{
+ // handle method call org.pebbled.time
+ QMetaObject::invokeMethod(parent(), "time");
+}
+
+
void PebbledAdaptor::reconnect()
{
// handle method call org.pebbled.reconnect