summaryrefslogtreecommitdiffstats
path: root/framework/actions/actionbroker.h
diff options
context:
space:
mode:
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}