//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqpicture.h>
#include <kiconview.h>
#include <tqsize.h>
#include <tqpixmap.h>
#include <tqstring.h>
#include <tqpalette.h>

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

class KIconViewItemJBridge : public KIconViewItem
{
public:
	KIconViewItemJBridge(TQIconView* arg1) : KIconViewItem(arg1) {};
	KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : KIconViewItem(arg1,arg2) {};
	KIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : KIconViewItem(arg1,arg2) {};
	KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : KIconViewItem(arg1,arg2,arg3) {};
	KIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : KIconViewItem(arg1,arg2,arg3) {};
	KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : KIconViewItem(arg1,arg2,arg3,arg4) {};
	KIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : KIconViewItem(arg1,arg2,arg3) {};
	KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : KIconViewItem(arg1,arg2,arg3,arg4) {};
	void protected_init() {
		KIconViewItem::init();
		return;
	}
	void protected_calcRect(const TQString& arg1) {
		KIconViewItem::calcRect(arg1);
		return;
	}
	void protected_calcRect() {
		KIconViewItem::calcRect();
		return;
	}
	void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) {
		KIconViewItem::paintItem(arg1,arg2);
		return;
	}
	KWordWrap* protected_wordWrap() {
		return (KWordWrap*) KIconViewItem::wordWrap();
	}
	void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) {
		KIconViewItem::paintPixmap(arg1,arg2);
		return;
	}
	void protected_paintText(TQPainter* arg1,const TQColorGroup& 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 TQString* _qstring_text_ = 0;
	((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) 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) && ((TQIconViewItem*)(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((TQIconView*) 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 TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) 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 TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) 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((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) 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 TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) 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 TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) 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((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) 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((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) 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((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) 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 TQSize(((KIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.TQSize", 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 TQSize&)*(const TQSize*) 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;
}

