//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <qsqlfield.h>
#include <qvariant.h>

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

class QSqlFieldInfoJBridge : public QSqlFieldInfo
{
public:
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3,int arg4,int arg5,const QVariant& arg6,int arg7,bool arg8,bool arg9,bool arg10) : QSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3,int arg4,int arg5,const QVariant& arg6,int arg7,bool arg8,bool arg9) : QSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3,int arg4,int arg5,const QVariant& arg6,int arg7,bool arg8) : QSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3,int arg4,int arg5,const QVariant& arg6,int arg7) : QSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3,int arg4,int arg5,const QVariant& arg6) : QSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3,int arg4,int arg5) : QSqlFieldInfo(arg1,arg2,arg3,arg4,arg5) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3,int arg4) : QSqlFieldInfo(arg1,arg2,arg3,arg4) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2,int arg3) : QSqlFieldInfo(arg1,arg2,arg3) {};
	QSqlFieldInfoJBridge(const QString& arg1,QVariant::Type arg2) : QSqlFieldInfo(arg1,arg2) {};
	QSqlFieldInfoJBridge(const QString& arg1) : QSqlFieldInfo(arg1) {};
	QSqlFieldInfoJBridge() : QSqlFieldInfo() {};
	QSqlFieldInfoJBridge(const QSqlFieldInfo& arg1) : QSqlFieldInfo(arg1) {};
	QSqlFieldInfoJBridge(const QSqlField& arg1,bool arg2) : QSqlFieldInfo(arg1,arg2) {};
	QSqlFieldInfoJBridge(const QSqlField& arg1) : QSqlFieldInfo(arg1) {};
	~QSqlFieldInfoJBridge() {QtSupport::qtKeyDeleted(this);}
};

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QSqlFieldInfo_finalize(env, obj);
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlFieldInfo_isCalculated(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlFieldInfo*) QtSupport::getQt(env, obj))->isCalculated();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlFieldInfo_isGenerated(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlFieldInfo*) QtSupport::getQt(env, obj))->isGenerated();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlFieldInfo_isRequired(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlFieldInfo*) QtSupport::getQt(env, obj))->isRequired();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlFieldInfo_isTrim(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlFieldInfo*) QtSupport::getQt(env, obj))->isTrim();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlFieldInfo_length(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlFieldInfo*) QtSupport::getQt(env, obj))->length();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint typ)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint typ, jint required)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required, (int) len));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required, (int) len, (int) prec));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required, (int) len, (int) prec, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, defValue)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required, (int) len, (int) prec, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, defValue), (int) sqlType));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required, (int) len, (int) prec, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required, (int) len, (int) prec, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim, jboolean calculated)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QVariant::Type) typ, (int) required, (int) len, (int) prec, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim, (bool) calculated));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QSqlFieldInfo&)*(const QSqlFieldInfo*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QSqlField&)*(const QSqlField*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject other, jboolean generated)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const QSqlField&)*(const QSqlField*) QtSupport::getQt(env, other), (bool) generated));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlFieldInfo_precision(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlFieldInfo*) QtSupport::getQt(env, obj))->precision();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_setCalculated(JNIEnv* env, jobject obj, jboolean calc)
{
	((QSqlFieldInfo*) QtSupport::getQt(env, obj))->setCalculated((bool) calc);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_setGenerated(JNIEnv* env, jobject obj, jboolean gen)
{
	((QSqlFieldInfo*) QtSupport::getQt(env, obj))->setGenerated((bool) gen);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_setTrim(JNIEnv* env, jobject obj, jboolean trim)
{
	((QSqlFieldInfo*) QtSupport::getQt(env, obj))->setTrim((bool) trim);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlFieldInfo_toField(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlField(((QSqlFieldInfo*) QtSupport::getQt(env, obj))->toField()), "org.kde.qt.QSqlField", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlFieldInfo_typeID(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlFieldInfo*) QtSupport::getQt(env, obj))->typeID();
	return xret;
}

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

