summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Daemon.cpp4
-rw-r--r--lib/Daemon.h1
-rw-r--r--lib/coverage-daemon.txt2
3 files changed, 6 insertions, 1 deletions
diff --git a/lib/Daemon.cpp b/lib/Daemon.cpp
index f593054..4197e96 100644
--- a/lib/Daemon.cpp
+++ b/lib/Daemon.cpp
@@ -56,6 +56,10 @@ void Daemon::suggestQuit() {
proxy->SuggestDaemonQuit();
}
+void Daemon::stateHasChanged(const QString &reason) {
+ proxy->StateHasChanged(reason);
+}
+
Transaction* Daemon::newTransaction() {
return new Transaction(this);
}
diff --git a/lib/Daemon.h b/lib/Daemon.h
index 7b7316b..89022c8 100644
--- a/lib/Daemon.h
+++ b/lib/Daemon.h
@@ -32,6 +32,7 @@ public:
bool getNetworkState();
void setProxy(const QString &http_proxy, const QString &ftp_proxy);
void suggestQuit();
+ void stateHasChanged(const QString &reason);
Transaction* newTransaction();
diff --git a/lib/coverage-daemon.txt b/lib/coverage-daemon.txt
index 8186090..d19bd61 100644
--- a/lib/coverage-daemon.txt
+++ b/lib/coverage-daemon.txt
@@ -10,7 +10,7 @@ X GetGroups
X GetTid
X GetTimeSinceAction
X GetTransactionList
- StateHasChanged
+X StateHasChanged
X SuggestDaemonQuit
X GetNetworkState
X SetProxy