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

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

class QListBoxJBridge : public QListBox
{
public:
	QListBoxJBridge(QWidget* parent, const char* name, WFlags f) : QListBox(parent, name, f) {}
	~QListBoxJBridge() {QtSupport::qtKeyDeleted(this);}
	bool  protected_eventFilter(QObject* o, QEvent* e) {
		return (bool ) QListBox::eventFilter(o, e);
	}
	void protected_updateItem(int index) {
		QListBox::updateItem(index);
		return;
	}
	void protected_updateItem(QListBoxItem* arg1) {
		QListBox::updateItem(arg1);
		return;
	}
	void protected_updateCellWidth() {
		QListBox::updateCellWidth();
		return;
	}
	int  protected_totalWidth() {
		return (int ) QListBox::totalWidth();
	}
	int  protected_totalHeight() {
		return (int ) QListBox::totalHeight();
	}
	void protected_paintCell(QPainter* arg1, int row, int col) {
		QListBox::paintCell(arg1, row, col);
		return;
	}
	void protected_toggleCurrentItem() {
		QListBox::toggleCurrentItem();
		return;
	}
	bool  protected_isRubberSelecting() {
		return (bool ) QListBox::isRubberSelecting();
	}
	void protected_doLayout() {
		QListBox::doLayout();
		return;
	}
	void protected_windowActivationChange(bool arg1) {
		QListBox::windowActivationChange(arg1);
		return;
	}
	bool  protected_itemYPos(int index, int* yPos) {
		return (bool ) QListBox::itemYPos(index, yPos);
	}
	int  protected_findItem(int yPos) {
		return (int ) QListBox::findItem(yPos);
	}
	void protected_clearInputString() {
		QListBox::clearInputString();
		return;
	}
	void keyPressEvent(QKeyEvent* e) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", e, "org.kde.qt.QKeyEvent")) {
			QListBox::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")) {
			QListBox::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")) {
			QListBox::showEvent(arg1);
		}
		return;
	}
	void contentsContextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsContextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QListBox::contentsContextMenuEvent(arg1);
		}
		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")) {
			QListBox::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")) {
			QListBox::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")) {
			QListBox::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* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QScrollView::contentsDropEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* e) {
		if (! QtSupport::eventDelegate(this, "focusInEvent", e, "org.kde.qt.QFocusEvent")) {
			QListBox::focusInEvent(e);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imEndEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void contentsDragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QScrollView::contentsDragLeaveEvent(arg1);
		}
		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* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMouseDoubleClickEvent(arg1);
		}
		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")) {
			QListBox::mouseMoveEvent(arg1);
		}
		return;
	}
	void contentsDragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QScrollView::contentsDragMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "moveEvent", arg1, "org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMouseReleaseEvent(arg1);
		}
		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* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QScrollView::contentsDragEnterEvent(arg1);
		}
		return;
	}
	void contentsMouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMouseMoveEvent(arg1);
		}
		return;
	}
	void contentsMousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMousePressEvent(arg1);
		}
		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 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* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportResizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QScrollView::viewportResizeEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QListBox::resizeEvent(arg1);
		}
		return;
	}
};


JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_newQListBox__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 QListBoxJBridge((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_QListBox_newQListBox__(JNIEnv *env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QListBoxJBridge(0, 0, 0));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_count(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->count();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobjectArray arg1, jint index)
{
static QStringList * _qlist_arg1 = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStringList((QStringList&) * (QStringList *) QtSupport::toQStringList(env, arg1, &_qlist_arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2(JNIEnv *env, jobject obj, jobjectArray arg1)
{
static QStringList * _qlist_arg1 = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStringList((QStringList&) * (QStringList *) QtSupport::toQStringList(env, arg1, &_qlist_arg1), -1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobjectArray arg1, jint index)
{
static QStrList * _qlist_arg1 = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStrList((QStrList*) QtSupport::toQStrList(env, arg1, &_qlist_arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2(JNIEnv *env, jobject obj, jobjectArray arg1)
{
static QStrList * _qlist_arg1 = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStrList((QStrList*) QtSupport::toQStrList(env, arg1, &_qlist_arg1), -1);
	return;
}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobjectArray arg1, jint index)
//{
//static QStrList * _qlist_arg1 = 0;
//	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStrList((QStrList&) * (QStrList *) QtSupport::toQStrList(env, arg1, &_qlist_arg1), (int) index);
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2(JNIEnv *env, jobject obj, jobjectArray arg1)
//{
//static QStrList * _qlist_arg1 = 0;
//	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStrList((QStrList&) * (QStrList *) QtSupport::toQStrList(env, arg1, &_qlist_arg1), -1);
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QListBox_insertStrList__Ljava_lang_String_2II(JNIEnv *env, jobject obj, jstring arg1, jint numStrings, jint index)
//{
//static QCString * _qstring_arg1 = 0;
//	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStrList((char**) QtSupport::toCharString(env, arg1, &_qstring_arg1), (int) numStrings, (int) index);
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QListBox_insertStrList__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring arg1)
//{
//static QCString * _qstring_arg1 = 0;
//	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertStrList((char**) QtSupport::toCharString(env, arg1, &_qstring_arg1), -1, -1);
//	return;
//}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2I(JNIEnv *env, jobject obj, jobject arg1, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QListBoxItem*) QtSupport::getQt(env, arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QListBoxItem*) QtSupport::getQt(env, arg1), -1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2Lorg_kde_qt_QListBoxItem_2(JNIEnv *env, jobject obj, jobject arg1, jobject after)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QListBoxItem*) QtSupport::getQt(env, arg1), (QListBoxItem*) QtSupport::getQt(env, after));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2I(JNIEnv *env, jobject obj, jstring text, jint index)
{
static QString * _qstring_text = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) index);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv *env, jobject obj, jobject pixmap, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv *env, jobject obj, jobject pixmap)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), -1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobject pixmap, jstring text, jint index)
{
static QString * _qstring_text = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jstring text)
{
static QString * _qstring_text = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), -1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_removeItem(JNIEnv *env, jobject obj, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->removeItem((int) index);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QListBoxItem_2I(JNIEnv *env, jobject obj, jobject arg1, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->changeItem((QListBoxItem*) QtSupport::getQt(env, arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_changeItem__Ljava_lang_String_2I(JNIEnv *env, jobject obj, jstring text, jint index)
{
static QString * _qstring_text = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->changeItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv *env, jobject obj, jobject pixmap, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->changeItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobject pixmap, jstring text, jint index)
{
static QString * _qstring_text = 0;
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->changeItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_takeItem(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->takeItem((QListBoxItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_numItemsVisible(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->numItemsVisible();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_currentItem(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->currentItem();
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setCurrentItem__I(JNIEnv *env, jobject obj, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setCurrentItem((int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setCurrentItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setCurrentItem((QListBoxItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_centerCurrentItem(JNIEnv *env, jobject obj)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->centerCurrentItem();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_topItem(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->topItem();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setTopItem(JNIEnv *env, jobject obj, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setTopItem((int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setBottomItem(JNIEnv *env, jobject obj, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setBottomItem((int) index);
	return;
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QListBox_maxItemWidth(JNIEnv *env, jobject obj)
{
	return (jlong) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->maxItemWidth();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setSelectionMode(JNIEnv *env, jobject obj, jint arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setSelectionMode((QListBox::SelectionMode) arg1);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setMultiSelection(JNIEnv *env, jobject obj, jboolean multi)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setMultiSelection((bool) multi);
	return;
}

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_isSelected__I(JNIEnv *env, jobject obj, jint arg1)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->isSelected((int) arg1);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_isSelected__Lorg_kde_qt_QListBoxItem_2(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->isSelected((QListBoxItem*) QtSupport::getQt(env, arg1));
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBox_sizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QListBoxJBridge*) 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_QListBox_minimumSizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QListBoxJBridge*) QtSupport::getQt(env, obj))->minimumSizeHint();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBox_item(JNIEnv *env, jobject obj, jint index)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListBoxJBridge*) QtSupport::getQt(env, obj))->item((int) index), "org.kde.qt.QListBoxItem");
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_index(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->index((QListBoxItem*) QtSupport::getQt(env, arg1));
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2I(JNIEnv *env, jobject obj, jstring text, jint compare)
{
static QString * _qstring_text = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListBoxJBridge*) QtSupport::getQt(env, obj))->findItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QListBox::ComparisonFlags) compare), "org.kde.qt.QListBoxItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text)
{
static QString * _qstring_text = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListBoxJBridge*) QtSupport::getQt(env, obj))->findItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), QListBox::BeginsWith), "org.kde.qt.QListBoxItem");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_triggerUpdate(JNIEnv *env, jobject obj, jboolean doLayout)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->triggerUpdate((bool) doLayout);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_itemVisible__I(JNIEnv *env, jobject obj, jint index)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->itemVisible((int) index);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_itemVisible__Lorg_kde_qt_QListBoxItem_2(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->itemVisible((QListBoxItem*) QtSupport::getQt(env, arg1));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setColumnMode(JNIEnv *env, jobject obj, jint arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setColumnMode((QListBox::LayoutMode) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setNumColumns(JNIEnv *env, jobject obj, jint arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setColumnMode((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setRowMode(JNIEnv *env, jobject obj, jint arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setRowMode((QListBox::LayoutMode) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setNumRows(JNIEnv *env, jobject obj, jint arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setRowMode((int) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_columnMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->columnMode();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_rowMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->rowMode();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_numColumns(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->numColumns();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_numRows(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->numRows();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_variableWidth(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->variableWidth();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setVariableWidth(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setVariableWidth((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_variableHeight(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->variableHeight();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setVariableHeight(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setVariableHeight((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_viewportPaintEvent(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->viewportPaintEvent((QPaintEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_dragSelect(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->dragSelect();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setDragSelect(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setDragSelect((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_autoScroll(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->autoScroll();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setAutoScroll(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setAutoScroll((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_autoScrollBar(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->autoScrollBar();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setAutoScrollBar(JNIEnv *env, jobject obj, jboolean enable)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setAutoScrollBar((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_scrollBar(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->scrollBar();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setScrollBar(JNIEnv *env, jobject obj, jboolean enable)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setScrollBar((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_autoBottomScrollBar(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->autoBottomScrollBar();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setAutoBottomScrollBar(JNIEnv *env, jobject obj, jboolean enable)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setAutoBottomScrollBar((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_bottomScrollBar(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->bottomScrollBar();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setBottomScrollBar(JNIEnv *env, jobject obj, jboolean enable)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setBottomScrollBar((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_smoothScrolling(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->smoothScrolling();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setSmoothScrolling(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setSmoothScrolling((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_autoUpdate(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->autoUpdate();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setAutoUpdate(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_setFixedVisibleLines(JNIEnv *env, jobject obj, jint lines)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->setFixedVisibleLines((int) lines);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_inSort__Lorg_kde_qt_QListBoxItem_2(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->inSort((QListBoxItem*) QtSupport::getQt(env, arg1));
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_inSort__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text)
{
static QString * _qstring_text = 0;
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->inSort((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text));
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_cellHeight__I(JNIEnv *env, jobject obj, jint i)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->cellHeight((int) i);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_cellHeight__(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->cellHeight();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_cellWidth__(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->cellWidth();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_cellWidth__I(JNIEnv *env, jobject obj, jint i)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->cellWidth((int) i);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_numCols(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->numCols();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_itemHeight__I(JNIEnv *env, jobject obj, jint index)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->itemHeight((int) index);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_itemHeight__(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->itemHeight(0);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBox_itemAt(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListBoxJBridge*) QtSupport::getQt(env, obj))->itemAt((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1)), "org.kde.qt.QListBoxItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBox_itemRect(JNIEnv *env, jobject obj, jobject item)
{
	QRect _r= ((QListBoxJBridge*) QtSupport::getQt(env, obj))->itemRect((QListBoxItem*) QtSupport::getQt(env, item));
	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_QListBox_firstItem(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QListBoxJBridge*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.QListBoxItem");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_sort__Z(JNIEnv *env, jobject obj, jboolean ascending)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->sort((bool) ascending);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_ensureCurrentVisible(JNIEnv *env, jobject obj)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->ensureCurrentVisible();
	return;
}

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_eventFilter(JNIEnv *env, jobject obj, jobject o, jobject e)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((QObject*) QtSupport::getQt(env, o), (QEvent*) QtSupport::getQt(env, e));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_updateItem__I(JNIEnv *env, jobject obj, jint index)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_updateItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((QListBoxItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_updateCellWidth(JNIEnv *env, jobject obj)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateCellWidth();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_totalWidth(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalWidth();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_totalHeight(JNIEnv *env, jobject obj)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalHeight();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_paintCell(JNIEnv *env, jobject obj, jobject arg1, jint row, jint col)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((QPainter*) QtSupport::getQt(env, arg1), (int) row, (int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_toggleCurrentItem(JNIEnv *env, jobject obj)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_toggleCurrentItem();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_isRubberSelecting(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_isRubberSelecting();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_doLayout(JNIEnv *env, jobject obj)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_doLayout();
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBox_itemYPos(JNIEnv *env, jobject obj, jint index, jintArray yPos)
{
	return (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemYPos((int) index,  (int*) QtSupport::toIntPtr(env, yPos));
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBox_findItem__I(JNIEnv *env, jobject obj, jint yPos)
{
	return (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_findItem((int) yPos);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBox_clearInputString(JNIEnv *env, jobject obj)
{
	((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_clearInputString();
	return;
}

