diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-09 04:03:20 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-09 04:03:20 +0200 |
commit | 406332eb6b3199d19388f359d04c9f184e6082b5 (patch) | |
tree | 0560e8dabcd715cdf1932b7ac6105df5d20025e5 /sowatchd/daemon.h | |
parent | 3aa62b0543d978c1a01c5cf05a898fd8d805c44b (diff) | |
download | sowatch-406332eb6b3199d19388f359d04c9f184e6082b5.tar.gz sowatch-406332eb6b3199d19388f359d04c9f184e6082b5.zip |
watch status UI
Diffstat (limited to 'sowatchd/daemon.h')
-rw-r--r-- | sowatchd/daemon.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sowatchd/daemon.h b/sowatchd/daemon.h index ba62585..338eb2a 100644 --- a/sowatchd/daemon.h +++ b/sowatchd/daemon.h @@ -3,6 +3,7 @@ #include <QtCore/QObject> #include <QtCore/QMap> +#include <QtCore/QSignalMapper> #include <sowatch.h> @@ -20,16 +21,21 @@ public: public slots: void terminate(); +signals: + void WatchStatusChanged(const QString &watch, const QString &status); + private: Registry* _registry; ConfigKey* _settings; QMap<QString, WatchServer*> _servers; + QSignalMapper *_status_mapper; void startWatch(const QString& name); void stopWatch(const QString& name); private slots: - void settingsChanged(const QString& subkey); + void handleSettingsChanged(const QString& subkey); + void handleWatchStatusChange(const QString& watch); }; } |