//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqstring.h>
#include <tqsqlfield.h>
#include <tqvariant.h>

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

class TQSqlFieldInfoJBridge : public TQSqlFieldInfo
{
public:
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8,bool arg9,bool arg10) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8,bool arg9) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4) : TQSqlFieldInfo(arg1,arg2,arg3,arg4) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3) : TQSqlFieldInfo(arg1,arg2,arg3) {};
	TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2) : TQSqlFieldInfo(arg1,arg2) {};
	TQSqlFieldInfoJBridge(const TQString& arg1) : TQSqlFieldInfo(arg1) {};
	TQSqlFieldInfoJBridge() : TQSqlFieldInfo() {};
	TQSqlFieldInfoJBridge(const TQSqlFieldInfo& arg1) : TQSqlFieldInfo(arg1) {};
	TQSqlFieldInfoJBridge(const TQSqlField& arg1,bool arg2) : TQSqlFieldInfo(arg1,arg2) {};
	TQSqlFieldInfoJBridge(const TQSqlField& arg1) : TQSqlFieldInfo(arg1) {};
	~TQSqlFieldInfoJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_defaultValue(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->defaultValue()), "org.trinitydesktop.qt.TQVariant", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QSqlFieldInfo_finalize(env, obj);
	return;
}

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

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

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

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_name(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->name();
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint typ)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint typ, jint required)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_trinitydesktop_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_trinitydesktop_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_trinitydesktop_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 TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_trinitydesktop_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 TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) 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_trinitydesktop_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_trinitydesktop_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QSqlFieldInfo_toField(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlField(((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->toField()), "org.trinitydesktop.qt.TQSqlField", true);
	return xret;
}

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

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

