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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
import java.util.ArrayList;
/**
See {@link TQObjectSignals} for signals emitted by TQObject
*/
public class TQObject extends Qt {
protected TQObject(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public TQObject(TQObject parent, String name) {
super((Class) null);
newTQObject(parent,name);
}
private native void newTQObject(TQObject parent, String name);
public TQObject(TQObject parent) {
super((Class) null);
newTQObject(parent);
}
private native void newTQObject(TQObject parent);
public TQObject() {
super((Class) null);
newTQObject();
}
private native void newTQObject();
public native boolean event(TQEvent arg1);
public native boolean eventFilter(TQObject arg1, TQEvent arg2);
public native boolean isA(String arg1);
public native boolean inherits(String arg1);
public native String name();
public native String name(String defaultName);
public native void setName(String name);
public native boolean isWidgetType();
public native boolean highPriority();
public native boolean signalsBlocked();
public native void blockSignals(boolean b);
public native int startTimer(int interval);
public native void killTimer(int id);
public native void killTimers();
public native TQObject child(String objName, String inheritsClass, boolean recursiveSearch);
public native TQObject child(String objName, String inheritsClass);
public native TQObject child(String objName);
public native ArrayList children();
public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch, boolean recursiveSearch);
public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch);
public native ArrayList queryList(String inheritsClass, String objName);
public native ArrayList queryList(String inheritsClass);
public native ArrayList queryList();
public native void insertChild(TQObject arg1);
public native void removeChild(TQObject arg1);
public native void installEventFilter(TQObject arg1);
public native void removeEventFilter(TQObject arg1);
public native boolean connect(TQObject sender, String signal, String member);
public native boolean disconnect(String signal, TQObject receiver, String member);
public native boolean disconnect(String signal, TQObject receiver);
public native boolean disconnect(String signal);
public native boolean disconnect();
public native boolean disconnect(TQObject receiver, String member);
public native boolean disconnect(TQObject receiver);
public native void dumpObjectTree();
public native void dumpObjectInfo();
public native boolean setProperty(String name, TQVariant value);
public native TQVariant property(String name);
// void setUserData(uint arg1,TQObjectUserData* arg2); >>>> NOT CONVERTED
// TQObjectUserData* userData(uint arg1); >>>> NOT CONVERTED
public native TQObject parent();
public native void deleteLater();
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
public static native ArrayList objectTrees();
public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member);
public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member);
public static native void connectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index);
public static native boolean disconnectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index);
public static native int registerUserData();
protected native boolean activate_filters(TQEvent arg1);
// TQConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED
// TQConnectionList* receivers(int arg1); >>>> NOT CONVERTED
protected native void activate_signal(int signal);
protected native void activate_signal(int signal, int arg2);
protected native void activate_signal(int signal, double arg2);
protected native void activate_signal(int signal, String arg2);
protected native void activate_signal_bool(int signal, boolean arg2);
// void activate_signal(TQConnectionList* arg1,TQUObject* arg2); >>>> NOT CONVERTED
protected native TQObject sender();
protected native void timerEvent(TQTimerEvent arg1);
protected native void childEvent(TQChildEvent arg1);
protected native void customEvent(TQCustomEvent arg1);
protected native void connectNotify(String signal);
protected native void disconnectNotify(String signal);
protected native boolean checkConnectArgs(String signal, TQObject receiver, String member);
protected static native String normalizeSignalSlot(String signalSlot);
/** 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();
/** i18n() is just a synonym of tr() for now */
public static String i18n(String s) {
return tr(s);
}
public native void emit(String signal, Object[] args);
protected void emit(String signal) {
Object[] args = new Object[0];
emit("2" + signal.trim() + "()", args);
}
protected void emit(String signal, Object value) {
Object[] args = new Object[1];
args[0] = value;
emit("2" + signal.trim() + "(" + value.getClass().getName() + ")", args);
}
protected void emit(String signal, Object value1, Object value2) {
Object[] args = new Object[2];
args[0] = value1;
args[1] = value2;
emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ value2.getClass().getName()
+ ")", args);
}
protected void emit(String signal, Object value1, Object value2, Object value3) {
Object[] args = new Object[3];
args[0] = value1;
args[1] = value2;
args[2] = value3;
emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ value2.getClass().getName() + ","
+ value3.getClass().getName()
+ ")", args);
}
protected void emit(String signal, Object value1, Object value2, Object value3, Object value4) {
Object[] args = new Object[4];
args[0] = value1;
args[1] = value2;
args[2] = value3;
args[3] = value4;
emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ value2.getClass().getName() + ","
+ value3.getClass().getName() + ","
+ value4.getClass().getName()
+ ")", args);
}
protected void emit(String signal, boolean value) {
Object[] args = new Object[1];
args[0] = new Boolean(value);
emit("2" + signal.trim() + "(boolean)", args);
}
protected void emit(String signal, char value) {
Object[] args = new Object[1];
args[0] = new Character(value);
emit("2" + signal.trim() + "(char)", args);
}
protected void emit(String signal, byte value) {
Object[] args = new Object[1];
args[0] = new Byte(value);
emit("2" + signal.trim() + "(byte)", args);
}
protected void emit(String signal, short value) {
Object[] args = new Object[1];
args[0] = new Short(value);
emit("2" + signal.trim() + "(short)", args);
}
protected void emit(String signal, int value) {
Object[] args = new Object[1];
args[0] = new Integer(value);
emit("2" + signal.trim() + "(int)", args);
}
protected void emit(String signal, int value1, int value2) {
Object[] args = new Object[2];
args[0] = new Integer(value1);
args[1] = new Integer(value2);
emit("2" + signal.trim() + "(int,int)", args);
}
protected void emit(String signal, Object value1, int value2) {
Object[] args = new Object[2];
args[0] = value1;
args[1] = new Integer(value2);
emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ "int"
+ ")", args);
}
protected void emit(String signal, int value1, int value2, int value3) {
Object[] args = new Object[3];
args[0] = new Integer(value1);
args[1] = new Integer(value2);
args[2] = new Integer(value3);
emit("2" + signal.trim() + "(int,int,int)", args);
}
protected void emit(String signal, int value1, int value2, int value3, Object value4) {
Object[] args = new Object[4];
args[0] = new Integer(value1);
args[1] = new Integer(value2);
args[2] = new Integer(value3);
args[3] = value4;
emit("2" + signal.trim() + "(int,int,int," + value4.getClass().getName() + ")", args);
}
protected void emit(String signal, int value1, Object value2, Object value3) {
Object[] args = new Object[3];
args[0] = new Integer(value1);
args[1] = value2;
args[2] = value3;
emit("2" + signal.trim() + "(int,"
+ value2.getClass().getName() + ","
+ value3.getClass().getName()
+ ")", args);
}
protected void emit(String signal, int value1, Object value2, Object value3, int value4) {
Object[] args = new Object[4];
args[0] = new Integer(value1);
args[1] = value2;
args[2] = value3;
args[3] = new Integer(value4);
emit("2" + signal.trim() + "(int,"
+ value2.getClass().getName() + ","
+ value3.getClass().getName()
+ ",int)", args);
}
protected void emit(String signal, int value1, boolean value2) {
Object[] args = new Object[2];
args[0] = new Integer(value1);
args[1] = new Boolean(value2);
emit("2" + signal.trim() + "(int,boolean)", args);
}
protected void emit(String signal, long value) {
Object[] args = new Object[1];
args[0] = new Long(value);
emit("2" + signal.trim() + "(long)", args);
}
protected void emit(String signal, float value) {
Object[] args = new Object[1];
args[0] = new Float(value);
emit("2" + signal.trim() + "(float)", args);
}
protected void emit(String signal, double value) {
Object[] args = new Object[1];
args[0] = new Double(value);
emit("2" + signal.trim() + "(double)", args);
}
protected void emit(String signal, Object value1, int value2, int value3) {
Object[] args = new Object[3];
args[0] = value1;
args[1] = new Integer(value2);
args[2] = new Integer(value3);
emit("2" + signal.trim() + "(" + value1.getClass().getName() + ",int,int)", args);
}
}
|