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

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

class QMetaDataJBridge : public QMetaData
{
public:
	QMetaDataJBridge() : QMetaData() {};
	~QMetaDataJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QMetaData_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QMetaData_finalize(env, obj);
	return;
}

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

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

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

