//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 <tdejava/TDESupport.h>
#include <tdejava/TDEIconViewItem.h>

class TDEIconViewItemJBridge : public TDEIconViewItem
{
public:
	TDEIconViewItemJBridge(TQIconView* arg1) : TDEIconViewItem(arg1) {};
	TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TDEIconViewItem(arg1,arg2) {};
	TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TDEIconViewItem(arg1,arg2) {};
	TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TDEIconViewItem(arg1,arg2,arg3) {};
	TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TDEIconViewItem(arg1,arg2,arg3) {};
	TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {};
	TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TDEIconViewItem(arg1,arg2,arg3) {};
	TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {};
	void protected_init() {
		TDEIconViewItem::init();
		return;
	}
	void protected_calcRect(const TQString& arg1) {
		TDEIconViewItem::calcRect(arg1);
		return;
	}
	void protected_calcRect() {
		TDEIconViewItem::calcRect();
		return;
	}
	void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) {
		TDEIconViewItem::paintItem(arg1,arg2);
		return;
	}
	KWordWrap* protected_wordWrap() {
		return (KWordWrap*) TDEIconViewItem::wordWrap();
	}
	void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) {
		TDEIconViewItem::paintPixmap(arg1,arg2);
		return;
	}
	void protected_paintText(TQPainter* arg1,const TQColorGroup& arg2) {
		TDEIconViewItem::paintText(arg1,arg2);
		return;
	}
	~TDEIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);}
};

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_)
{
static TQString* _qstring_text_ = 0;
	((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEIconViewItem_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDEIconViewItem_finalize(env, obj);
	return;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_trinitydesktop_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 TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_trinitydesktop_qt_QIconView_2Ljava_lang_String_2Lorg_trinitydesktop_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 TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(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_trinitydesktop_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_trinitydesktop_qt_QIconView_2Ljava_lang_String_2Lorg_trinitydesktop_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 TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(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_trinitydesktop_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_trinitydesktop_qt_QIconView_2Lorg_trinitydesktop_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_trinitydesktop_qt_QIconView_2Lorg_trinitydesktop_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 TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_trinitydesktop_qt_QIconView_2Lorg_trinitydesktop_qt_QIconViewItem_2Ljava_lang_String_2Lorg_trinitydesktop_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 TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(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_trinitydesktop_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_trinitydesktop_qt_QIconView_2Lorg_trinitydesktop_qt_QIconViewItem_2Ljava_lang_String_2Lorg_trinitydesktop_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 TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(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_trinitydesktop_koala_TDEIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c)
{
	((TDEIconViewItemJBridge*) 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_trinitydesktop_koala_TDEIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c)
{
	((TDEIconViewItemJBridge*) 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_trinitydesktop_koala_TDEIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c)
{
	((TDEIconViewItemJBridge*) 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_trinitydesktop_koala_TDEIconViewItem_pixmapSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.trinitydesktop.qt.TQSize", TRUE);
	return xret;
}

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

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

