summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QVariant.java
blob: 87e27b3a1ca07d6ad6ac0e8421e9101c622a3678 (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.kde.qt;

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

public class QVariant implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QVariant(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 QVariant() {
		newQVariant();
	}
	private native void newQVariant();
	public QVariant(QVariant arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QVariant arg1);
	public QVariant(QDataStream s) {
		newQVariant(s);
	}
	private native void newQVariant(QDataStream s);
	public QVariant(String arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(String arg1);
	public QVariant(String[] arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(String[] arg1);
	public QVariant(QFont arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QFont arg1);
	public QVariant(QPixmap arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QPixmap arg1);
	public QVariant(QImage arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QImage arg1);
	public QVariant(QBrush arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QBrush arg1);
	public QVariant(QPoint arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QPoint arg1);
	public QVariant(QRect arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QRect arg1);
	public QVariant(QSize arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QSize arg1);
	public QVariant(QColor arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QColor arg1);
	public QVariant(QPalette arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QPalette arg1);
	public QVariant(QColorGroup arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QColorGroup arg1);
	public QVariant(QIconSet arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QIconSet arg1);
	public QVariant(QPointArray arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QPointArray arg1);
	public QVariant(QRegion arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QRegion arg1);
	public QVariant(QBitmap arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QBitmap arg1);
	public QVariant(QCursor arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QCursor arg1);
	public QVariant(Calendar arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(Calendar arg1);
	public QVariant(Date arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(Date arg1);
	public QVariant(byte[] arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(byte[] arg1);
	// QVariant* QVariant(const QBitArray& arg1); >>>> NOT CONVERTED
	public QVariant(QKeySequence arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QKeySequence arg1);
	public QVariant(QPen arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QPen arg1);
	// QVariant* QVariant(const QValueList<QVariant>& arg1); >>>> NOT CONVERTED
	// QVariant* QVariant(const QMap<QString, QVariant>& arg1); >>>> NOT CONVERTED
	public QVariant(int arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(int arg1);
	public QVariant(long arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(long arg1);
	public QVariant(boolean arg1, int arg2) {
		newQVariant(arg1,arg2);
	}
	private native void newQVariant(boolean arg1, int arg2);
	public QVariant(double arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(double arg1);
	public QVariant(QSizePolicy arg1) {
		newQVariant(arg1);
	}
	private native void newQVariant(QSizePolicy arg1);
	public native boolean op_equals(QVariant arg1);
	public native boolean op_not_equals(QVariant 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 QFont toFont();
	public native QPixmap toPixmap();
	public native QImage toImage();
	public native QBrush toBrush();
	public native QPoint toPoint();
	public native QRect toRect();
	public native QSize toSize();
	public native QColor toColor();
	public native QPalette toPalette();
	public native QColorGroup toColorGroup();
	public native QIconSet toIconSet();
	public native QPointArray toPointArray();
	public native QBitmap toBitmap();
	public native QRegion toRegion();
	public native QCursor toCursor();
	public native Calendar toDate();
	public native Date toTime();
	public native Calendar toDateTime();
	public native byte[] toByteArray();
	// const QBitArray toBitArray(); >>>> NOT CONVERTED
	public native QKeySequence toKeySequence();
	public native QPen 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 QValueList<QVariant> toList(); >>>> NOT CONVERTED
	// const QMap<QString, QVariant> toMap(); >>>> NOT CONVERTED
	public native QSizePolicy toSizePolicy();
	// QValueListConstIterator<QString> stringListBegin(); >>>> NOT CONVERTED
	// QValueListConstIterator<QString> stringListEnd(); >>>> NOT CONVERTED
	// QValueListConstIterator<QVariant> listBegin(); >>>> NOT CONVERTED
	// QValueListConstIterator<QVariant> listEnd(); >>>> NOT CONVERTED
	// QMapConstIterator<QString, QVariant> mapBegin(); >>>> NOT CONVERTED
	// QMapConstIterator<QString, QVariant> mapEnd(); >>>> NOT CONVERTED
	// QMapConstIterator<QString, QVariant> mapFind(const QString& arg1); >>>> NOT CONVERTED
	public native String asString();
	public native String asCString();
	public native ArrayList asStringList();
	public native QFont asFont();
	public native QPixmap asPixmap();
	public native QImage asImage();
	public native QBrush asBrush();
	public native QPoint asPoint();
	public native QRect asRect();
	public native QSize asSize();
	public native QColor asColor();
	public native QPalette asPalette();
	public native QColorGroup asColorGroup();
	public native QIconSet asIconSet();
	public native QPointArray asPointArray();
	public native QBitmap asBitmap();
	public native QRegion asRegion();
	public native QCursor asCursor();
	public native Calendar asDate();
	public native Date asTime();
	public native Calendar asDateTime();
	public native byte[] asByteArray();
	// QBitArray& asBitArray(); >>>> NOT CONVERTED
	public native QKeySequence asKeySequence();
	public native QPen asPen();
	public native int asInt();
	public native int asUInt();
	// Q_LLONG& asLongLong(); >>>> NOT CONVERTED
	// Q_ULLONG& asULongLong(); >>>> NOT CONVERTED
	public native boolean asBool();
	public native double asDouble();
	// QValueList<QVariant>& asList(); >>>> NOT CONVERTED
	// QMap<QString, QVariant>& asMap(); >>>> NOT CONVERTED
	public native QSizePolicy asSizePolicy();
	public native void load(QDataStream arg1);
	public native void save(QDataStream arg1);
	// void* rawAccess(void* arg1,QVariant::Type arg2,bool arg3); >>>> NOT CONVERTED
	// void* rawAccess(void* arg1,QVariant::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();
}