diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-03 20:24:09 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-03 20:24:26 +0200 |
commit | e06e1dad4a4570e5c1181d05ab6ed7a5d74c6c91 (patch) | |
tree | ef606d36ee693eff087292a1950fe122a7376f19 /framework/actions/action.h | |
parent | 21f7851f044cd8b6e38c821ce12d7e1b291cae27 (diff) | |
download | kube-e06e1dad4a4570e5c1181d05ab6ed7a5d74c6c91.tar.gz kube-e06e1dad4a4570e5c1181d05ab6ed7a5d74c6c91.zip |
A save-as-draft action & action results
This patch introduces tracking of actions, so they can be tested.
It also provides a save-as-draft action, that looks for the draft
folder, and stores the mail accordingly.
Diffstat (limited to 'framework/actions/action.h')
-rw-r--r-- | framework/actions/action.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/actions/action.h b/framework/actions/action.h index b820955e..1ad4a47e 100644 --- a/framework/actions/action.h +++ b/framework/actions/action.h | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include <QObject> | 21 | #include <QObject> |
22 | #include "context.h" | 22 | #include "context.h" |
23 | #include "actionresult.h" | ||
23 | 24 | ||
24 | namespace Kube { | 25 | namespace Kube { |
25 | 26 | ||
@@ -43,7 +44,7 @@ public: | |||
43 | 44 | ||
44 | bool ready() const; | 45 | bool ready() const; |
45 | 46 | ||
46 | Q_INVOKABLE void execute(); | 47 | Q_INVOKABLE ActionResult execute(); |
47 | 48 | ||
48 | Q_SIGNALS: | 49 | Q_SIGNALS: |
49 | void readyChanged(); | 50 | void readyChanged(); |