Class for actions that represent one of the application's windows.
More...
#include <WindowAction.h>
|
| void | activateWindow () |
| | Slot that is called when the action is triggered. Activates the window that the action represents.
|
| |
|
| Window * | m_window |
| | The window that the action represents.
|
| |
| int | m_index |
| | The index of the action in the window menu.
|
| |
Class for actions that represent one of the application's windows.
Inheritance Diagram
| Frapper::WindowAction::WindowAction |
( |
Window * |
window, |
|
|
int |
index |
|
) |
| |
Constructor of the WindowAction class.
Constructors and Destructors.
- Parameters
-
| window | The window that the action represents. |
| index | The index of the action in the window menu. |
Constructor of the WindowAction class.
- Parameters
-
| window | The window that the action represents. |
| index | The index of the action in the window menu. |
| Window * Frapper::WindowAction::getWindow |
( |
| ) |
|
Returns the window that the action represents.
Public Functions.
- Returns
- The window that the action represents.
Returns the window that the action represents.
- Returns
- The window that the action represents.
| void Frapper::WindowAction::setText |
( |
const QString & |
text | ) |
|
Sets the text of the action.
- Parameters
-
| text | The new text for the action. |
| void Frapper::WindowAction::activateWindow |
( |
| ) |
|
|
slot |
Slot that is called when the action is triggered. Activates the window that the action represents.
Public Slots.
| Window* Frapper::WindowAction::m_window |
|
private |
The window that the action represents.
| int Frapper::WindowAction::m_index |
|
private |
The index of the action in the window menu.
The documentation for this class was generated from the following files: