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

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

class QDomDocumentTypeJBridge : public QDomDocumentType
{
public:
	QDomDocumentTypeJBridge() : QDomDocumentType() {};
	QDomDocumentTypeJBridge(const QDomDocumentType& arg1) : QDomDocumentType(arg1) {};
	~QDomDocumentTypeJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocumentType_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDomDocumentType_finalize(env, obj);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocumentType_entities(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNamedNodeMap(((QDomDocumentType*) QtSupport::getQt(env, obj))->entities()), "org.kde.qt.QDomNamedNodeMap", TRUE);
	return xret;
}

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocumentType_isDocumentType(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomDocumentType*) QtSupport::getQt(env, obj))->isDocumentType();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocumentType_newQDomDocumentType__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject x)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDomDocumentTypeJBridge((const QDomDocumentType&)*(const QDomDocumentType*) QtSupport::getQt(env, x)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDomDocumentType_nodeType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QDomDocumentType*) QtSupport::getQt(env, obj))->nodeType();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocumentType_notations(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNamedNodeMap(((QDomDocumentType*) QtSupport::getQt(env, obj))->notations()), "org.kde.qt.QDomNamedNodeMap", TRUE);
	return xret;
}

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

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

