//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <qsqlindex.h>
#include <qstringlist.h>
#include <qsqlcursor.h>
#include <qsqlerror.h>
#include <qsql.h>
#include <qsqlfield.h>
#include <qvariant.h>
#include <qsqlquery.h>

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

class QSqlCursorJBridge : public QSqlCursor
{
public:
	QSqlCursorJBridge(const QString& arg1,bool arg2,QSqlDatabase* arg3) : QSqlCursor(arg1,arg2,arg3) {};
	QSqlCursorJBridge(const QString& arg1,bool arg2) : QSqlCursor(arg1,arg2) {};
	QSqlCursorJBridge(const QString& arg1) : QSqlCursor(arg1) {};
	QSqlCursorJBridge() : QSqlCursor() {};
	QSqlCursorJBridge(const QSqlCursor& arg1) : QSqlCursor(arg1) {};
	void protected_afterSeek() {
		QSqlCursor::afterSeek();
		return;
	}
	bool protected_exec(const QString& arg1) {
		return (bool) QSqlCursor::exec(arg1);
	}
	QVariant protected_calculateField(const QString& arg1) {
		return (QVariant) QSqlCursor::calculateField(arg1);
	}
	int protected_update(const QString& arg1,bool arg2) {
		return (int) QSqlCursor::update(arg1,arg2);
	}
	int protected_update(const QString& arg1) {
		return (int) QSqlCursor::update(arg1);
	}
	int protected_del(const QString& arg1,bool arg2) {
		return (int) QSqlCursor::del(arg1,arg2);
	}
	int protected_del(const QString& arg1) {
		return (int) QSqlCursor::del(arg1);
	}
	QString protected_toString(const QString& arg1,QSqlField* arg2,const QString& arg3) {
		return (QString) QSqlCursor::toString(arg1,arg2,arg3);
	}
	QString protected_toString(QSqlRecord* arg1,const QString& arg2,const QString& arg3,const QString& arg4) {
		return (QString) QSqlCursor::toString(arg1,arg2,arg3,arg4);
	}
	QString protected_toString(const QSqlIndex& arg1,QSqlRecord* arg2,const QString& arg3,const QString& arg4,const QString& arg5) {
		return (QString) QSqlCursor::toString(arg1,arg2,arg3,arg4,arg5);
	}
	~QSqlCursorJBridge() {QtSupport::qtKeyDeleted(this);}
	void protected_beforeSeek() {
		QSqlQuery::beforeSeek();
		return;
	}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject val)
{
	((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const QVariant&)*(const QVariant*) QtSupport::getQt(env, val));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jobject val, jint type)
{
	((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const QVariant&)*(const QVariant*) QtSupport::getQt(env, val), (QSql::ParameterType) type);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_afterSeek(JNIEnv* env, jobject obj)
{
	((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_append(JNIEnv* env, jobject obj, jobject fieldInfo)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->append((const QSqlFieldInfo&)*(const QSqlFieldInfo*) QtSupport::getQt(env, fieldInfo));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_at(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->at();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_beforeSeek(JNIEnv* env, jobject obj)
{
	((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint pos, jobject val)
{
	((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jint pos, jobject val, jint type)
{
	((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val), (QSql::ParameterType) type);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring placeholder, jobject val)
{
static QString* _qstring_placeholder = 0;
	((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const QString&)*(QString*) QtSupport::toQString(env, placeholder, &_qstring_placeholder), (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring placeholder, jobject val, jint type)
{
static QString* _qstring_placeholder = 0;
	((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const QString&)*(QString*) QtSupport::toQString(env, placeholder, &_qstring_placeholder), (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val), (QSql::ParameterType) type);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_boundValue__I(JNIEnv* env, jobject obj, jint pos)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QVariant(((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.QVariant", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_boundValue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring placeholder)
{
static QString* _qstring_placeholder = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QVariant(((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->boundValue((const QString&)*(QString*) QtSupport::toQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.QVariant", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_calculateField(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QVariant(((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_calculateField((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QVariant", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_canDelete(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->canDelete();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_canInsert(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->canInsert();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_canUpdate(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->canUpdate();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_del__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlCursor*) QtSupport::getQt(env, obj))->del();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter)
{
static QString* _qstring_filter = 0;
	jint xret = (jint) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filter, jboolean invalidate)
{
static QString* _qstring_filter = 0;
	jint xret = (jint) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (bool) invalidate);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_del__Z(JNIEnv* env, jobject obj, jboolean invalidate)
{
	jint xret = (jint) ((QSqlCursor*) QtSupport::getQt(env, obj))->del((bool) invalidate);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QSqlCursor_finalize(env, obj);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_driver(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.QSqlDriver");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_editBuffer__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlCursor*) QtSupport::getQt(env, obj))->editBuffer(), "org.kde.qt.QSqlRecord");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_editBuffer__Z(JNIEnv* env, jobject obj, jboolean copy)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlCursor*) QtSupport::getQt(env, obj))->editBuffer((bool) copy), "org.kde.qt.QSqlRecord");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_exec__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->exec();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sql)
{
static QString* _qstring_sql = 0;
	jboolean xret = (jboolean) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_exec((const QString&)*(QString*) QtSupport::toQString(env, sql, &_qstring_sql));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlCursor_executedQuery(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->executedQuery();
	return QtSupport::fromQString(env, &_qstring);
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_first(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->first();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName)
{
static QString* _qstring_fieldName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlIndex(((QSqlCursor*) QtSupport::getQt(env, obj))->index((const QString&)*(QString*) QtSupport::toQString(env, fieldName, &_qstring_fieldName))), "org.kde.qt.QSqlIndex", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_index___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray fieldNames)
{
static QStringList* _qlist_fieldNames = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlIndex(((QSqlCursor*) QtSupport::getQt(env, obj))->index((const QStringList&)*(QStringList*) QtSupport::toQStringList(env, fieldNames, &_qlist_fieldNames))), "org.kde.qt.QSqlIndex", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_insert__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlCursor*) QtSupport::getQt(env, obj))->insert();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_insert__ILorg_kde_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jint pos, jobject fieldInfo)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->insert((int) pos, (const QSqlFieldInfo&)*(const QSqlFieldInfo*) QtSupport::getQt(env, fieldInfo));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_insert__Z(JNIEnv* env, jobject obj, jboolean invalidate)
{
	jint xret = (jint) ((QSqlCursor*) QtSupport::getQt(env, obj))->insert((bool) invalidate);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isActive(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->isActive();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isCalculated(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->isCalculated((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isForwardOnly(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->isForwardOnly();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isNull__I(JNIEnv* env, jobject obj, jint i)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->isNull((int) i);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->isNull((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isReadOnly(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->isReadOnly();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isSelect(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->isSelect();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_isTrimmed(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->isTrimmed((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_lastError(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlError(((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.QSqlError", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlCursor_lastQuery(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->lastQuery();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_last(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->last();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_mode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlCursor*) QtSupport::getQt(env, obj))->mode();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_newQSqlCursor__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 QSqlCursorJBridge((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_QSqlCursor_newQSqlCursor__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlCursorJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) autopopulate));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_newQSqlCursor__Ljava_lang_String_2ZLorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate, jobject db)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QSqlCursorJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) autopopulate, (QSqlDatabase*) QtSupport::getQt(env, db)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_next(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->next();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_numRowsAffected(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->numRowsAffected();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_prepare(JNIEnv* env, jobject obj, jstring query)
{
static QString* _qstring_query = 0;
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->prepare((const QString&)*(QString*) QtSupport::toQString(env, query, &_qstring_query));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_prev(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->prev();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_primaryIndex__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlIndex(((QSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex()), "org.kde.qt.QSqlIndex", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_primaryIndex__Z(JNIEnv* env, jobject obj, jboolean prime)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlIndex(((QSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex((bool) prime)), "org.kde.qt.QSqlIndex", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_primeDelete(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlCursor*) QtSupport::getQt(env, obj))->primeDelete(), "org.kde.qt.QSqlRecord");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_primeInsert(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlCursor*) QtSupport::getQt(env, obj))->primeInsert(), "org.kde.qt.QSqlRecord");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_primeUpdate(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlCursor*) QtSupport::getQt(env, obj))->primeUpdate(), "org.kde.qt.QSqlRecord");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_remove(JNIEnv* env, jobject obj, jint pos)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->remove((int) pos);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_result(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.QSqlResult");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_seek__I(JNIEnv* env, jobject obj, jint i)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->seek((int) i);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative)
{
	jboolean xret = (jboolean) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_select__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->select();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter)
{
static QString* _qstring_filter = 0;
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->select((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jstring filter, jobject sort)
{
static QString* _qstring_filter = 0;
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->select((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, sort));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->select((const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, sort));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject filter, jobject sort)
{
	jboolean xret = (jboolean) ((QSqlCursor*) QtSupport::getQt(env, obj))->select((const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, filter), (const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, sort));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setCalculated(JNIEnv* env, jobject obj, jstring name, jboolean calculated)
{
static QString* _qstring_name = 0;
	((QSqlCursor*) QtSupport::getQt(env, obj))->setCalculated((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) calculated);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setFilter(JNIEnv* env, jobject obj, jstring filter)
{
static QString* _qstring_filter = 0;
	((QSqlCursor*) QtSupport::getQt(env, obj))->setFilter((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setForwardOnly(JNIEnv* env, jobject obj, jboolean forward)
{
	((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->setForwardOnly((bool) forward);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setGenerated__IZ(JNIEnv* env, jobject obj, jint i, jboolean generated)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->setGenerated((int) i, (bool) generated);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setGenerated__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean generated)
{
static QString* _qstring_name = 0;
	((QSqlCursor*) QtSupport::getQt(env, obj))->setGenerated((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) generated);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setMode(JNIEnv* env, jobject obj, jint flags)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->setMode((int) flags);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	((QSqlCursor*) QtSupport::getQt(env, obj))->setName((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate)
{
static QString* _qstring_name = 0;
	((QSqlCursor*) QtSupport::getQt(env, obj))->setName((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) autopopulate);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setPrimaryIndex(JNIEnv* env, jobject obj, jobject idx)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->setPrimaryIndex((const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, idx));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setSort(JNIEnv* env, jobject obj, jobject sort)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->setSort((const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, sort));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setTrimmed(JNIEnv* env, jobject obj, jstring name, jboolean trim)
{
static QString* _qstring_name = 0;
	((QSqlCursor*) QtSupport::getQt(env, obj))->setTrimmed((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) trim);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint i, jobject val)
{
	((QSqlCursor*) QtSupport::getQt(env, obj))->setValue((int) i, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlCursor_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jobject val)
{
static QString* _qstring_name = 0;
	((QSqlCursor*) QtSupport::getQt(env, obj))->setValue((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_size(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlQuery*)(QSqlCursor*) QtSupport::getQt(env, obj))->size();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_sort(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlIndex(((QSqlCursor*) QtSupport::getQt(env, obj))->sort()), "org.kde.qt.QSqlIndex", TRUE);
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix)
{
	QString  _qstring;
static QString* _qstring_prefix = 0;
	_qstring = ((QSqlCursor*) QtSupport::getQt(env, obj))->toString((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep)
{
	QString  _qstring;
static QString* _qstring_prefix = 0;
static QString* _qstring_sep = 0;
	_qstring = ((QSqlCursor*) QtSupport::getQt(env, obj))->toString((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const QString&)*(QString*) QtSupport::toQString(env, sep, &_qstring_sep));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Lorg_kde_qt_QSqlField_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jobject field, jstring fieldSep)
{
	QString  _qstring;
static QString* _qstring_prefix = 0;
static QString* _qstring_fieldSep = 0;
	_qstring = ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (QSqlField*) QtSupport::getQt(env, field), (const QString&)*(QString*) QtSupport::toQString(env, fieldSep, &_qstring_fieldSep));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject i, jobject rec, jstring prefix, jstring fieldSep, jstring sep)
{
	QString  _qstring;
static QString* _qstring_prefix = 0;
static QString* _qstring_fieldSep = 0;
static QString* _qstring_sep = 0;
	_qstring = ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, i), (QSqlRecord*) QtSupport::getQt(env, rec), (const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const QString&)*(QString*) QtSupport::toQString(env, fieldSep, &_qstring_fieldSep), (const QString&)*(QString*) QtSupport::toQString(env, sep, &_qstring_sep));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject rec, jstring prefix, jstring fieldSep, jstring sep)
{
	QString  _qstring;
static QString* _qstring_prefix = 0;
static QString* _qstring_fieldSep = 0;
static QString* _qstring_sep = 0;
	_qstring = ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((QSqlRecord*) QtSupport::getQt(env, rec), (const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const QString&)*(QString*) QtSupport::toQString(env, fieldSep, &_qstring_fieldSep), (const QString&)*(QString*) QtSupport::toQString(env, sep, &_qstring_sep));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_update__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QSqlCursor*) QtSupport::getQt(env, obj))->update();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter)
{
static QString* _qstring_filter = 0;
	jint xret = (jint) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filter, jboolean invalidate)
{
static QString* _qstring_filter = 0;
	jint xret = (jint) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (bool) invalidate);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlCursor_update__Z(JNIEnv* env, jobject obj, jboolean invalidate)
{
	jint xret = (jint) ((QSqlCursor*) QtSupport::getQt(env, obj))->update((bool) invalidate);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_value__I(JNIEnv* env, jobject obj, jint i)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QVariant(((QSqlCursor*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.QVariant", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlCursor_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QVariant(((QSqlCursor*) QtSupport::getQt(env, obj))->value((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QVariant", TRUE);
	return xret;
}

