summaryrefslogtreecommitdiffstats
path: root/framework/actions/actionbroker.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-13 14:52:27 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-16 14:54:14 +0100
commitb1a2e2de201985a00980bead5272977cda4ef637 (patch)
tree9af03b622d8c5d6a3b3ed83efb846977813b58d8 /framework/actions/actionbroker.h
parent3f4626d305aa43c2a720d692cdf8cf89cc658181 (diff)
downloadkube-b1a2e2de201985a00980bead5272977cda4ef637.tar.gz
kube-b1a2e2de201985a00980bead5272977cda4ef637.zip
Preactionhandler
Diffstat (limited to 'framework/actions/actionbroker.h')
-rw-r--r--framework/actions/actionbroker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/actions/actionbroker.h b/framework/actions/actionbroker.h
index 8f3eaeb2..d2787c79 100644
--- a/framework/actions/actionbroker.h
+++ b/framework/actions/actionbroker.h
@@ -33,7 +33,7 @@ public:
33 static ActionBroker &instance(); 33 static ActionBroker &instance();
34 34
35 bool isActionReady(const QByteArray &actionId, Context *context); 35 bool isActionReady(const QByteArray &actionId, Context *context);
36 ActionResult executeAction(const QByteArray &actionId, Context *context); 36 ActionResult executeAction(const QByteArray &actionId, Context *context, const QList<QPointer<ActionHandler>> &preHandler, const QList<QPointer<ActionHandler>> &postHandler);
37 37
38 void registerHandler(const QByteArray &actionId, ActionHandler *handler); 38 void registerHandler(const QByteArray &actionId, ActionHandler *handler);
39 39
@@ -42,7 +42,7 @@ Q_SIGNALS:
42 42
43private: 43private:
44 ActionBroker(QObject *parent = 0); 44 ActionBroker(QObject *parent = 0);
45 QMultiMap<QByteArray, ActionHandler*> mHandler; 45 QMultiMap<QByteArray, QPointer<ActionHandler>> mHandler;
46}; 46};
47 47
48} 48}