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

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

class QXmlParseExceptionJBridge : public QXmlParseException
{
public:
	QXmlParseExceptionJBridge(const QString& arg1,int arg2,int arg3,const QString& arg4,const QString& arg5) : QXmlParseException(arg1,arg2,arg3,arg4,arg5) {};
	QXmlParseExceptionJBridge(const QString& arg1,int arg2,int arg3,const QString& arg4) : QXmlParseException(arg1,arg2,arg3,arg4) {};
	QXmlParseExceptionJBridge(const QString& arg1,int arg2,int arg3) : QXmlParseException(arg1,arg2,arg3) {};
	QXmlParseExceptionJBridge(const QString& arg1,int arg2) : QXmlParseException(arg1,arg2) {};
	QXmlParseExceptionJBridge(const QString& arg1) : QXmlParseException(arg1) {};
	QXmlParseExceptionJBridge() : QXmlParseException() {};
	~QXmlParseExceptionJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jint JNICALL
Java_org_kde_qt_QXmlParseException_columnNumber(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QXmlParseException*) QtSupport::getQt(env, obj))->columnNumber();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QXmlParseException_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QXmlParseException_finalize(env, obj);
	return;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QXmlParseException_lineNumber(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QXmlParseException*) QtSupport::getQt(env, obj))->lineNumber();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QXmlParseException_newQXmlParseException__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 QXmlParseExceptionJBridge((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_QXmlParseException_newQXmlParseException__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint c)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (int) c));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p)
{
static QString* _qstring_name = 0;
static QString* _qstring_p = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (int) c, (int) l, (const QString&)*(QString*) QtSupport::toQString(env, p, &_qstring_p)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p, jstring s)
{
static QString* _qstring_name = 0;
static QString* _qstring_p = 0;
static QString* _qstring_s = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (int) c, (int) l, (const QString&)*(QString*) QtSupport::toQString(env, p, &_qstring_p), (const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

