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

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

class QDomNamedNodeMapJBridge : public QDomNamedNodeMap
{
public:
	QDomNamedNodeMapJBridge() : QDomNamedNodeMap() {};
	QDomNamedNodeMapJBridge(const QDomNamedNodeMap& arg1) : QDomNamedNodeMap(arg1) {};
	~QDomNamedNodeMapJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNamedNodeMap_contains(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jboolean xret = (jboolean) ((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->contains((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDomNamedNodeMap_count(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->count();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNamedNodeMap_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDomNamedNodeMap_finalize(env, obj);
	return;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNamedNodeMap_item(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->item((int) index)), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDomNamedNodeMap_length(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->length();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNamedNodeMap_namedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName)
{
static QString* _qstring_nsURI = 0;
static QString* _qstring_localName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItemNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, localName, &_qstring_localName))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNamedNodeMap_namedItem(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItem((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNamedNodeMap_removeNamedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName)
{
static QString* _qstring_nsURI = 0;
static QString* _qstring_localName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItemNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, localName, &_qstring_localName))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNamedNodeMap_removeNamedItem(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItem((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNamedNodeMap_setNamedItemNS(JNIEnv* env, jobject obj, jobject newNode)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItemNS((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNamedNodeMap_setNamedItem(JNIEnv* env, jobject obj, jobject newNode)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItem((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

