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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QImageTextKeyLang_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QImageTextKeyLang_finalize(env, obj);
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QImageTextKeyLang_newTQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring k, jstring l)
{
static TQCString* _qstring_k = 0;
static TQCString* _qstring_l = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQImageTextKeyLangJBridge((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_trinitydesktop_qt_QImageTextKeyLang_op_1equals(JNIEnv* env, jobject obj, jobject other)
{
	jboolean xret = (jboolean) ((TQImageTextKeyLang*) QtSupport::getQt(env, obj))->operator==((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, other));
	return xret;
}

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

