diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-10-30 13:53:37 +0000 |
---|---|---|
committer | Tarmac <> | 2012-10-30 13:53:37 +0000 |
commit | e26fff2098e067e4c1dc8095af1447755a359873 (patch) | |
tree | ccd8ebede33d7d8b7385b7d67c4ad172dc6d0607 /libqmenumodel/src/qdbusactiongroup.h | |
parent | 035b6086485dcd3b42abc5d1fab2b155ccd16027 (diff) | |
parent | fac3a657a39bb9c3e9fa3c0b3ff22533b2e7e3ba (diff) | |
download | qmenumodel-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.h | 1 |
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 ¶meter); bool hasAction(const QString &name); Q_INVOKABLE QStateAction *action(const QString &name); |