//Auto-generated by kalyptus. DO NOT EDIT. package org.trinitydesktop.koala; import org.trinitydesktop.qt.Qt; import org.trinitydesktop.qt.TQMetaObject; import org.trinitydesktop.qt.QtSupport; import org.trinitydesktop.qt.TQWidget; import org.trinitydesktop.qt.TQPushButton; /** A pushbutton for choosing an icon. Pressing on the button will open a TDEIconDialog for the user to select an icon. The current icon will be displayed on the button. See {@link TDEIconButtonSignals} for signals emitted by TDEIconButton @short A push button that allows selection of an icon. @see TDEIconDialog */ public class TDEIconButton extends TQPushButton { protected TDEIconButton(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** Constructs a TDEIconButton using the global iconloader. @short Constructs a TDEIconButton using the global iconloader. */ public TDEIconButton(TQWidget parent, String name) { super((Class) null); newTDEIconButton(parent,name); } private native void newTDEIconButton(TQWidget parent, String name); public TDEIconButton(TQWidget parent) { super((Class) null); newTDEIconButton(parent); } private native void newTDEIconButton(TQWidget parent); public TDEIconButton() { super((Class) null); newTDEIconButton(); } private native void newTDEIconButton(); /** Constructs a TDEIconButton using a specific TDEIconLoader. @short Constructs a TDEIconButton using a specific TDEIconLoader. */ public TDEIconButton(TDEIconLoader loader, TQWidget parent, String name) { super((Class) null); newTDEIconButton(loader,parent,name); } private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent, String name); public TDEIconButton(TDEIconLoader loader, TQWidget parent) { super((Class) null); newTDEIconButton(loader,parent); } private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent); /** Sets a strict icon size policy for allowed icons. When true, only icons of the specified group's size in setIconType are allowed, and only icons of that size will be shown in the icon dialog. @short Sets a strict icon size policy for allowed icons. */ public native void setStrictIconSize(boolean b); /** Returns true if a strict icon size policy is set. @short Returns true if a strict icon size policy is set. */ public native boolean strictIconSize(); /** Sets the icon group and context. Use TDEIcon.NoGroup if you want to allow icons for any group in the given context. @short Sets the icon group and context. */ public native void setIconType(int group, int context, boolean user); public native void setIconType(int group, int context); /** Sets the button's initial icon. @short Sets the button's initial icon. */ public native void setIcon(String icon); /** Resets the icon (reverts to an empty button). @short Resets the icon (reverts to an empty button). */ public native void resetIcon(); /** Returns the name of the selected icon. @short Returns the name of the selected icon. */ public native String iconName(); /** Sets the size of the icon to be shown / selected. @short Sets the size of the icon to be shown / selected. @see TDEIcon#StdSizes @see #iconSize */ public native void setIconSize(int size); /** Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. @short Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. */ public native int iconSize(); /** 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(); }