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

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

class QDomImplementationJBridge : public QDomImplementation
{
public:
	QDomImplementationJBridge() : QDomImplementation() {};
	QDomImplementationJBridge(const QDomImplementation& arg1) : QDomImplementation(arg1) {};
	~QDomImplementationJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomImplementation_createDocumentType(JNIEnv* env, jobject obj, jstring qName, jstring publicId, jstring systemId)
{
static QString* _qstring_qName = 0;
static QString* _qstring_publicId = 0;
static QString* _qstring_systemId = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocumentType(((QDomImplementation*) QtSupport::getQt(env, obj))->createDocumentType((const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName), (const QString&)*(QString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const QString&)*(QString*) QtSupport::toQString(env, systemId, &_qstring_systemId))), "org.kde.qt.QDomDocumentType", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomImplementation_createDocument(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jobject doctype)
{
static QString* _qstring_nsURI = 0;
static QString* _qstring_qName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocument(((QDomImplementation*) QtSupport::getQt(env, obj))->createDocument((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName), (const QDomDocumentType&)*(const QDomDocumentType*) QtSupport::getQt(env, doctype))), "org.kde.qt.QDomDocument", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomImplementation_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDomImplementation_finalize(env, obj);
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomImplementation_hasFeature(JNIEnv* env, jobject obj, jstring feature, jstring version)
{
static QString* _qstring_feature = 0;
static QString* _qstring_version = 0;
	jboolean xret = (jboolean) ((QDomImplementation*) QtSupport::getQt(env, obj))->hasFeature((const QString&)*(QString*) QtSupport::toQString(env, feature, &_qstring_feature), (const QString&)*(QString*) QtSupport::toQString(env, version, &_qstring_version));
	return xret;
}

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

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

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

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

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

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

