org.kde.koala

Class KWidgetAction

public class KWidgetAction extends KAction

An action that automatically embeds a widget into a toolbar.

UNKNOWN: An action that automatically embeds a widget into a toolbar.

Constructor Summary
protected KWidgetAction(Class dummy)
KWidgetAction(QWidget widget, String text, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name)
Create an action that will embed widget into a toolbar when plugged.
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
intplug(QWidget widget, int index)
Plug the action.
intplug(QWidget widget)
voidsetAutoSized(boolean arg1)
protected voidslotToolbarDestroyed()
voidunplug(QWidget w)
Unplug the action.
QWidgetwidget()
Returns the widget associated with this action.

Constructor Detail

KWidgetAction

protected KWidgetAction(Class dummy)

KWidgetAction

public KWidgetAction(QWidget widget, String text, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name)
Create an action that will embed widget into a toolbar when plugged. This action may only be plugged into a toolbar.

UNKNOWN: Create an action that will embed widget into a toolbar when plugged.

Method Detail

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

plug

public int plug(QWidget widget, int index)
Plug the action. The widget passed to the constructor will be reparented to w, which must inherit KToolBar.

UNKNOWN: Plug the action.

plug

public int plug(QWidget widget)

setAutoSized

public void setAutoSized(boolean arg1)

slotToolbarDestroyed

protected void slotToolbarDestroyed()

unplug

public void unplug(QWidget w)
Unplug the action. Ensures that the action is not destroyed. It will be hidden and reparented to null instead.

UNKNOWN: Unplug the action.

widget

public QWidget widget()
Returns the widget associated with this action.

UNKNOWN: Returns the widget associated with this action.