#include <kaction.h>
Inheritance diagram for KWidgetAction:

Public Methods | |
| KWidgetAction (QWidget *widget, const QString &text, const KShortcut &cut, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name) | |
| QWidget * | widget () |
| virtual int | plug (QWidget *w, int index=-1) |
| virtual void | unplug (QWidget *w) |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
Definition at line 1696 of file kaction.h.
|
||||||||||||||||||||||||||||||||
|
Create an action that will embed widget into a toolbar when plugged. This action may only be plugged into a toolbar. |
|
||||||||||||
|
Plug the action. The widget passed to the constructor will be reparented to w, which must inherit KToolBar. Reimplemented from KAction. |
|
|
Unplug the action. Ensures that the action is not destroyed. It will be hidden and reparented to 0L instead. Reimplemented from KAction. |
|
|
Returns the widget associated with this action. |
1.2.18