summaryrefslogtreecommitdiffstats
path: root/framework/actions/action.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-04 16:49:31 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-04 16:49:31 +0200
commite4fba677a9755a5aee1a0ea1513b6f737429d832 (patch)
tree956856d3635249a6d7af98934f7f14885f264818 /framework/actions/action.h
parent8cfe1ed71dd342bfb625a94319f7b3d42709c8b0 (diff)
downloadkube-e4fba677a9755a5aee1a0ea1513b6f737429d832.tar.gz
kube-e4fba677a9755a5aee1a0ea1513b6f737429d832.zip
Unbreak action execution from qml
QML can't do with custom return types. (we'd have to wrap it in a QVariant or use a property).
Diffstat (limited to 'framework/actions/action.h')
-rw-r--r--framework/actions/action.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/actions/action.h b/framework/actions/action.h
index 1ad4a47e..1abf4a5c 100644
--- a/framework/actions/action.h
+++ b/framework/actions/action.h
@@ -44,7 +44,8 @@ public:
44 44
45 bool ready() const; 45 bool ready() const;
46 46
47 Q_INVOKABLE ActionResult execute(); 47 Q_INVOKABLE void execute();
48 ActionResult executeWithResult();
48 49
49Q_SIGNALS: 50Q_SIGNALS:
50 void readyChanged(); 51 void readyChanged();