summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QComboBox.java
blob: 8055993d92d5e5513815a332958598cd4dfaa84d (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link TQComboBoxSignals} for signals emitted by TQComboBox
*/
public class TQComboBox extends TQWidget  {
	protected TQComboBox(Class dummy){super((Class) null);}
	public static final int NoInsertion = 0;
	public static final int AtTop = 1;
	public static final int AtCurrent = 2;
	public static final int AtBottom = 3;
	public static final int AfterCurrent = 4;
	public static final int BeforeCurrent = 5;

	public native TQMetaObject metaObject();
	public native String className();
	public TQComboBox(TQWidget parent, String name) {
		super((Class) null);
		newTQComboBox(parent,name);
	}
	private native void newTQComboBox(TQWidget parent, String name);
	public TQComboBox(TQWidget parent) {
		super((Class) null);
		newTQComboBox(parent);
	}
	private native void newTQComboBox(TQWidget parent);
	public TQComboBox() {
		super((Class) null);
		newTQComboBox();
	}
	private native void newTQComboBox();
	public TQComboBox(boolean rw, TQWidget parent, String name) {
		super((Class) null);
		newTQComboBox(rw,parent,name);
	}
	private native void newTQComboBox(boolean rw, TQWidget parent, String name);
	public TQComboBox(boolean rw, TQWidget parent) {
		super((Class) null);
		newTQComboBox(rw,parent);
	}
	private native void newTQComboBox(boolean rw, TQWidget parent);
	public TQComboBox(boolean rw) {
		super((Class) null);
		newTQComboBox(rw);
	}
	private native void newTQComboBox(boolean rw);
	public native int count();
	public native void insertStringList(String[] arg1, int index);
	public native void insertStringList(String[] arg1);
	public native void insertStrList(String[] arg1, int index);
	public native void insertStrList(String[] arg1);
	public native void insertStrList(String[] arg1, int numStrings, int index);
	public native void insertItem(String text, int index);
	public native void insertItem(String text);
	public native void insertItem(TQPixmap pixmap, int index);
	public native void insertItem(TQPixmap pixmap);
	public native void insertItem(TQPixmap pixmap, String text, int index);
	public native void insertItem(TQPixmap pixmap, String text);
	public native void removeItem(int index);
	public native int currentItem();
	public native void setCurrentItem(int index);
	public native String currentText();
	public native void setCurrentText(String arg1);
	public native String text(int index);
	public native TQPixmap pixmap(int index);
	public native void changeItem(String text, int index);
	public native void changeItem(TQPixmap pixmap, int index);
	public native void changeItem(TQPixmap pixmap, String text, int index);
	public native boolean autoResize();
	public native void setAutoResize(boolean arg1);
	public native TQSize sizeHint();
	public native void setPalette(TQPalette arg1);
	public native void setFont(TQFont arg1);
	public native void setEnabled(boolean arg1);
	public native void setSizeLimit(int arg1);
	public native int sizeLimit();
	public native void setMaxCount(int arg1);
	public native int maxCount();
	public native void setInsertionPolicy(int policy);
	public native int insertionPolicy();
	public native void setValidator(TQValidator arg1);
	public native TQValidator validator();
	public native void setListBox(TQListBox arg1);
	public native TQListBox listBox();
	public native void setLineEdit(TQLineEdit edit);
	public native TQLineEdit lineEdit();
	public native void setAutoCompletion(boolean arg1);
	public native boolean autoCompletion();
	public native boolean eventFilter(TQObject object, TQEvent event);
	public native void setDuplicatesEnabled(boolean enable);
	public native boolean duplicatesEnabled();
	public native boolean editable();
	public native void setEditable(boolean arg1);
	public native void popup();
	public native void hide();
	public native void clear();
	public native void clearValidator();
	public native void clearEdit();
	public native void setEditText(String arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
	protected native void keyPressEvent(TQKeyEvent e);
	protected native void focusInEvent(TQFocusEvent e);
	protected native void focusOutEvent(TQFocusEvent e);
	protected native void wheelEvent(TQWheelEvent e);
	public native void styleChange(TQStyle arg1);
	protected native void updateMask();
	/** 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();
}