summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/outboxcontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/outboxcontroller.h')
-rw-r--r--framework/src/domain/outboxcontroller.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/framework/src/domain/outboxcontroller.h b/framework/src/domain/outboxcontroller.h
index 4c24ad59..0d33956a 100644
--- a/framework/src/domain/outboxcontroller.h
+++ b/framework/src/domain/outboxcontroller.h
@@ -20,20 +20,21 @@
20 20
21#include <QObject> 21#include <QObject>
22#include "controller.h" 22#include "controller.h"
23#include "sink/applicationdomaintype.h"
23 24
24class OutboxController : public Kube::Controller 25class OutboxController : public Kube::Controller
25{ 26{
26 Q_OBJECT 27 Q_OBJECT
27 Q_PROPERTY (Kube::ControllerAction* sendOutboxAction READ sendOutboxAction CONSTANT) 28
29 KUBE_CONTROLLER_PROPERTY(Sink::ApplicationDomain::Mail::Ptr, Mail, mail)
30 KUBE_CONTROLLER_ACTION(sendOutbox)
31 //Trigger a move to drafts and then trigger an edit
32 KUBE_CONTROLLER_ACTION(edit)
33 KUBE_CONTROLLER_ACTION(moveToTrash)
28 34
29public: 35public:
30 explicit OutboxController(); 36 explicit OutboxController();
31 37
32 Kube::ControllerAction* sendOutboxAction() const;
33
34private slots:
35 void sendOutbox();
36
37private: 38private:
38 QScopedPointer<Kube::ControllerAction> mSynchronizeOutboxAction; 39 QScopedPointer<Kube::ControllerAction> mSynchronizeOutboxAction;
39}; 40};