//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; /** See {@link QToolBoxSignals} for signals emitted by QToolBox */ public class QToolBox extends QFrame { protected QToolBox(Class dummy){super((Class) null);} public native QMetaObject metaObject(); public native String className(); public QToolBox(QWidget parent, String name, int f) { super((Class) null); newQToolBox(parent,name,f); } private native void newQToolBox(QWidget parent, String name, int f); public QToolBox(QWidget parent, String name) { super((Class) null); newQToolBox(parent,name); } private native void newQToolBox(QWidget parent, String name); public QToolBox(QWidget parent) { super((Class) null); newQToolBox(parent); } private native void newQToolBox(QWidget parent); public QToolBox() { super((Class) null); newQToolBox(); } private native void newQToolBox(); public native int addItem(QWidget item, String label); public native int addItem(QWidget item, QIconSet iconSet, String label); public native int insertItem(int index, QWidget item, String label); public native int insertItem(int index, QWidget item, QIconSet iconSet, String label); public native int removeItem(QWidget 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, QIconSet iconSet); public native QIconSet itemIconSet(int index); public native void setItemToolTip(int index, String toolTip); public native String itemToolTip(int index); public native QWidget currentItem(); public native void setCurrentItem(QWidget item); public native int currentIndex(); public native QWidget item(int index); public native int indexOf(QWidget 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(QShowEvent e); protected native void frameChanged(); public native void styleChange(QStyle 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(); }