diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QVariant.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QVariant.java | 276 |
1 files changed, 276 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QVariant.java b/qtjava/javalib/org/kde/qt/QVariant.java new file mode 100644 index 00000000..87e27b3a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QVariant.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 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(); +} |