//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; /** See {@link TQToolBoxSignals} for signals emitted by TQToolBox */ public class TQToolBox extends TQFrame { protected TQToolBox(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); public TQToolBox(TQWidget parent, String name, int f) { super((Class) null); newTQToolBox(parent,name,f); } private native void newTQToolBox(TQWidget parent, String name, int f); public TQToolBox(TQWidget parent, String name) { super((Class) null); newTQToolBox(parent,name); } private native void newTQToolBox(TQWidget parent, String name); public TQToolBox(TQWidget parent) { super((Class) null); newTQToolBox(parent); } private native void newTQToolBox(TQWidget parent); public TQToolBox() { super((Class) null); newTQToolBox(); } private native void newTQToolBox(); public native int addItem(TQWidget item, String label); public native int addItem(TQWidget item, TQIconSet iconSet, String label); public native int insertItem(int index, TQWidget item, String label); public native int insertItem(int index, TQWidget item, TQIconSet iconSet, String label); public native int removeItem(TQWidget item); public native void setItemEnabled(int index, boolean enabled); public native boolean isItemEnabled(int index); public native void setItemLabel(int index, String label); public native String itemLabel(int index); public native void setItemIconSet(int index, TQIconSet iconSet); public native TQIconSet itemIconSet(int index); public native void setItemToolTip(int index, String toolTip); public native String itemToolTip(int index); public native TQWidget currentItem(); public native void setCurrentItem(TQWidget item); public native int currentIndex(); public native TQWidget item(int index); public native int indexOf(TQWidget item); public native int count(); public native void setCurrentIndex(int index); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); protected native void itemInserted(int index); protected native void itemRemoved(int index); public native void showEvent(TQShowEvent e); protected native void frameChanged(); public native void styleChange(TQStyle arg1); /** 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(); }