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

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

class QImageTextKeyLangJBridge : public QImageTextKeyLang
{
public:
	QImageTextKeyLangJBridge(const char* arg1,const char* arg2) : QImageTextKeyLang(arg1,arg2) {};
	QImageTextKeyLangJBridge() : QImageTextKeyLang() {};
	~QImageTextKeyLangJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QImageTextKeyLang_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QImageTextKeyLang_finalize(env, obj);
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QImageTextKeyLang_newQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring k, jstring l)
{
static QCString* _qstring_k = 0;
static QCString* _qstring_l = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QImageTextKeyLangJBridge((const char*) QtSupport::toCharString(env, k, &_qstring_k), (const char*) QtSupport::toCharString(env, l, &_qstring_l)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImageTextKeyLang_op_1lt(JNIEnv* env, jobject obj, jobject other)
{
	jboolean xret = (jboolean) ((QImageTextKeyLang*) QtSupport::getQt(env, obj))->operator<((const QImageTextKeyLang&)*(const QImageTextKeyLang*) QtSupport::getQt(env, other));
	return xret;
}

