summaryrefslogtreecommitdiff
path: root/sowatchd/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchd/daemon.h')
-rw-r--r--sowatchd/daemon.h8
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);
};
}