ViewMenuAction Class Reference
Mereley a KToggleAction whith some additional data to store the window. More...
#include <mainwindow.h>
Inheritance diagram for ViewMenuAction:


Signals | |
void | activated (const ViewMenuActionPrivateData &) |
Public Member Functions | |
ViewMenuAction (ViewMenuActionPrivateData Data, const QString &Name) | |
ViewMenuAction (ViewMenuActionPrivateData Data, const QString &text, const QString &pix, const KShortcut &cut, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name) | |
Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. | |
const ViewMenuActionPrivateData * | getData (void) |
Protected Slots | |
virtual void | slotActivated () |
Private Attributes | |
ViewMenuActionPrivateData | WindowData |
My data to identify the window to hide or show. |
Detailed Description
Mereley a KToggleAction whith some additional data to store the window.
Definition at line 227 of file mainwindow.h.
Constructor & Destructor Documentation
|
Definition at line 58 of file mainwindow.cpp. |
|
Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user.
If you do not want or have a keyboard shortcut, set the
This is the other common KAction used. Use it when you
Definition at line 65 of file mainwindow.cpp. References KAction::activated(), and text(). |
Member Function Documentation
|
|
|
Definition at line 258 of file mainwindow.h. |
|
Reimplemented from KToggleAction. Definition at line 76 of file mainwindow.cpp. References KAction::activated(), KToggleAction::slotActivated(), and WindowData. |
Member Data Documentation
|
My data to identify the window to hide or show.
Definition at line 268 of file mainwindow.h. Referenced by slotActivated(). |
The documentation for this class was generated from the following files:
- src/mainwindow.h
- src/mainwindow.cpp