diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-10 11:56:26 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-10 11:56:26 +0200 |
| commit | 072da88eee57e5d16f0b75c7b90c8a0bc6a60cb3 (patch) | |
| tree | 48ad2f71d598a5b44d4522a37cf1a1e681bbfe79 /daemon/dbusadaptor.h | |
| parent | c5132f1434eb6e14abfe2d2761d9f3abdcc3ad0e (diff) | |
Implemented ping, disconnect, reconnect in daemon
Diffstat (limited to 'daemon/dbusadaptor.h')
| -rw-r--r-- | daemon/dbusadaptor.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/daemon/dbusadaptor.h b/daemon/dbusadaptor.h index d1662c6..7613fba 100644 --- a/daemon/dbusadaptor.h +++ b/daemon/dbusadaptor.h @@ -1,6 +1,6 @@ /* * This file was generated by qdbusxml2cpp version 0.8 - * Command line was: qdbusxml2cpp -a daemon/dbusadaptor -p app/daemonproxy daemon/org.pebbled.xml + * Command line was: qdbusxml2cpp -a dbusadaptor org.pebbled.xml * * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). * @@ -9,8 +9,8 @@ * before re-generating it. */ -#ifndef DBUSADAPTOR_H_1404660047 -#define DBUSADAPTOR_H_1404660047 +#ifndef DBUSADAPTOR_H_1404986135 +#define DBUSADAPTOR_H_1404986135 #include <QtCore/QObject> #include <QtDBus/QtDBus> @@ -40,6 +40,11 @@ class PebbledAdaptor: public QDBusAbstractAdaptor " <property access=\"read\" type=\"b\" name=\"connected\"/>\n" " <signal name=\"pebbleChanged\"/>\n" " <signal name=\"connectedChanged\"/>\n" +" <method name=\"ping\">\n" +" <arg direction=\"in\" type=\"i\" name=\"val\"/>\n" +" </method>\n" +" <method name=\"disconnect\"/>\n" +" <method name=\"reconnect\"/>\n" " </interface>\n" "") public: @@ -60,6 +65,9 @@ public: // PROPERTIES QVariantMap pebble() const; public Q_SLOTS: // METHODS + void disconnect(); + void ping(int val); + void reconnect(); Q_SIGNALS: // SIGNALS void connectedChanged(); void pebbleChanged(); |
