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

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

class TQDomNotationJBridge : public TQDomNotation
{
public:
	TQDomNotationJBridge() : TQDomNotation() {};
	TQDomNotationJBridge(const TQDomNotation& arg1) : TQDomNotation(arg1) {};
	~TQDomNotationJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomNotation_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QDomNotation_finalize(env, obj);
	return;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDomNotation_isNotation(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDomNotation*) QtSupport::getQt(env, obj))->isNotation();
	return xret;
}

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

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

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

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

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

