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

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

class TQDomDocumentTypeJBridge : public TQDomDocumentType
{
public:
	TQDomDocumentTypeJBridge() : TQDomDocumentType() {};
	TQDomDocumentTypeJBridge(const TQDomDocumentType& arg1) : TQDomDocumentType(arg1) {};
	~TQDomDocumentTypeJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomDocumentType_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QDomDocumentType_finalize(env, obj);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDomDocumentType_entities(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomDocumentType*) QtSupport::getQt(env, obj))->entities()), "org.trinitydesktop.qt.TQDomNamedNodeMap", true);
	return xret;
}

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

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

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

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDomDocumentType_notations(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomDocumentType*) QtSupport::getQt(env, obj))->notations()), "org.trinitydesktop.qt.TQDomNamedNodeMap", true);
	return xret;
}

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

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

