You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.1 KiB
59 lines
2.1 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.TQMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.TQObject;
|
|
import org.kde.qt.TQWidget;
|
|
|
|
/**
|
|
|
|
An action that automatically embeds a widget into a
|
|
toolbar.
|
|
@short An action that automatically embeds a widget into a toolbar.
|
|
|
|
*/
|
|
public class KWidgetAction extends KAction {
|
|
protected KWidgetAction(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Create an action that will embed widget into a toolbar
|
|
when plugged. This action may only be plugged into
|
|
a toolbar.
|
|
@short Create an action that will embed widget into a toolbar when plugged.
|
|
*/
|
|
public KWidgetAction(TQWidget widget, String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) {
|
|
super((Class) null);
|
|
newKWidgetAction(widget,text,cut,receiver,slot,parent,name);
|
|
}
|
|
private native void newKWidgetAction(TQWidget widget, String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name);
|
|
/**
|
|
Returns the widget associated with this action.
|
|
@short Returns the widget associated with this action.
|
|
*/
|
|
public native TQWidget widget();
|
|
public native void setAutoSized(boolean arg1);
|
|
/**
|
|
Plug the action. The widget passed to the constructor
|
|
will be reparented to w, which must inherit KToolBar.
|
|
@short Plug the action.
|
|
*/
|
|
public native int plug(TQWidget widget, int index);
|
|
public native int plug(TQWidget widget);
|
|
/**
|
|
Unplug the action. Ensures that the action is not
|
|
destroyed. It will be hidden and reparented to null instead.
|
|
@short Unplug the action.
|
|
*/
|
|
public native void unplug(TQWidget w);
|
|
protected native void slotToolbarDestroyed();
|
|
/** Deletes the wrapped C++ instance */
|
|
protected native void finalize() throws InternalError;
|
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
|
public native void dispose();
|
|
/** Has the wrapped C++ instance been deleted? */
|
|
public native boolean isDisposed();
|
|
}
|