A subclass of QAction to allow sending an integer when a menu item is selected.
More...
#include "us.h"
|
| US_Action (int, const QString &, QObject *) |
| Create a new QAction and connect the action to the private slot onTriggered. More...
|
|
A subclass of QAction to allow sending an integer when a menu item is selected.
Definition at line 66 of file us.h.
US_Action::US_Action |
( |
int |
i, |
|
|
const QString & |
text, |
|
|
QObject * |
parent |
|
) |
| |
Create a new QAction and connect the action to the private slot onTriggered.
- Parameters
-
i | The index number to send when triggered. |
text | The menu label to be displayed. |
parent | A pointer to the parent menu. |
Definition at line 93 of file us.cpp.
void US_Action::indexTriggered |
( |
int |
| ) |
|
|
signal |
A signal to send with the index of the menu selected.
void US_Action::onTriggered |
( |
bool |
| ) |
|
|
privateslot |
Definition at line 90 of file us.h.
The documentation for this class was generated from the following files: