summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQVariant.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/TQVariant.java')
-rw-r--r--qtjava/javalib/org/kde/qt/TQVariant.java276
1 files changed, 276 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/TQVariant.java b/qtjava/javalib/org/kde/qt/TQVariant.java
new file mode 100644
index 00000000..41a8ce67
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/TQVariant.java
@@ -0,0 +1,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 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, int arg2) {
+ newTQVariant(arg1,arg2);
+ }
+ private native void newTQVariant(boolean arg1, int arg2);
+ 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();
+ // Q_LLONG& asLongLong(); >>>> NOT CONVERTED
+ // Q_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();
+}