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

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

class QDomNotationJBridge : public QDomNotation
{
public:
	QDomNotationJBridge() : QDomNotation() {};
	QDomNotationJBridge(const QDomNotation& arg1) : QDomNotation(arg1) {};
	~QDomNotationJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNotation_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDomNotation_finalize(env, obj);
	return;
}

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

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

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

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

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

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

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

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

