|
LMMS
|
Convenience subclass of QActionGroup. More...
#include <ActionGroup.h>
Signals | |
| void | triggered (int index) |
| This signal is emitted when the action at the given index is triggered. | |
Public Member Functions | |
| ActionGroup (QObject *parent) | |
| QAction * | addAction (QAction *a) |
| QAction * | addAction (const QString &text) |
| QAction * | addAction (const QIcon &icon, const QString &text) |
Private Slots | |
| void | actionTriggered_ (QAction *action) |
Private Attributes | |
| QList< QAction * > | m_actions |
Convenience subclass of QActionGroup.
This class provides the same functionality as QActionGroup, but in addition has the actionTriggered(int) signal. It also sets every added action's checkable property to true.
| lmms::gui::ActionGroup::ActionGroup | ( | QObject * | parent | ) |
|
privateslot |
| QAction * lmms::gui::ActionGroup::addAction | ( | const QString & | text | ) |
| QAction * lmms::gui::ActionGroup::addAction | ( | QAction * | a | ) |
This signal is emitted when the action at the given index is triggered.
|
private |