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

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

class QClassInfoJBridge : public QClassInfo
{
public:
	QClassInfoJBridge() : QClassInfo() {};
	~QClassInfoJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QClassInfo_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QClassInfo_finalize(env, obj);
	return;
}

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

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

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

