//Auto-generated by kalyptus. DO NOT EDIT.
#include <qlistbox.h>
#include <qstring.h>
#include <qpixmap.h>

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

class QListBoxPixmapJBridge : public QListBoxPixmap
{
public:
	QListBoxPixmapJBridge(QListBox* arg1,const QPixmap& arg2) : QListBoxPixmap(arg1,arg2) {};
	QListBoxPixmapJBridge(const QPixmap& arg1) : QListBoxPixmap(arg1) {};
	QListBoxPixmapJBridge(QListBox* arg1,const QPixmap& arg2,QListBoxItem* arg3) : QListBoxPixmap(arg1,arg2,arg3) {};
	QListBoxPixmapJBridge(QListBox* arg1,const QPixmap& arg2,const QString& arg3) : QListBoxPixmap(arg1,arg2,arg3) {};
	QListBoxPixmapJBridge(const QPixmap& arg1,const QString& arg2) : QListBoxPixmap(arg1,arg2) {};
	QListBoxPixmapJBridge(QListBox* arg1,const QPixmap& arg2,const QString& arg3,QListBoxItem* arg4) : QListBoxPixmap(arg1,arg2,arg3,arg4) {};
	void protected_paint(QPainter* arg1) {
		QListBoxPixmap::paint(arg1);
		return;
	}
	~QListBoxPixmapJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxPixmap_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QListBoxPixmap_finalize(env, obj);
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((QListBox*) QtSupport::getQt(env, listbox), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg2)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2, jstring arg3)
{
static QString* _qstring_arg3 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((QListBox*) QtSupport::getQt(env, listbox), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg2), (const QString&)*(QString*) QtSupport::toQString(env, arg3, &_qstring_arg3)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jstring arg3, jobject after)
{
static QString* _qstring_arg3 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((QListBox*) QtSupport::getQt(env, listbox), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pix), (const QString&)*(QString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (QListBoxItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jobject after)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((QListBox*) QtSupport::getQt(env, listbox), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pix), (QListBoxItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2)
{
static QString* _qstring_arg2 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg1), (const QString&)*(QString*) QtSupport::toQString(env, arg2, &_qstring_arg2)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxPixmap_paint(JNIEnv* env, jobject obj, jobject arg1)
{
	((QListBoxPixmapJBridge*) QtSupport::getQt(env, obj))->protected_paint((QPainter*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBoxPixmap_pixmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QListBoxPixmap*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.QPixmap");
	return xret;
}

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

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

