/***************************************************************************
                            QListViewItem.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 <qlistview.h>
#include <qstring.h>
#include <qcstring.h>

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

class QListViewItemJBridge : public QListViewItem
{
public:
	QListViewItemJBridge(QListView* parent) : QListViewItem(parent) {}
	QListViewItemJBridge(QListViewItem* parent) : QListViewItem(parent) {}
	QListViewItemJBridge(QListView* parent, QListViewItem* after) : QListViewItem(parent, after) {}
	QListViewItemJBridge(QListViewItem* parent, QListViewItem* after) : QListViewItem(parent, after) {}
	QListViewItemJBridge(QListView* parent, QString arg1, QString arg2, QString arg3, QString arg4, QString arg5, QString arg6, QString arg7, QString arg8) : QListViewItem(parent, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {}
	QListViewItemJBridge(QListViewItem* parent, QString arg1, QString arg2, QString arg3, QString arg4, QString arg5, QString arg6, QString arg7, QString arg8) : QListViewItem(parent, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {}
	QListViewItemJBridge(QListView* parent, QListViewItem* after, QString arg1, QString arg2, QString arg3, QString arg4, QString arg5, QString arg6, QString arg7, QString arg8) : QListViewItem(parent, after, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {}
	QListViewItemJBridge(QListViewItem* parent, QListViewItem* after, QString arg1, QString arg2, QString arg3, QString arg4, QString arg5, QString arg6, QString arg7, QString arg8) : QListViewItem(parent, after, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {}
	~QListViewItemJBridge() {QtSupport::qtKeyDeleted(this);
	}
	void protected_enforceSortOrder() {
		QListViewItem::enforceSortOrder();
		return;
	}
	void protected_setHeight(int arg1) {
		QListViewItem::setHeight(arg1);
		return;
	}
	void protected_activate() {
		QListViewItem::activate();
		return;
	}
	bool  protected_activatedPos(QPoint& arg1) {
		return (bool ) QListViewItem::activatedPos(arg1);
	}
	void protected_dropped(QDropEvent* e) {
		QListViewItem::dropped(e);
		return;
	}
	void protected_dragEntered() {
		QListViewItem::dragEntered();
		return;
	}
	void protected_dragLeft() {
		QListViewItem::dragLeft();
		return;
	}
	void protected_okRename(int col) {
		QListViewItem::okRename(col);
		return;
	}
	void protected_cancelRename(int col) {
		QListViewItem::cancelRename(col);
		return;
	}
	void protected_ignoreDoubleClick() {
		QListViewItem::ignoreDoubleClick();
		return;
	}
};


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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv *env, jobject obj, jobject parent, jobject after)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListView*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv *env, jobject obj, jobject parent, jobject after)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jstring arg1, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8)
{
static QString * _qstring_arg8 = 0;
static QString * _qstring_arg7 = 0;
static QString * _qstring_arg6 = 0;
static QString * _qstring_arg5 = 0;
static QString * _qstring_arg4 = 0;
static QString * _qstring_arg3 = 0;
static QString * _qstring_arg2 = 0;
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListView*) QtSupport::getQt(env, parent), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (QString) * (QString *) QtSupport::toQString(env, arg2, &_qstring_arg2), (QString) * (QString *) QtSupport::toQString(env, arg3, &_qstring_arg3), (QString) * (QString *) QtSupport::toQString(env, arg4, &_qstring_arg4), (QString) * (QString *) QtSupport::toQString(env, arg5, &_qstring_arg5), (QString) * (QString *) QtSupport::toQString(env, arg6, &_qstring_arg6), (QString) * (QString *) QtSupport::toQString(env, arg7, &_qstring_arg7), (QString) * (QString *) QtSupport::toQString(env, arg8, &_qstring_arg8)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListView*) QtSupport::getQt(env, parent), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), QString::null, QString::null, QString::null, QString::null, QString::null, QString::null, QString::null));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jstring arg1, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8)
{
static QString * _qstring_arg8 = 0;
static QString * _qstring_arg7 = 0;
static QString * _qstring_arg6 = 0;
static QString * _qstring_arg5 = 0;
static QString * _qstring_arg4 = 0;
static QString * _qstring_arg3 = 0;
static QString * _qstring_arg2 = 0;
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (QString) * (QString *) QtSupport::toQString(env, arg2, &_qstring_arg2), (QString) * (QString *) QtSupport::toQString(env, arg3, &_qstring_arg3), (QString) * (QString *) QtSupport::toQString(env, arg4, &_qstring_arg4), (QString) * (QString *) QtSupport::toQString(env, arg5, &_qstring_arg5), (QString) * (QString *) QtSupport::toQString(env, arg6, &_qstring_arg6), (QString) * (QString *) QtSupport::toQString(env, arg7, &_qstring_arg7), (QString) * (QString *) QtSupport::toQString(env, arg8, &_qstring_arg8)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), QString::null, QString::null, QString::null, QString::null, QString::null, QString::null, QString::null));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jobject after, jstring arg1, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8)
{
static QString * _qstring_arg8 = 0;
static QString * _qstring_arg7 = 0;
static QString * _qstring_arg6 = 0;
static QString * _qstring_arg5 = 0;
static QString * _qstring_arg4 = 0;
static QString * _qstring_arg3 = 0;
static QString * _qstring_arg2 = 0;
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListView*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (QString) * (QString *) QtSupport::toQString(env, arg2, &_qstring_arg2), (QString) * (QString *) QtSupport::toQString(env, arg3, &_qstring_arg3), (QString) * (QString *) QtSupport::toQString(env, arg4, &_qstring_arg4), (QString) * (QString *) QtSupport::toQString(env, arg5, &_qstring_arg5), (QString) * (QString *) QtSupport::toQString(env, arg6, &_qstring_arg6), (QString) * (QString *) QtSupport::toQString(env, arg7, &_qstring_arg7), (QString) * (QString *) QtSupport::toQString(env, arg8, &_qstring_arg8)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jobject after, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListView*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), QString::null, QString::null, QString::null, QString::null, QString::null, QString::null, QString::null));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jobject after, jstring arg1, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8)
{
static QString * _qstring_arg8 = 0;
static QString * _qstring_arg7 = 0;
static QString * _qstring_arg6 = 0;
static QString * _qstring_arg5 = 0;
static QString * _qstring_arg4 = 0;
static QString * _qstring_arg3 = 0;
static QString * _qstring_arg2 = 0;
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (QString) * (QString *) QtSupport::toQString(env, arg2, &_qstring_arg2), (QString) * (QString *) QtSupport::toQString(env, arg3, &_qstring_arg3), (QString) * (QString *) QtSupport::toQString(env, arg4, &_qstring_arg4), (QString) * (QString *) QtSupport::toQString(env, arg5, &_qstring_arg5), (QString) * (QString *) QtSupport::toQString(env, arg6, &_qstring_arg6), (QString) * (QString *) QtSupport::toQString(env, arg7, &_qstring_arg7), (QString) * (QString *) QtSupport::toQString(env, arg8, &_qstring_arg8)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jobject after, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (QString) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), QString::null, QString::null, QString::null, QString::null, QString::null, QString::null, QString::null));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_finalize(JNIEnv *env, jobject obj)
{
	if (	QtSupport::allocatedInJavaWorld(env, obj)
			&& ((QListViewItem*)QtSupport::getQt(env, obj))->parent() == 0
			&& ((QListViewItem*)QtSupport::getQt(env, obj))->listView() == 0 )
	{
		delete (QListViewItem*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_insertItem(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->insertItem((QListViewItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_takeItem(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->takeItem((QListViewItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_removeItem(JNIEnv *env, jobject obj, jobject item)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->removeItem((QListViewItem*) QtSupport::getQt(env, item));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_invalidateHeight(JNIEnv *env, jobject obj)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->invalidateHeight();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListViewItem_totalHeight(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->totalHeight();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListViewItem_width(JNIEnv *env, jobject obj, jobject arg1, jobject arg2, jint column)
{
	return (jint) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->width((QFontMetrics&) *(QFontMetrics *) QtSupport::getQt(env, arg1), (QListView*) QtSupport::getQt(env, arg2), (int) column);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_widthChanged__I(JNIEnv *env, jobject obj, jint column)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->widthChanged((int) column);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_widthChanged__(JNIEnv *env, jobject obj)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->widthChanged(-1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListViewItem_depth(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->depth();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setText(JNIEnv *env, jobject obj, jint arg1, jstring arg2)
{
static QString * _qstring_arg2 = 0;
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setText((int) arg1, (QString&) * (QString *) QtSupport::toQString(env, arg2, &_qstring_arg2));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QListViewItem_text(JNIEnv *env, jobject obj, jint arg1)
{
	QString  _qstring;
	_qstring = ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->text((int) arg1);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setPixmap(JNIEnv *env, jobject obj, jint arg1, jobject arg2)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setPixmap((int) arg1, (QPixmap&) *(QPixmap *) QtSupport::getQt(env, arg2));
	return;
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QListViewItem_key(JNIEnv *env, jobject obj, jint arg1, jboolean arg2)
{
	QString  _qstring;
	_qstring = ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->key((int) arg1, (bool) arg2);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListViewItem_compare(JNIEnv *env, jobject obj, jobject i, jint col, jboolean arg1)
{
	return (jint) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->compare((QListViewItem*) QtSupport::getQt(env, i), (int) col, (bool) arg1);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_sortChildItems(JNIEnv *env, jobject obj, jint arg1, jboolean arg2)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->sortChildItems((int) arg1, (bool) arg2);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListViewItem_childCount(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->childCount();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListViewItem_itemList(JNIEnv *env, jobject obj)
{
	QListViewItemIterator iterator((QListViewItem*) QtSupport::getQt(env, obj));
	return QtSupport::arrayWithQListViewItemList(env, &iterator);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListViewItem_isOpen(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->isOpen();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setOpen(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setOpen((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setup(JNIEnv *env, jobject obj)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setup();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setSelected(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setSelected((bool) arg1);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_paintCell(JNIEnv *env, jobject obj, jobject arg1, jobject cg, jint column, jint width, jint alignment)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->paintCell((QPainter*) QtSupport::getQt(env, arg1), (QColorGroup&) *(QColorGroup *) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_paintBranches(JNIEnv *env, jobject obj, jobject p, jobject cg, jint w, jint y, jint h)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->paintBranches((QPainter*) QtSupport::getQt(env, p), (QColorGroup&) *(QColorGroup *) QtSupport::getQt(env, cg), (int) w, (int) y, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_paintFocus(JNIEnv *env, jobject obj, jobject arg1, jobject cg, jobject r)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->paintFocus((QPainter*) QtSupport::getQt(env, arg1), (QColorGroup&) *(QColorGroup *) QtSupport::getQt(env, cg), (QRect&) *(QRect *) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListViewItem_firstChild(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewItemJBridge*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.QListViewItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListViewItem_nextSibling(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewItemJBridge*) QtSupport::getQt(env, obj))->nextSibling(), "org.kde.qt.QListViewItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListViewItem_parent(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewItemJBridge*) QtSupport::getQt(env, obj))->parent(), "org.kde.qt.QListViewItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListViewItem_itemAbove(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewItemJBridge*) QtSupport::getQt(env, obj))->itemAbove(), "org.kde.qt.QListViewItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListViewItem_itemBelow(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewItemJBridge*) QtSupport::getQt(env, obj))->itemBelow(), "org.kde.qt.QListViewItem");
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListViewItem_itemPos(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->itemPos();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListViewItem_listView(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewItemJBridge*) QtSupport::getQt(env, obj))->listView(), "org.kde.qt.QListView");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setSelectable(JNIEnv *env, jobject obj, jboolean enable)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setSelectable((bool) enable);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setExpandable(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setExpandable((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListViewItem_isExpandable(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->isExpandable();
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_sort(JNIEnv *env, jobject obj)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->sort();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_moveItem(JNIEnv *env, jobject obj, jobject after)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->moveItem((QListViewItem*) QtSupport::getQt(env, after));
	return;
}

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setVisible(JNIEnv *env, jobject obj, jboolean b)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setVisible((bool) b);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListViewItem_isVisible(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->isVisible();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setRenameEnabled(JNIEnv *env, jobject obj, jint col, jboolean b)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setRenameEnabled((int) col, (bool) b);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListViewItem_renameEnabled(JNIEnv *env, jobject obj, jint col)
{
	return (jboolean) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->renameEnabled((int) col);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_startRename(JNIEnv *env, jobject obj, jint col)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->startRename((int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setEnabled(JNIEnv *env, jobject obj, jboolean b)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setEnabled((bool) b);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListViewItem_isEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->isEnabled();
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setMultiLinesEnabled(JNIEnv *env, jobject obj, jboolean b)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->setMultiLinesEnabled((bool) b);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListViewItem_multiLinesEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->multiLinesEnabled();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_enforceSortOrder(JNIEnv *env, jobject obj)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_enforceSortOrder();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_setHeight(JNIEnv *env, jobject obj, jint arg1)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setHeight((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_activate(JNIEnv *env, jobject obj)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activate();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListViewItem_activatedPos(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activatedPos((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_dropped(JNIEnv *env, jobject obj, jobject e)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dropped((QDropEvent*) QtSupport::getQt(env, e));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_okRename(JNIEnv *env, jobject obj, jint col)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_okRename((int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_cancelRename(JNIEnv *env, jobject obj, jint col)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_cancelRename((int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListViewItem_ignoreDoubleClick(JNIEnv *env, jobject obj)
{
	((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_ignoreDoubleClick();
	return;
}

