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

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

class TQMetaEnumJBridge : public TQMetaEnum
{
public:
	TQMetaEnumJBridge() : TQMetaEnum() {};
	~TQMetaEnumJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QMetaEnum_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QMetaEnum_finalize(env, obj);
	return;
}

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

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

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

