diff options
Diffstat (limited to 'framework/actions/action.cpp')
-rw-r--r-- | framework/actions/action.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/actions/action.cpp b/framework/actions/action.cpp index 1f94ae81..905f6f57 100644 --- a/framework/actions/action.cpp +++ b/framework/actions/action.cpp | |||
@@ -35,6 +35,14 @@ Action::Action(QObject *parent) | |||
35 | { | 35 | { |
36 | } | 36 | } |
37 | 37 | ||
38 | Action::Action(const QByteArray &actionId, Context &context, QObject *parent) | ||
39 | : QObject(parent), | ||
40 | mContext(&context), | ||
41 | mActionId(actionId) | ||
42 | { | ||
43 | |||
44 | } | ||
45 | |||
38 | void Action::setContext(Context *context) | 46 | void Action::setContext(Context *context) |
39 | { | 47 | { |
40 | //Get notified when any property changes | 48 | //Get notified when any property changes |