diff options
author | Adrien BUSTANY <madcat@mymadcat.com> | 2008-06-09 01:27:34 +0200 |
---|---|---|
committer | Adrien BUSTANY <madcat@mymadcat.com> | 2008-06-09 01:27:34 +0200 |
commit | c6bf19ac372f48bfaa188e7651cbc7cadcb332fb (patch) | |
tree | c62ee4187765b63c1b5a6d86079f1ea1a62d5869 | |
parent | 17f91dd7779511f20f3a7893cdfa2def7d182074 (diff) |
StateHasChanged
-rw-r--r-- | lib/Daemon.cpp | 4 | ||||
-rw-r--r-- | lib/Daemon.h | 1 | ||||
-rw-r--r-- | lib/coverage-daemon.txt | 2 |
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 |