/***************************************************************************
                            QIconViewItem.cpp -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

#define _BOOL_H_
#include <qiconview.h>
#include <qstring.h>
#include <qcstring.h>

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

class QIconViewItemJBridge : public QIconViewItem
{
public:
	QIconViewItemJBridge(QIconView* parent) : QIconViewItem(parent) {}
	QIconViewItemJBridge(QIconView* parent, QIconViewItem* after) : QIconViewItem(parent, after) {}
	QIconViewItemJBridge(QIconView* parent, const QString& text) : QIconViewItem(parent, text) {}
	QIconViewItemJBridge(QIconView* parent, QIconViewItem* after, const QString& text) : QIconViewItem(parent, after, text) {}
	QIconViewItemJBridge(QIconView* parent, const QString& text, const QPixmap& icon) : QIconViewItem(parent, text, icon) {}
	QIconViewItemJBridge(QIconView* parent, QIconViewItem* after, const QString& text, const QPixmap& icon) : QIconViewItem(parent, after, text, icon) {}
	QIconViewItemJBridge(QIconView* parent, const QString& text, const QPicture& picture) : QIconViewItem(parent, text, picture) {}
	QIconViewItemJBridge(QIconView* parent, QIconViewItem* after, const QString& text, const QPicture& picture) : QIconViewItem(parent, after, text, picture) {}
	~QIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);}
	void protected_removeRenameBox() {
		QIconViewItem::removeRenameBox();
		return;
	}
	void protected_calcRect(const QString& text_) {
		QIconViewItem::calcRect(text_);
		return;
	}
	void protected_paintItem(QPainter* p, const QColorGroup& cg) {
		QIconViewItem::paintItem(p, cg);
		return;
	}
	void protected_paintFocus(QPainter* p, const QColorGroup& cg) {
		QIconViewItem::paintFocus(p, cg);
		return;
	}
	void protected_dragEntered() {
		QIconViewItem::dragEntered();
		return;
	}
	void protected_dragLeft() {
		QIconViewItem::dragLeft();
		return;
	}
	void protected_setItemRect(const QRect& r) {
		QIconViewItem::setItemRect(r);
		return;
	}
	void protected_setTextRect(const QRect& r) {
		QIconViewItem::setTextRect(r);
		return;
	}
	void protected_setPixmapRect(const QRect& r) {
		QIconViewItem::setPixmapRect(r);
		return;
	}
	void protected_calcTmpText() {
		QIconViewItem::calcTmpText();
		return;
	}
};


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

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_newQIconViewItem__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 QIconViewItemJBridge((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_qt_QIconViewItem_newQIconViewItem__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 QIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_newQIconViewItem__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 QIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QIconViewItem*) QtSupport::getQt(env, after), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_newQIconViewItem__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 QIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, icon)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_newQIconViewItem__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 QIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QIconViewItem*) QtSupport::getQt(env, after), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, icon)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_newQIconViewItem__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 QIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPicture&) *(QPicture *) QtSupport::getQt(env, picture)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_newQIconViewItem__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 QIconViewItemJBridge((QIconView*) QtSupport::getQt(env, parent), (QIconViewItem*) QtSupport::getQt(env, after), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPicture&) *(QPicture *) QtSupport::getQt(env, picture)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setRenameEnabled(JNIEnv *env, jobject obj, jboolean allow)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setRenameEnabled((bool) allow);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setDragEnabled(JNIEnv *env, jobject obj, jboolean allow)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setDragEnabled((bool) allow);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setDropEnabled(JNIEnv *env, jobject obj, jboolean allow)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QIconViewItem_text(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->text();
	return QtSupport::fromQString(env, &_qstring);
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_picture(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.QPicture");
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QIconViewItem_key(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->key();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_renameEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->renameEnabled();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_dragEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->dragEnabled();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_dropEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->dropEnabled();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_iconView(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->iconView(), "org.kde.qt.QIconView");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_prevItem(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->prevItem(), "org.kde.qt.QIconViewItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_nextItem(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->nextItem(), "org.kde.qt.QIconViewItem");
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_index(JNIEnv *env, jobject obj)
{
	return (jint) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->index();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setSelected__ZZ(JNIEnv *env, jobject obj, jboolean s, jboolean cb)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setSelected((bool) s, (bool) cb);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setSelected__Z(JNIEnv *env, jobject obj, jboolean s)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setSelected((bool) s);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setSelectable(JNIEnv *env, jobject obj, jboolean s)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setSelectable((bool) s);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_isSelected(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->isSelected();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_isSelectable(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->isSelectable();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_repaint(JNIEnv *env, jobject obj)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->repaint();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_move__II(JNIEnv *env, jobject obj, jint x, jint y)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->move((int) x, (int) y);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_moveBy__II(JNIEnv *env, jobject obj, jint dx, jint dy)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_move__Lorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject pnt)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->move((QPoint&) *(QPoint *) QtSupport::getQt(env, pnt));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_moveBy__Lorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject pnt)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->moveBy((QPoint&) *(QPoint *) QtSupport::getQt(env, pnt));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_rect(JNIEnv *env, jobject obj)
{
	QRect _r= ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->rect();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_x(JNIEnv *env, jobject obj)
{
	return (jint) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->x();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_y(JNIEnv *env, jobject obj)
{
	return (jint) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->y();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_width(JNIEnv *env, jobject obj)
{
	return (jint) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->width();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_height(JNIEnv *env, jobject obj)
{
	return (jint) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->height();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_size(JNIEnv *env, jobject obj)
{
	QSize _s= ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->size();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_pos(JNIEnv *env, jobject obj)
{
	QPoint _p= ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->pos();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_textRect(JNIEnv *env, jobject obj, jboolean relative)
{
	QRect _r= ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->textRect((bool) relative);
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_pixmapRect(JNIEnv *env, jobject obj, jboolean relative)
{
	QRect _r= ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->pixmapRect((bool) relative);
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_contains(JNIEnv *env, jobject obj, jobject pnt)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->contains((QPoint&) *(QPoint *) QtSupport::getQt(env, pnt));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_intersects(JNIEnv *env, jobject obj, jobject r)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->intersects((QRect&) *(QRect *) QtSupport::getQt(env, r));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_acceptDrop(JNIEnv *env, jobject obj, jobject mime)
{
	return (jboolean) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->acceptDrop(QtSupport::mimeSource(env, mime));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_rename(JNIEnv *env, jobject obj)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->rename();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_compare(JNIEnv *env, jobject obj, jobject i)
{
	return (jint) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->compare((QIconViewItem*) QtSupport::getQt(env, i));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text)
{
static QString * _qstring_text = 0;
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setText((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv *env, jobject obj, jobject icon)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setPixmap((QPixmap&) *(QPixmap *) QtSupport::getQt(env, icon));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPicture(JNIEnv *env, jobject obj, jobject icon)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setPicture((QPicture&) *(QPicture *) QtSupport::getQt(env, icon));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2ZZ(JNIEnv *env, jobject obj, jstring text, jboolean recalc, jboolean redraw)
{
static QString * _qstring_text = 0;
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setText((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (bool) recalc, (bool) redraw);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring text, jboolean recalc)
{
static QString * _qstring_text = 0;
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setText((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (bool) recalc, TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2ZZ(JNIEnv *env, jobject obj, jobject icon, jboolean recalc, jboolean redraw)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setPixmap((QPixmap&) *(QPixmap *) QtSupport::getQt(env, icon), (bool) recalc, (bool) redraw);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2Z(JNIEnv *env, jobject obj, jobject icon, jboolean recalc)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setPixmap((QPixmap&) *(QPixmap *) QtSupport::getQt(env, icon), (bool) recalc, TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setKey(JNIEnv *env, jobject obj, jstring k)
{
static QString * _qstring_k = 0;
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->setKey((QString&) * (QString *) QtSupport::toQString(env, k, &_qstring_k));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_rtti(JNIEnv *env, jobject obj)
{
	return (jint) ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->rtti();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_removeRenameBox(JNIEnv *env, jobject obj)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_removeRenameBox();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_calcRect__(JNIEnv *env, jobject obj)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(QString::null);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_paintItem(JNIEnv *env, jobject obj, jobject p, jobject cg)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((QPainter*) QtSupport::getQt(env, p), (QColorGroup&) *(QColorGroup *) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_paintFocus(JNIEnv *env, jobject obj, jobject p, jobject cg)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintFocus((QPainter*) QtSupport::getQt(env, p), (QColorGroup&) *(QColorGroup *) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_dragEntered(JNIEnv *env, jobject obj)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_dragLeft(JNIEnv *env, jobject obj)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setItemRect(JNIEnv *env, jobject obj, jobject r)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setItemRect((QRect&) *(QRect *) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setTextRect(JNIEnv *env, jobject obj, jobject r)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setTextRect((QRect&) *(QRect *) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmapRect(JNIEnv *env, jobject obj, jobject r)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setPixmapRect((QRect&) *(QRect *) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_calcTmpText(JNIEnv *env, jobject obj)
{
	((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcTmpText();
	return;
}

