diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-13 14:52:27 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-16 14:54:14 +0100 |
commit | b1a2e2de201985a00980bead5272977cda4ef637 (patch) | |
tree | 9af03b622d8c5d6a3b3ed83efb846977813b58d8 /framework/actions/actionbroker.h | |
parent | 3f4626d305aa43c2a720d692cdf8cf89cc658181 (diff) | |
download | kube-b1a2e2de201985a00980bead5272977cda4ef637.tar.gz kube-b1a2e2de201985a00980bead5272977cda4ef637.zip |
Preactionhandler
Diffstat (limited to 'framework/actions/actionbroker.h')
-rw-r--r-- | framework/actions/actionbroker.h | 4 |
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 | ||
43 | private: | 43 | private: |
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 | } |