summaryrefslogtreecommitdiffstats
path: root/framework/actions/action.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-03 20:24:09 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-03 20:24:26 +0200
commite06e1dad4a4570e5c1181d05ab6ed7a5d74c6c91 (patch)
treeef606d36ee693eff087292a1950fe122a7376f19 /framework/actions/action.h
parent21f7851f044cd8b6e38c821ce12d7e1b291cae27 (diff)
downloadkube-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.h3
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
24namespace Kube { 25namespace 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
48Q_SIGNALS: 49Q_SIGNALS:
49 void readyChanged(); 50 void readyChanged();