summaryrefslogtreecommitdiff
path: root/sowatchd/daemonadaptor.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-09 04:03:20 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-09 04:03:20 +0200
commit406332eb6b3199d19388f359d04c9f184e6082b5 (patch)
tree0560e8dabcd715cdf1932b7ac6105df5d20025e5 /sowatchd/daemonadaptor.h
parent3aa62b0543d978c1a01c5cf05a898fd8d805c44b (diff)
downloadsowatch-406332eb6b3199d19388f359d04c9f184e6082b5.tar.gz
sowatch-406332eb6b3199d19388f359d04c9f184e6082b5.zip
watch status UI
Diffstat (limited to 'sowatchd/daemonadaptor.h')
-rw-r--r--sowatchd/daemonadaptor.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sowatchd/daemonadaptor.h b/sowatchd/daemonadaptor.h
index d16cb99..71640ba 100644
--- a/sowatchd/daemonadaptor.h
+++ b/sowatchd/daemonadaptor.h
@@ -9,8 +9,8 @@
* before re-generating it.
*/
-#ifndef DAEMONADAPTOR_H_1335395583
-#define DAEMONADAPTOR_H_1335395583
+#ifndef DAEMONADAPTOR_H_1344470120
+#define DAEMONADAPTOR_H_1344470120
#include <QtCore/QObject>
#include <QtDBus/QtDBus>
@@ -35,6 +35,10 @@ class DaemonAdaptor: public QDBusAbstractAdaptor
" <arg direction=\"out\" type=\"s\" name=\"status\"/>\n"
" </method>\n"
" <method name=\"Terminate\"/>\n"
+" <signal name=\"WatchStatusChanged\">\n"
+" <arg type=\"s\" name=\"watch\"/>\n"
+" <arg type=\"s\" name=\"status\"/>\n"
+" </signal>\n"
" </interface>\n"
"")
public:
@@ -46,6 +50,7 @@ public Q_SLOTS: // METHODS
QString GetWatchStatus(const QString &watch);
void Terminate();
Q_SIGNALS: // SIGNALS
+ void WatchStatusChanged(const QString &watch, const QString &status);
};
#endif