|
|
An action that automatically embeds a widget into a toolbar.
KWidgetAction ( QWidget* widget, const QString& text,
const KShortcut& cut,
const QObject* receiver, const char* slot,
KActionCollection* parent, const char* name )
| KWidgetAction |
Create an action that will embed widget into a toolbar when plugged. This action may only be plugged into a toolbar.
~KWidgetAction ()
| ~KWidgetAction |
[virtual]
QWidget* widget ()
| widget |
Returns the widget associated with this action.
void setAutoSized ( bool )
| setAutoSized |
int plug ( QWidget* w, int index = -1 )
| plug |
[virtual]
Plug the action. The widget passed to the constructor will be reparented to w, which must inherit KToolBar.
Reimplemented from KAction.
void unplug ( QWidget *w )
| unplug |
[virtual]
Unplug the action. Ensures that the action is not destroyed. It will be hidden and reparented to 0L instead.
Reimplemented from KAction.
void slotToolbarDestroyed ()
| slotToolbarDestroyed |
[protected slots slot]
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]
Reimplemented from KAction.
Generated by: caleb on tcdevel on Tue Jan 28 12:54:10 2003, using kdoc $. |