//Auto-generated by kalyptus. DO NOT EDIT.
#include <qsizepolicy.h>
#include <qdatetime.h>
#include <qglobal.h>
#include <qrect.h>
#include <qdatastream.h>
#include <qstring.h>
#include <qpoint.h>
#include <qstringlist.h>
#include <qpalette.h>
#include <qsize.h>
#include <qbrush.h>
#include <qregion.h>
#include <qcursor.h>
#include <qbitmap.h>
#include <qpixmap.h>
#include <qfont.h>
#include <qimage.h>
#include <qiconset.h>
#include <qkeysequence.h>
#include <qvariant.h>
#include <qpointarray.h>
#include <qbitarray.h>
#include <qpen.h>
#include <qcolor.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <qtjava/QVariant.h>

class QVariantJBridge : public QVariant
{
public:
	QVariantJBridge() : QVariant() {};
	QVariantJBridge(const QVariant& arg1) : QVariant(arg1) {};
	QVariantJBridge(QDataStream& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QString& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QStringList& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QFont& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QPixmap& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QImage& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QBrush& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QPoint& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QRect& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QSize& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QColor& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QPalette& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QColorGroup& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QIconSet& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QPointArray& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QRegion& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QBitmap& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QCursor& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QDate& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QTime& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QByteArray& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QKeySequence& arg1) : QVariant(arg1) {};
	QVariantJBridge(const QPen& arg1) : QVariant(arg1) {};
	QVariantJBridge(int arg1) : QVariant(arg1) {};
	QVariantJBridge(Q_LLONG arg1) : QVariant(arg1) {};
	QVariantJBridge(bool arg1,int arg2) : QVariant(arg1,arg2) {};
	QVariantJBridge(double arg1) : QVariant(arg1) {};
	QVariantJBridge(QSizePolicy arg1) : QVariant(arg1) {};
	~QVariantJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asBitmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QBitmap *) &((QVariant*) QtSupport::getQt(env, obj))->asBitmap(), "org.kde.qt.QBitmap");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_asBool(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->asBool();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asBrush(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QBrush *) &((QVariant*) QtSupport::getQt(env, obj))->asBrush(), "org.kde.qt.QBrush");
	return xret;
}

JNIEXPORT jbyteArray JNICALL
Java_org_kde_qt_QVariant_asByteArray(JNIEnv* env, jobject obj)
{
	QByteArray _qbyteArray;
	_qbyteArray = ((QVariant*) QtSupport::getQt(env, obj))->asByteArray();
	return QtSupport::fromQByteArray(env, &_qbyteArray);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_asCString(JNIEnv* env, jobject obj)
{
	QCString  _qstring;
	_qstring = ((QVariant*) QtSupport::getQt(env, obj))->asCString();
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asColorGroup(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColorGroup *) &((QVariant*) QtSupport::getQt(env, obj))->asColorGroup(), "org.kde.qt.QColorGroup");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QVariant*) QtSupport::getQt(env, obj))->asColor(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asCursor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QCursor *) &((QVariant*) QtSupport::getQt(env, obj))->asCursor(), "org.kde.qt.QCursor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asDateTime(JNIEnv* env, jobject obj)
{
	QDateTime  _qdate;
	_qdate = ((QVariant*) QtSupport::getQt(env, obj))->asDateTime();
	return (jobject) QtSupport::fromQDateTime(env, (QDateTime*) &_qdate);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asDate(JNIEnv* env, jobject obj)
{
	QDate  _qdate;
	_qdate = ((QVariant*) QtSupport::getQt(env, obj))->asDate();
	return (jobject) QtSupport::fromQDate(env, (QDate*) &_qdate);
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QVariant_asDouble(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((QVariant*) QtSupport::getQt(env, obj))->asDouble();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asFont(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QFont *) &((QVariant*) QtSupport::getQt(env, obj))->asFont(), "org.kde.qt.QFont");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asIconSet(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QIconSet *) &((QVariant*) QtSupport::getQt(env, obj))->asIconSet(), "org.kde.qt.QIconSet");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asImage(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &((QVariant*) QtSupport::getQt(env, obj))->asImage(), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_asInt(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QVariant*) QtSupport::getQt(env, obj))->asInt();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asKeySequence(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QKeySequence *) &((QVariant*) QtSupport::getQt(env, obj))->asKeySequence(), "org.kde.qt.QKeySequence");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPalette(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPalette *) &((QVariant*) QtSupport::getQt(env, obj))->asPalette(), "org.kde.qt.QPalette");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPen(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPen *) &((QVariant*) QtSupport::getQt(env, obj))->asPen(), "org.kde.qt.QPen");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPixmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPixmap *) &((QVariant*) QtSupport::getQt(env, obj))->asPixmap(), "org.kde.qt.QPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPointArray(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPointArray *) &((QVariant*) QtSupport::getQt(env, obj))->asPointArray(), "org.kde.qt.QPointArray");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPoint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPoint *) &((QVariant*) QtSupport::getQt(env, obj))->asPoint(), "org.kde.qt.QPoint");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QRect *) &((QVariant*) QtSupport::getQt(env, obj))->asRect(), "org.kde.qt.QRect");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asRegion(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QRegion *) &((QVariant*) QtSupport::getQt(env, obj))->asRegion(), "org.kde.qt.QRegion");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asSizePolicy(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QSizePolicy *) &((QVariant*) QtSupport::getQt(env, obj))->asSizePolicy(), "org.kde.qt.QSizePolicy");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QSize *) &((QVariant*) QtSupport::getQt(env, obj))->asSize(), "org.kde.qt.QSize");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asStringList(JNIEnv* env, jobject obj)
{
	QStringList  _qlist;
	_qlist = ((QVariant*) QtSupport::getQt(env, obj))->asStringList();
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_asString(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QVariant*) QtSupport::getQt(env, obj))->asString();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asTime(JNIEnv* env, jobject obj)
{
	QTime  _qtime;
	_qtime = ((QVariant*) QtSupport::getQt(env, obj))->asTime();
	return (jobject) QtSupport::fromQTime(env, (QTime*) &_qtime);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_asUInt(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QVariant*) QtSupport::getQt(env, obj))->asUInt();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_canCast(JNIEnv* env, jobject obj, jint arg1)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->canCast((QVariant::Type) arg1);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_cast(JNIEnv* env, jobject obj, jint arg1)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->cast((QVariant::Type) arg1);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_clear(JNIEnv* env, jobject obj)
{
	((QVariant*) QtSupport::getQt(env, obj))->clear();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QVariant_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QVariant*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_isNull(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->isNull();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_isValid(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->isValid();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_load(JNIEnv* env, jobject obj, jobject arg1)
{
	((QVariant*) QtSupport::getQt(env, obj))->load((QDataStream&)*(QDataStream*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_nameToType(JNIEnv* env, jclass cls, jstring name)
{
	(void) cls;
static QCString* _qstring_name = 0;
	jint xret = (jint) QVariantJBridge::nameToType((const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__D(JNIEnv* env, jobject obj, jdouble arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((double) arg1));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__I(JNIEnv* env, jobject obj, jint arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((int) arg1));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__J(JNIEnv* env, jobject obj, jlong arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((Q_LLONG) arg1));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1)
{
static QDate* _qdate_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QDate&)*(QDate*) QtSupport::toQDate(env, arg1, &_qdate_arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1)
{
static QTime* _qtime_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QTime&)*(QTime*) QtSupport::toQTime(env, arg1, &_qtime_arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QBitmap&)*(const QBitmap*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QBrush&)*(const QBrush*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QColor&)*(const QColor*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QCursor&)*(const QCursor*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((QDataStream&)*(QDataStream*) QtSupport::getQt(env, s)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QFont&)*(const QFont*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QPalette&)*(const QPalette*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QPen&)*(const QPen*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QPointArray&)*(const QPointArray*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QPoint&)*(const QPoint*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QRect&)*(const QRect*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QRegion&)*(const QRegion*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((QSizePolicy)*(QSizePolicy*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QVariant&)*(const QVariant*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((bool) arg1, (int) arg2));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1)
{
static QByteArray* _qbyteArray_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1)
{
static QStringList* _qlist_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QVariantJBridge((const QStringList&)*(QStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_op_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->operator==((const QVariant&)*(const QVariant*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->operator!=((const QVariant&)*(const QVariant*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_save(JNIEnv* env, jobject obj, jobject arg1)
{
	((QVariant*) QtSupport::getQt(env, obj))->save((QDataStream&)*(QDataStream*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toBitmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QBitmap(((QVariant*) QtSupport::getQt(env, obj))->toBitmap()), "org.kde.qt.QBitmap", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_toBool(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QVariant*) QtSupport::getQt(env, obj))->toBool();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toBrush(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QBrush(((QVariant*) QtSupport::getQt(env, obj))->toBrush()), "org.kde.qt.QBrush", TRUE);
	return xret;
}

JNIEXPORT jbyteArray JNICALL
Java_org_kde_qt_QVariant_toByteArray(JNIEnv* env, jobject obj)
{
	QByteArray _qbyteArray;
	_qbyteArray = ((QVariant*) QtSupport::getQt(env, obj))->toByteArray();
	return QtSupport::fromQByteArray(env, &_qbyteArray);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_toCString(JNIEnv* env, jobject obj)
{
	QCString  _qstring;
	_qstring = ((QVariant*) QtSupport::getQt(env, obj))->toCString();
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toColorGroup(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QColorGroup(((QVariant*) QtSupport::getQt(env, obj))->toColorGroup()), "org.kde.qt.QColorGroup", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QColor(((QVariant*) QtSupport::getQt(env, obj))->toColor()), "org.kde.qt.QColor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toCursor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(((QVariant*) QtSupport::getQt(env, obj))->toCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toDateTime(JNIEnv* env, jobject obj)
{
	QDateTime  _qdate;
	_qdate = ((QVariant*) QtSupport::getQt(env, obj))->toDateTime();
	return (jobject) QtSupport::fromQDateTime(env, (QDateTime*) &_qdate);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toDate(JNIEnv* env, jobject obj)
{
	QDate  _qdate;
	_qdate = ((QVariant*) QtSupport::getQt(env, obj))->toDate();
	return (jobject) QtSupport::fromQDate(env, (QDate*) &_qdate);
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QVariant_toDouble__(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((QVariant*) QtSupport::getQt(env, obj))->toDouble();
	return xret;
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QVariant_toDouble___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
	bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
	jdouble xret = (jdouble) ((QVariant*) QtSupport::getQt(env, obj))->toDouble( (bool*) _bool_ok);
	env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toFont(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QFont(((QVariant*) QtSupport::getQt(env, obj))->toFont()), "org.kde.qt.QFont", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toIconSet(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QIconSet(((QVariant*) QtSupport::getQt(env, obj))->toIconSet()), "org.kde.qt.QIconSet", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toImage(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QVariant*) QtSupport::getQt(env, obj))->toImage()), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toInt__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QVariant*) QtSupport::getQt(env, obj))->toInt();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
	bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
	jint xret = (jint) ((QVariant*) QtSupport::getQt(env, obj))->toInt( (bool*) _bool_ok);
	env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toKeySequence(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QKeySequence(((QVariant*) QtSupport::getQt(env, obj))->toKeySequence()), "org.kde.qt.QKeySequence", TRUE);
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toLongLong__(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((QVariant*) QtSupport::getQt(env, obj))->toLongLong();
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toLongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
	bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
	jlong xret = (jlong) ((QVariant*) QtSupport::getQt(env, obj))->toLongLong( (bool*) _bool_ok);
	env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPalette(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPalette(((QVariant*) QtSupport::getQt(env, obj))->toPalette()), "org.kde.qt.QPalette", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPen(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPen(((QVariant*) QtSupport::getQt(env, obj))->toPen()), "org.kde.qt.QPen", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPixmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QVariant*) QtSupport::getQt(env, obj))->toPixmap()), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPointArray(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPointArray(((QVariant*) QtSupport::getQt(env, obj))->toPointArray()), "org.kde.qt.QPointArray", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPoint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPoint(((QVariant*) QtSupport::getQt(env, obj))->toPoint()), "org.kde.qt.QPoint", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QVariant*) QtSupport::getQt(env, obj))->toRect()), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toRegion(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRegion(((QVariant*) QtSupport::getQt(env, obj))->toRegion()), "org.kde.qt.QRegion", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toSizePolicy(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSizePolicy(((QVariant*) QtSupport::getQt(env, obj))->toSizePolicy()), "org.kde.qt.QSizePolicy", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QVariant*) QtSupport::getQt(env, obj))->toSize()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toStringList(JNIEnv* env, jobject obj)
{
	QStringList  _qlist;
	_qlist = ((QVariant*) QtSupport::getQt(env, obj))->toStringList();
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_toString(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QVariant*) QtSupport::getQt(env, obj))->toString();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toTime(JNIEnv* env, jobject obj)
{
	QTime  _qtime;
	_qtime = ((QVariant*) QtSupport::getQt(env, obj))->toTime();
	return (jobject) QtSupport::fromQTime(env, (QTime*) &_qtime);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toUInt__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QVariant*) QtSupport::getQt(env, obj))->toUInt();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toUInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
	bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
	jint xret = (jint) ((QVariant*) QtSupport::getQt(env, obj))->toUInt( (bool*) _bool_ok);
	env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toULongLong__(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((QVariant*) QtSupport::getQt(env, obj))->toULongLong();
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toULongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
	bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
	jlong xret = (jlong) ((QVariant*) QtSupport::getQt(env, obj))->toULongLong( (bool*) _bool_ok);
	env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_typeName(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((QVariant*) QtSupport::getQt(env, obj))->typeName();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_typeToName(JNIEnv* env, jclass cls, jint typ)
{
	const char* _qstring;
	(void) cls;
	_qstring = QVariantJBridge::typeToName((QVariant::Type) typ);
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_type(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QVariant*) QtSupport::getQt(env, obj))->type();
	return xret;
}

