summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QToolBox.java
blob: c24294c59924ca7d87b9237286c5da778245d903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//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();
}