//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqlistbox.h>
#include <tqstring.h>
#include <tqpixmap.h>

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

class TQListBoxPixmapJBridge : public TQListBoxPixmap
{
public:
	TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2) : TQListBoxPixmap(arg1,arg2) {};
	TQListBoxPixmapJBridge(const TQPixmap& arg1) : TQListBoxPixmap(arg1) {};
	TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,TQListBoxItem* arg3) : TQListBoxPixmap(arg1,arg2,arg3) {};
	TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3) : TQListBoxPixmap(arg1,arg2,arg3) {};
	TQListBoxPixmapJBridge(const TQPixmap& arg1,const TQString& arg2) : TQListBoxPixmap(arg1,arg2) {};
	TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3,TQListBoxItem* arg4) : TQListBoxPixmap(arg1,arg2,arg3,arg4) {};
	void protected_paint(TQPainter* arg1) {
		TQListBoxPixmap::paint(arg1);
		return;
	}
	~TQListBoxPixmapJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QListBoxPixmap_finalize(env, obj);
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_height(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1));
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_trinitydesktop_qt_QListBox_2Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_trinitydesktop_qt_QListBox_2Lorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2, jstring arg3)
{
static TQString* _qstring_arg3 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_trinitydesktop_qt_QListBox_2Lorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jstring arg3, jobject after)
{
static TQString* _qstring_arg3 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQListBoxItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_trinitydesktop_qt_QListBox_2Lorg_trinitydesktop_qt_QPixmap_2Lorg_trinitydesktop_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jobject after)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (TQListBoxItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2)
{
static TQString* _qstring_arg2 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_paint(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQListBoxPixmapJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_pixmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxPixmap*) QtSupport::getQt(env, obj))->pixmap(), "org.trinitydesktop.qt.TQPixmap");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_rtti(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->rtti();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QListBoxPixmap_width(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1));
	return xret;
}

