summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java
blob: 45d092def854ca6c32b1c93d7df113ef3af219ec (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
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
273
274
275
276
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;

public class TQVariant implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQVariant(Class dummy){}

	public static final int Invalid = 0;
	public static final int Map = 1;
	public static final int List = 2;
	public static final int String = 3;
	public static final int StringList = 4;
	public static final int Font = 5;
	public static final int Pixmap = 6;
	public static final int Brush = 7;
	public static final int Rect = 8;
	public static final int Size = 9;
	public static final int Color = 10;
	public static final int Palette = 11;
	public static final int ColorGroup = 12;
	public static final int IconSet = 13;
	public static final int Point = 14;
	public static final int Image = 15;
	public static final int Int = 16;
	public static final int UInt = 17;
	public static final int Bool = 18;
	public static final int Double = 19;
	public static final int CString = 20;
	public static final int PointArray = 21;
	public static final int Region = 22;
	public static final int Bitmap = 23;
	public static final int Cursor = 24;
	public static final int SizePolicy = 25;
	public static final int Date = 26;
	public static final int Time = 27;
	public static final int DateTime = 28;
	public static final int ByteArray = 29;
	public static final int BitArray = 30;
	public static final int KeySequence = 31;
	public static final int Pen = 32;
	public static final int LongLong = 33;
	public static final int ULongLong = 34;

	public TQVariant() {
		newTQVariant();
	}
	private native void newTQVariant();
	public TQVariant(TQVariant arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQVariant arg1);
	public TQVariant(TQDataStream s) {
		newTQVariant(s);
	}
	private native void newTQVariant(TQDataStream s);
	public TQVariant(String arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(String arg1);
	public TQVariant(String[] arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(String[] arg1);
	public TQVariant(TQFont arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQFont arg1);
	public TQVariant(TQPixmap arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQPixmap arg1);
	public TQVariant(TQImage arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQImage arg1);
	public TQVariant(TQBrush arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQBrush arg1);
	public TQVariant(TQPoint arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQPoint arg1);
	public TQVariant(TQRect arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQRect arg1);
	public TQVariant(TQSize arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQSize arg1);
	public TQVariant(TQColor arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQColor arg1);
	public TQVariant(TQPalette arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQPalette arg1);
	public TQVariant(TQColorGroup arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQColorGroup arg1);
	public TQVariant(TQIconSet arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQIconSet arg1);
	public TQVariant(TQPointArray arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQPointArray arg1);
	public TQVariant(TQRegion arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQRegion arg1);
	public TQVariant(TQBitmap arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQBitmap arg1);
	public TQVariant(TQCursor arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQCursor arg1);
	public TQVariant(Calendar arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(Calendar arg1);
	public TQVariant(Date arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(Date arg1);
	public TQVariant(byte[] arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(byte[] arg1);
	// TQVariant* TQVariant(const TQBitArray& arg1); >>>> NOT CONVERTED
	public TQVariant(TQKeySequence arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQKeySequence arg1);
	public TQVariant(TQPen arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQPen arg1);
	// TQVariant* TQVariant(const TQValueList<TQVariant>& arg1); >>>> NOT CONVERTED
	// TQVariant* TQVariant(const TQMap<TQString, TQVariant>& arg1); >>>> NOT CONVERTED
	public TQVariant(int arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(int arg1);
	public TQVariant(long arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(long arg1);
	public TQVariant(boolean arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(boolean arg1);
	public TQVariant(double arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(double arg1);
	public TQVariant(TQSizePolicy arg1) {
		newTQVariant(arg1);
	}
	private native void newTQVariant(TQSizePolicy arg1);
	public native boolean op_equals(TQVariant arg1);
	public native boolean op_not_equals(TQVariant arg1);
	public native int type();
	public native String typeName();
	public native boolean canCast(int arg1);
	public native boolean cast(int arg1);
	public native boolean isValid();
	public native boolean isNull();
	public native void clear();
	public native String toString();
	public native String toCString();
	public native ArrayList toStringList();
	public native TQFont toFont();
	public native TQPixmap toPixmap();
	public native TQImage toImage();
	public native TQBrush toBrush();
	public native TQPoint toPoint();
	public native TQRect toRect();
	public native TQSize toSize();
	public native TQColor toColor();
	public native TQPalette toPalette();
	public native TQColorGroup toColorGroup();
	public native TQIconSet toIconSet();
	public native TQPointArray toPointArray();
	public native TQBitmap toBitmap();
	public native TQRegion toRegion();
	public native TQCursor toCursor();
	public native Calendar toDate();
	public native Date toTime();
	public native Calendar toDateTime();
	public native byte[] toByteArray();
	// const TQBitArray toBitArray(); >>>> NOT CONVERTED
	public native TQKeySequence toKeySequence();
	public native TQPen toPen();
	public native int toInt(boolean[] ok);
	public native int toInt();
	public native int toUInt(boolean[] ok);
	public native int toUInt();
	public native long toLongLong(boolean[] ok);
	public native long toLongLong();
	public native long toULongLong(boolean[] ok);
	public native long toULongLong();
	public native boolean toBool();
	public native double toDouble(boolean[] ok);
	public native double toDouble();
	// const TQValueList<TQVariant> toList(); >>>> NOT CONVERTED
	// const TQMap<TQString, TQVariant> toMap(); >>>> NOT CONVERTED
	public native TQSizePolicy toSizePolicy();
	// TQValueListConstIterator<TQString> stringListBegin(); >>>> NOT CONVERTED
	// TQValueListConstIterator<TQString> stringListEnd(); >>>> NOT CONVERTED
	// TQValueListConstIterator<TQVariant> listBegin(); >>>> NOT CONVERTED
	// TQValueListConstIterator<TQVariant> listEnd(); >>>> NOT CONVERTED
	// TQMapConstIterator<TQString, TQVariant> mapBegin(); >>>> NOT CONVERTED
	// TQMapConstIterator<TQString, TQVariant> mapEnd(); >>>> NOT CONVERTED
	// TQMapConstIterator<TQString, TQVariant> mapFind(const TQString& arg1); >>>> NOT CONVERTED
	public native String asString();
	public native String asCString();
	public native ArrayList asStringList();
	public native TQFont asFont();
	public native TQPixmap asPixmap();
	public native TQImage asImage();
	public native TQBrush asBrush();
	public native TQPoint asPoint();
	public native TQRect asRect();
	public native TQSize asSize();
	public native TQColor asColor();
	public native TQPalette asPalette();
	public native TQColorGroup asColorGroup();
	public native TQIconSet asIconSet();
	public native TQPointArray asPointArray();
	public native TQBitmap asBitmap();
	public native TQRegion asRegion();
	public native TQCursor asCursor();
	public native Calendar asDate();
	public native Date asTime();
	public native Calendar asDateTime();
	public native byte[] asByteArray();
	// TQBitArray& asBitArray(); >>>> NOT CONVERTED
	public native TQKeySequence asKeySequence();
	public native TQPen asPen();
	public native int asInt();
	public native int asUInt();
	// TQ_LLONG& asLongLong(); >>>> NOT CONVERTED
	// TQ_ULLONG& asULongLong(); >>>> NOT CONVERTED
	public native boolean asBool();
	public native double asDouble();
	// TQValueList<TQVariant>& asList(); >>>> NOT CONVERTED
	// TQMap<TQString, TQVariant>& asMap(); >>>> NOT CONVERTED
	public native TQSizePolicy asSizePolicy();
	public native void load(TQDataStream arg1);
	public native void save(TQDataStream arg1);
	// void* rawAccess(void* arg1,TQVariant::Type arg2,bool arg3); >>>> NOT CONVERTED
	// void* rawAccess(void* arg1,TQVariant::Type arg2); >>>> NOT CONVERTED
	// void* rawAccess(void* arg1); >>>> NOT CONVERTED
	// void* rawAccess(); >>>> NOT CONVERTED
	public static native String typeToName(int typ);
	public static native int nameToType(String name);
	/** 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();
}