summaryrefslogtreecommitdiff
path: root/daemon/dbusadaptor.cpp
diff options
context:
space:
mode:
authorPhilipp Andreas <github@smurfy.de>2014-07-22 23:27:21 +0200
committerPhilipp Andreas <github@smurfy.de>2014-07-22 23:27:21 +0200
commit9e92e7c4cfd6236912a2665df9a6ed89e8fcdffc (patch)
tree38ebe20a01e00246e10ba9fffc7ace56aaa56032 /daemon/dbusadaptor.cpp
parent9f8db04d6059e0b220e36a064d694a1b0649f5f0 (diff)
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