aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/qdbusactiongroup.h
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-30 13:53:37 +0000
committerTarmac <>2012-10-30 13:53:37 +0000
commite26fff2098e067e4c1dc8095af1447755a359873 (patch)
treeccd8ebede33d7d8b7385b7d67c4ad172dc6d0607 /libqmenumodel/src/qdbusactiongroup.h
parent035b6086485dcd3b42abc5d1fab2b155ccd16027 (diff)
parentfac3a657a39bb9c3e9fa3c0b3ff22533b2e7e3ba (diff)
downloadqmenumodel-e26fff2098e067e4c1dc8095af1447755a359873.tar.gz
qmenumodel-e26fff2098e067e4c1dc8095af1447755a359873.tar.bz2
qmenumodel-e26fff2098e067e4c1dc8095af1447755a359873.zip
Use the correct function "g_action_group_change_action_state" to change the action state.
Approved by Olivier Tilloy.
Diffstat (limited to 'libqmenumodel/src/qdbusactiongroup.h')
-rw-r--r--libqmenumodel/src/qdbusactiongroup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmenumodel/src/qdbusactiongroup.h b/libqmenumodel/src/qdbusactiongroup.h
index beaca24..0292a8f 100644
--- a/libqmenumodel/src/qdbusactiongroup.h
+++ b/libqmenumodel/src/qdbusactiongroup.h
@@ -46,6 +46,7 @@ public:
~QDBusActionGroup();
void updateActionState(const QString &name, const QVariant &state);
+ void activateAction(const QString &name, const QVariant &parameter);
bool hasAction(const QString &name);
Q_INVOKABLE QStateAction *action(const QString &name);