//Auto-generated by kalyptus. DO NOT EDIT.
#include <qpicture.h>
#include <kiconview.h>
#include <qsize.h>
#include <qpixmap.h>
#include <qstring.h>
#include <qpalette.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KIconViewItem.h>

class KIconViewItemJBridge : public KIconViewItem
{
public:
	KIconViewItemJBridge(QIconView* arg1) : KIconViewItem(arg1) {};
	KIconViewItemJBridge(QIconView* arg1,QIconViewItem* arg2) : KIconViewItem(arg1,arg2) {};
	KIconViewItemJBridge(QIconView* arg1,const QString& arg2) : KIconViewItem(arg1,arg2) {};
	KIconViewItemJBridge(QIconView* arg1,QIconViewItem* arg2,const QString& arg3) : KIconViewItem(arg1,arg2,arg3) {};
	KIconViewItemJBridge(QIconView* arg1,const QString& arg2,const QPixmap& arg3) : KIconViewItem(arg1,arg2,arg3) {};
	KIconViewItemJBridge(QIconView* arg1,QIconViewItem* arg2,const QString& arg3,const QPixmap& arg4) : KIconViewItem(arg1,arg2,arg3,arg4) {};
	KIconViewItemJBridge(QIconView* arg1,const QString& arg2,const QPicture& arg3) : KIconViewItem(arg1,arg2,arg3) {};
	KIconViewItemJBridge(QIconView* arg1,QIconViewItem* arg2,const QString& arg3,const QPicture& arg4) : KIconViewItem(arg1,arg2,arg3,arg4) {};
	void protected_init() {
		KIconViewItem::init();
		return;
	}
	void protected_calcRect(const QString& arg1) {
		KIconViewItem::calcRect(arg1);
		return;
	}
	void protected_calcRect() {
		KIconViewItem::calcRect();
		return;
	}
	void protected_paintItem(QPainter* arg1,const QColorGroup& arg2) {
		KIconViewItem::paintItem(arg1,arg2);
		return;
	}
	KWordWrap* protected_wordWrap() {
		return (KWordWrap*) KIconViewItem::wordWrap();
	}
	void protected_paintPixmap(QPainter* arg1,const QColorGroup& arg2) {
		KIconViewItem::paintPixmap(arg1,arg2);
		return;
	}
	void protected_paintText(QPainter* arg1,const QColorGroup& arg2) {
		KIconViewItem::paintText(arg1,arg2);
		return;
	}
	~KIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_calcRect__(JNIEnv* env, jobject obj)
{
	((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_)
{
static QString* _qstring_text_ = 0;
	((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const QString&)*(QString*) QtSupport::toQString(env, text_, &_qstring_text_));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KIconViewItem_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((QIconViewItem*)(KIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) {
		delete (KIconViewItem*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_init(JNIEnv* env, jobject obj)
{
	((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_init();
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject picture)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QPicture&)*(const QPicture*) QtSupport::getQt(env, picture)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, icon)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QIconViewItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QIconViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject picture)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QIconViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QPicture&)*(const QPicture*) QtSupport::getQt(env, picture)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject icon)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QIconViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, icon)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c)
{
	((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((QPainter*) QtSupport::getQt(env, p), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, c));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c)
{
	((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintPixmap((QPainter*) QtSupport::getQt(env, p), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, c));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c)
{
	((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintText((QPainter*) QtSupport::getQt(env, p), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, c));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconViewItem_pixmapSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((KIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_setPixmapSize(JNIEnv* env, jobject obj, jobject size)
{
	((KIconViewItem*) QtSupport::getQt(env, obj))->setPixmapSize((const QSize&)*(const QSize*) QtSupport::getQt(env, size));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconViewItem_wordWrap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_wordWrap(), "org.kde.koala.KWordWrap");
	return xret;
}

