/***************************************************************************
                            QListView.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/QListView.h>

class QListViewJBridge : public QListView
{
public:
	QListViewJBridge(QWidget* parent, const char* name, WFlags f) : QListView(parent, name, f) {}
	~QListViewJBridge() {QtSupport::qtKeyDeleted(this);}
	 QDragObject * protected_dragObject() {
		return ( QDragObject *) QListView::dragObject();
	}
	void protected_startDrag() {
		QListView::startDrag();
		return;
	}
	void protected_drawContentsOffset(QPainter* arg1, int ox, int oy, int cx, int cy, int cw, int ch) {
		QListView::drawContentsOffset(arg1, ox, oy, cx, cy, cw, ch);
		return;
	}
	void protected_paintEmptyArea(QPainter* arg1, const QRect& arg2) {
		QListView::paintEmptyArea(arg1, arg2);
		return;
	}
	void protected_styleChange(QStyle& arg1) {
		QListView::styleChange(arg1);
		return;
	}
	void protected_windowActivationChange(bool arg1) {
		QListView::windowActivationChange(arg1);
		return;
	}
	void protected_updateContents() {
		QListView::updateContents();
		return;
	}
	void protected_doAutoScroll() {
		QListView::doAutoScroll();
		return;
	}
	void keyPressEvent(QKeyEvent* e) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", e, "org.kde.qt.QKeyEvent")) {
			QListView::keyPressEvent(e);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyReleaseEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* e) {
		if (! QtSupport::eventDelegate(this, "focusOutEvent", e, "org.kde.qt.QFocusEvent")) {
			QListView::focusOutEvent(e);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "childEvent", arg1, "org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void viewportDragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QScrollView::viewportDragMoveEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void contentsWheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsWheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QScrollView::contentsWheelEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "leaveEvent", arg1, "org.kde.qt.QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "tabletEvent", arg1, "org.kde.qt.QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "showEvent", arg1, "org.kde.qt.QShowEvent")) {
			QListView::showEvent(arg1);
		}
		return;
	}
	void contentsContextMenuEvent(QContextMenuEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsContextMenuEvent", e, "org.kde.qt.QContextMenuEvent")) {
			QListView::contentsContextMenuEvent(e);
		}
		return;
	}
	void viewportContextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportContextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QScrollView::viewportContextMenuEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QScrollView::contextMenuEvent(arg1);
		}
		return;
	}
	void viewportMousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMousePressEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imComposeEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "customEvent", arg1, "org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void viewportMouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::mouseReleaseEvent(arg1);
		}
		return;
	}
	void viewportMouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void viewportDragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QScrollView::viewportDragLeaveEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "enterEvent", arg1, "org.kde.qt.QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void contentsDropEvent(QDropEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsDropEvent", e, "org.kde.qt.QDropEvent")) {
			QListView::contentsDropEvent(e);
		}
		return;
	}
	void focusInEvent(QFocusEvent* e) {
		if (! QtSupport::eventDelegate(this, "focusInEvent", e, "org.kde.qt.QFocusEvent")) {
			QListView::focusInEvent(e);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imEndEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void contentsDragLeaveEvent(QDragLeaveEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsDragLeaveEvent", e, "org.kde.qt.QDragLeaveEvent")) {
			QListView::contentsDragLeaveEvent(e);
		}
		return;
	}
	void viewportDropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QScrollView::viewportDropEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void contentsMouseDoubleClickEvent(QMouseEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsMouseDoubleClickEvent", e, "org.kde.qt.QMouseEvent")) {
			QListView::contentsMouseDoubleClickEvent(e);
		}
		return;
	}
	void viewportDragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QScrollView::viewportDragEnterEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void viewportMouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMouseMoveEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::mouseMoveEvent(arg1);
		}
		return;
	}
	void contentsDragMoveEvent(QDragMoveEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsDragMoveEvent", e, "org.kde.qt.QDragMoveEvent")) {
			QListView::contentsDragMoveEvent(e);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "moveEvent", arg1, "org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(QMouseEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsMouseReleaseEvent", e, "org.kde.qt.QMouseEvent")) {
			QListView::contentsMouseReleaseEvent(e);
		}
		return;
	}
	void viewportWheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportWheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QScrollView::viewportWheelEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "wheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QScrollView::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "hideEvent", arg1, "org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void contentsDragEnterEvent(QDragEnterEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsDragEnterEvent", e, "org.kde.qt.QDragEnterEvent")) {
			QListView::contentsDragEnterEvent(e);
		}
		return;
	}
	void contentsMouseMoveEvent(QMouseEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsMouseMoveEvent", e, "org.kde.qt.QMouseEvent")) {
			QListView::contentsMouseMoveEvent(e);
		}
		return;
	}
	void contentsMousePressEvent(QMouseEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsMousePressEvent", e, "org.kde.qt.QMouseEvent")) {
			QListView::contentsMousePressEvent(e);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imStartEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "closeEvent", arg1, "org.kde.qt.QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void viewportPaintEvent(QPaintEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportPaintEvent", arg1, "org.kde.qt.QPaintEvent")) {
			QScrollView::viewportPaintEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "paintEvent", arg1, "org.kde.qt.QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "timerEvent", arg1, "org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void viewportResizeEvent(QResizeEvent* e) {
		if (! QtSupport::eventDelegate(this, "viewportResizeEvent", e, "org.kde.qt.QResizeEvent")) {
			QListView::viewportResizeEvent(e);
		}
		return;
	}
	void resizeEvent(QResizeEvent* e) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", e, "org.kde.qt.QResizeEvent")) {
			QListView::resizeEvent(e);
		}
		return;
	}
};


JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_newQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobject parent, jstring name, jint f)
{
static QCString * _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListViewJBridge((QWidget*) QtSupport::getQt(env, parent), (char*) QtSupport::toCharString(env, name, &_qstring_name), (QWidget::WFlags) f));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_finalize(JNIEnv *env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((QListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == (QWidget *) 0) {
		delete (QListView*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_treeStepSize(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->treeStepSize();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setTreeStepSize(JNIEnv *env, jobject obj, jint arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setTreeStepSize((int) arg1);
	return;
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListView_header(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewJBridge*) QtSupport::getQt(env, obj))->header(), "org.kde.qt.QHeader");
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2I(JNIEnv *env, jobject obj, jstring label, jint size)
{
static QString * _qstring_label = 0;
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->addColumn((QString&) * (QString *) QtSupport::toQString(env, label, &_qstring_label), (int) size);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring label)
{
static QString * _qstring_label = 0;
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->addColumn((QString&) * (QString *) QtSupport::toQString(env, label, &_qstring_label), -1);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobject iconset, jstring label, jint size)
{
static QString * _qstring_label = 0;
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->addColumn((QIconSet&) *(QIconSet *) QtSupport::getQt(env, iconset), (QString&) * (QString *) QtSupport::toQString(env, label, &_qstring_label), (int) size);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject iconset, jstring label)
{
static QString * _qstring_label = 0;
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->addColumn((QIconSet&) *(QIconSet *) QtSupport::getQt(env, iconset), (QString&) * (QString *) QtSupport::toQString(env, label, &_qstring_label), -1);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_removeColumn(JNIEnv *env, jobject obj, jint index)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->removeColumn((int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setColumnText__ILjava_lang_String_2(JNIEnv *env, jobject obj, jint column, jstring label)
{
static QString * _qstring_label = 0;
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setColumnText((int) column, (QString&) * (QString *) QtSupport::toQString(env, label, &_qstring_label));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setColumnText__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jint column, jobject iconset, jstring label)
{
static QString * _qstring_label = 0;
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setColumnText((int) column, (QIconSet&) *(QIconSet *) QtSupport::getQt(env, iconset), (QString&) * (QString *) QtSupport::toQString(env, label, &_qstring_label));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QListView_columnText(JNIEnv *env, jobject obj, jint column)
{
	QString  _qstring;
	_qstring = ((QListViewJBridge*) QtSupport::getQt(env, obj))->columnText((int) column);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setColumnWidth(JNIEnv *env, jobject obj, jint column, jint width)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setColumnWidth((int) column, (int) width);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_columnWidth(JNIEnv *env, jobject obj, jint column)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->columnWidth((int) column);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setColumnWidthMode(JNIEnv *env, jobject obj, jint column, jint arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setColumnWidthMode((int) column, (QListView::WidthMode) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_columnWidthMode(JNIEnv *env, jobject obj, jint column)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->columnWidthMode((int) column);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_columns(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->columns();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setColumnAlignment(JNIEnv *env, jobject obj, jint arg1, jint arg2)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setColumnAlignment((int) arg1, (int) arg2);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_columnAlignment(JNIEnv *env, jobject obj, jint arg1)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->columnAlignment((int) arg1);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_show(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->show();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListView_itemAt(JNIEnv *env, jobject obj, jobject screenPos)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewJBridge*) QtSupport::getQt(env, obj))->itemAt((QPoint&) *(QPoint *) QtSupport::getQt(env, screenPos)), "org.kde.qt.QListViewItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListView_itemRect(JNIEnv *env, jobject obj, jobject arg1)
{
	QRect _r= ((QListViewJBridge*) QtSupport::getQt(env, obj))->itemRect((QListViewItem*) QtSupport::getQt(env, arg1));
	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_QListView_itemPos(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->itemPos((QListViewItem*) QtSupport::getQt(env, arg1));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_ensureItemVisible(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->ensureItemVisible((QListViewItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_repaintItem(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->repaintItem((QListViewItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setMultiSelection(JNIEnv *env, jobject obj, jboolean enable)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setMultiSelection((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_isMultiSelection(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->isMultiSelection();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setSelectionMode(JNIEnv *env, jobject obj, jint mode)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setSelectionMode((QListView::SelectionMode) mode);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_selectionMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->selectionMode();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_clearSelection(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->clearSelection();
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_isSelected(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->isSelected((QListViewItem*) QtSupport::getQt(env, arg1));
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_isOpen(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->isOpen((QListViewItem*) QtSupport::getQt(env, arg1));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setCurrentItem(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setCurrentItem((QListViewItem*) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setAllColumnsShowFocus(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setAllColumnsShowFocus((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_allColumnsShowFocus(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->allColumnsShowFocus();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setItemMargin(JNIEnv *env, jobject obj, jint arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setItemMargin((int) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_itemMargin(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->itemMargin();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setRootIsDecorated(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_rootIsDecorated(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->rootIsDecorated();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setSorting__IZ(JNIEnv *env, jobject obj, jint column, jboolean increasing)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) increasing);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setSorting__I(JNIEnv *env, jobject obj, jint column)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setSorting((int) column, TRUE);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setFont(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setFont((QFont&) *(QFont *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setPalette(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setPalette((QPalette&) *(QPalette *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_eventFilter(JNIEnv *env, jobject obj, jobject o, jobject arg1)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->eventFilter((QObject*) QtSupport::getQt(env, o), (QEvent*) QtSupport::getQt(env, arg1));
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setShowSortIndicator(JNIEnv *env, jobject obj, jboolean show)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setShowSortIndicator((bool) show);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_showSortIndicator(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->showSortIndicator();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setShowToolTips(JNIEnv *env, jobject obj, jboolean b)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_showToolTips(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->showToolTips();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setResizeMode(JNIEnv *env, jobject obj, jint m)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setResizeMode((QListView::ResizeMode) m);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_resizeMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->resizeMode();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2II(JNIEnv *env, jobject obj, jstring text, jint column, jint compare)
{
static QString * _qstring_text = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewJBridge*) QtSupport::getQt(env, obj))->findItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) column, (QListView::ComparisonFlags) compare), "org.kde.qt.QListViewItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2I(JNIEnv *env, jobject obj, jstring text, jint column)
{
static QString * _qstring_text = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewJBridge*) QtSupport::getQt(env, obj))->findItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) column, QListView::ExactMatch | QListView::CaseSensitive), "org.kde.qt.QListViewItem");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setDefaultRenameAction(JNIEnv *env, jobject obj, jint a)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setDefaultRenameAction((QListView::RenameAction) a);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListView_defaultRenameAction(JNIEnv *env, jobject obj)
{
	return (jint) ((QListViewJBridge*) QtSupport::getQt(env, obj))->defaultRenameAction();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListView_isRenaming(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListViewJBridge*) QtSupport::getQt(env, obj))->isRenaming();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_clear(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->clear();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_invertSelection(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->invertSelection();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_selectAll(JNIEnv *env, jobject obj, jboolean select)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->selectAll((bool) select);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_triggerUpdate(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->triggerUpdate();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_setContentsPos(JNIEnv *env, jobject obj, jint x, jint y)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListView_dragObject(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.QDragObject");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_startDrag(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_drawContentsOffset(JNIEnv *env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((QPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_paintEmptyArea(JNIEnv *env, jobject obj, jobject arg1, jobject arg2)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((QPainter*) QtSupport::getQt(env, arg1), (QRect&) *(QRect *) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_styleChange(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((QStyle&) *(QStyle *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_windowActivationChange(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_updateContents(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_updateContents();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListView_doAutoScroll(JNIEnv *env, jobject obj)
{
	((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll();
	return;
}

