QAction derivate that emits a signal containing an index when triggered.
More...
#include <listaction.h>
|
void | triggeredAt (int index) |
| Emits this action's index.
|
|
|
| ListAction (int index, QObject *parent=nullptr) |
| Constructs a new action with the given index.
|
|
|
int | index_ |
| Index belonging to this action.
|
|
QAction derivate that emits a signal containing an index when triggered.
◆ ListAction()
ListAction::ListAction |
( |
int | index, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
Constructs a new action with the given index.
- Parameters
-
index | Target index. |
parent | Parent of this object. |
◆ triggeredAt
void ListAction::triggeredAt |
( |
int | index | ) |
|
|
signal |
Emits this action's index.
- Parameters
-
The documentation for this class was generated from the following files: