//Auto-generated by kalyptus. DO NOT EDIT.
#include <qdir.h>
#include <qfiledialog.h>
#include <qurl.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qurloperator.h>

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

class QFileDialogJBridge : public QFileDialog
{
public:
	QFileDialogJBridge(const QString& arg1,const QString& arg2,QWidget* arg3,const char* arg4,bool arg5) : QFileDialog(arg1,arg2,arg3,arg4,arg5) {};
	QFileDialogJBridge(const QString& arg1,const QString& arg2,QWidget* arg3,const char* arg4) : QFileDialog(arg1,arg2,arg3,arg4) {};
	QFileDialogJBridge(const QString& arg1,const QString& arg2,QWidget* arg3) : QFileDialog(arg1,arg2,arg3) {};
	QFileDialogJBridge(const QString& arg1,const QString& arg2) : QFileDialog(arg1,arg2) {};
	QFileDialogJBridge(const QString& arg1) : QFileDialog(arg1) {};
	QFileDialogJBridge(QWidget* arg1,const char* arg2,bool arg3) : QFileDialog(arg1,arg2,arg3) {};
	QFileDialogJBridge(QWidget* arg1,const char* arg2) : QFileDialog(arg1,arg2) {};
	QFileDialogJBridge(QWidget* arg1) : QFileDialog(arg1) {};
	QFileDialogJBridge() : QFileDialog() {};
	void protected_resizeEvent(QResizeEvent* arg1) {
		QFileDialog::resizeEvent(arg1);
		return;
	}
	void protected_keyPressEvent(QKeyEvent* arg1) {
		QFileDialog::keyPressEvent(arg1);
		return;
	}
	void protected_addWidgets(QLabel* arg1,QWidget* arg2,QPushButton* arg3) {
		QFileDialog::addWidgets(arg1,arg2,arg3);
		return;
	}
	void protected_addToolButton(QButton* arg1,bool arg2) {
		QFileDialog::addToolButton(arg1,arg2);
		return;
	}
	void protected_addToolButton(QButton* arg1) {
		QFileDialog::addToolButton(arg1);
		return;
	}
	void protected_addLeftWidget(QWidget* arg1) {
		QFileDialog::addLeftWidget(arg1);
		return;
	}
	void protected_addRightWidget(QWidget* arg1) {
		QFileDialog::addRightWidget(arg1);
		return;
	}
	~QFileDialogJBridge() {QtSupport::qtKeyDeleted(this);}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const QRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.QRegion")) {
			QWidget::setMask(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.QResizeEvent")) {
			QFileDialog::resizeEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void paletteChange(const QPalette& arg1) {
		if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.QPalette")) {
			QWidget::paletteChange(arg1);
		}
		return;
	}
	void accept() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","accept")) {
			QDialog::accept();
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","setActiveWindow")) {
			QWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","setFocus")) {
			QWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void styleChange(QStyle& arg1) {
		if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.QStyle")) {
			QWidget::styleChange(arg1);
		}
		return;
	}
	void setPaletteBackgroundColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void setEraseColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setEraseColor(arg1);
		}
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.QPaintEvent")) {
			QWidget::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","unsetCursor")) {
			QWidget::unsetCursor();
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","polish")) {
			QWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","showMaximized")) {
			QWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) {
			QFileDialog::keyPressEvent(arg1);
		}
		return;
	}
	bool customWhatsThis() {
		return QtSupport::booleanDelegate(this,"customWhatsThis");
	}
	void setPaletteBackgroundPixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setCursor(const QCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.QCursor")) {
			QWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.QCloseEvent")) {
			QDialog::closeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setIcon(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","updateMask")) {
			QWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","showNormal")) {
			QWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QWidget::mousePressEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(QWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.QWidget")) {
			QWidget::setFocusProxy(arg1);
		}
		return;
	}
	void fontChange(const QFont& arg1) {
		if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.QFont")) {
			QWidget::fontChange(arg1);
		}
		return;
	}
	void setBackgroundColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","adjustSize")) {
			QWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) {
			QWidget::focusInEvent(arg1);
		}
		return;
	}
	void reject() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","reject")) {
			QDialog::reject();
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.QContextMenuEvent")) {
			QDialog::contextMenuEvent(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QFileDialog","showMinimized")) {
			QWidget::showMinimized();
		}
		return;
	}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_addFilter(JNIEnv* env, jobject obj, jstring filter)
{
static QString* _qstring_filter = 0;
	((QFileDialog*) QtSupport::getQt(env, obj))->addFilter((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_addLeftWidget(JNIEnv* env, jobject obj, jobject w)
{
	((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addLeftWidget((QWidget*) QtSupport::getQt(env, w));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_addRightWidget(JNIEnv* env, jobject obj, jobject w)
{
	((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addRightWidget((QWidget*) QtSupport::getQt(env, w));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2(JNIEnv* env, jobject obj, jobject b)
{
	((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((QButton*) QtSupport::getQt(env, b));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2Z(JNIEnv* env, jobject obj, jobject b, jboolean separator)
{
	((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((QButton*) QtSupport::getQt(env, b), (bool) separator);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_addWidgets(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3)
{
	((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addWidgets((QLabel*) QtSupport::getQt(env, arg1), (QWidget*) QtSupport::getQt(env, arg2), (QPushButton*) QtSupport::getQt(env, arg3));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((QFileDialog*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_dir(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QFileDialog*) QtSupport::getQt(env, obj))->dir(), "org.kde.qt.QDir");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QFileDialog_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_done(JNIEnv* env, jobject obj, jint arg1)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->done((int) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QFileDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	jboolean xret = (jboolean) ((QFileDialog*) QtSupport::getQt(env, obj))->eventFilter((QObject*) QtSupport::getQt(env, arg1), (QEvent*) QtSupport::getQt(env, arg2));
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getExistingDirectory__(JNIEnv* env, jclass cls)
{
	QString  _qstring;
	(void) cls;
	_qstring = QFileDialogJBridge::getExistingDirectory();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_dir = 0;
	_qstring = QFileDialogJBridge::getExistingDirectory((const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring dir, jobject parent)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_dir = 0;
	_qstring = QFileDialogJBridge::getExistingDirectory((const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
	_qstring = QFileDialogJBridge::getExistingDirectory((const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
	_qstring = QFileDialogJBridge::getExistingDirectory((const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption, jboolean dirOnly)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
	_qstring = QFileDialogJBridge::getExistingDirectory((const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (bool) dirOnly);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption, jboolean dirOnly, jboolean resolveSymlinks)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
	_qstring = QFileDialogJBridge::getExistingDirectory((const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (bool) dirOnly, (bool) resolveSymlinks);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__(JNIEnv* env, jclass cls)
{
	QString  _qstring;
	(void) cls;
	_qstring = QFileDialogJBridge::getOpenFileName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
	_qstring = QFileDialogJBridge::getOpenFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
	_qstring = QFileDialogJBridge::getOpenFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
	_qstring = QFileDialogJBridge::getOpenFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
	_qstring = QFileDialogJBridge::getOpenFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
	_qstring = QFileDialogJBridge::getOpenFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_selectedFilter = 0;
	_qstring = QFileDialogJBridge::getOpenFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter));
	QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_selectedFilter = 0;
	_qstring = QFileDialogJBridge::getOpenFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks);
	QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__(JNIEnv* env, jclass cls)
{
	QStringList  _qlist;
	(void) cls;
	_qlist = QFileDialogJBridge::getOpenFileNames();
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter)
{
	QStringList  _qlist;
	(void) cls;
static QString* _qstring_filter = 0;
	_qlist = QFileDialogJBridge::getOpenFileNames((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir)
{
	QStringList  _qlist;
	(void) cls;
static QString* _qstring_filter = 0;
static QString* _qstring_dir = 0;
	_qlist = QFileDialogJBridge::getOpenFileNames((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir));
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent)
{
	QStringList  _qlist;
	(void) cls;
static QString* _qstring_filter = 0;
static QString* _qstring_dir = 0;
	_qlist = QFileDialogJBridge::getOpenFileNames((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent));
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name)
{
	QStringList  _qlist;
	(void) cls;
static QString* _qstring_filter = 0;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
	_qlist = QFileDialogJBridge::getOpenFileNames((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption)
{
	QStringList  _qlist;
	(void) cls;
static QString* _qstring_filter = 0;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
	_qlist = QFileDialogJBridge::getOpenFileNames((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption));
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption, jobject selectedFilter)
{
	QStringList  _qlist;
	(void) cls;
static QString* _qstring_filter = 0;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_selectedFilter = 0;
	_qlist = QFileDialogJBridge::getOpenFileNames((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter));
	QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks)
{
	QStringList  _qlist;
	(void) cls;
static QString* _qstring_filter = 0;
static QString* _qstring_dir = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_selectedFilter = 0;
	_qlist = QFileDialogJBridge::getOpenFileNames((const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks);
	QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__(JNIEnv* env, jclass cls)
{
	QString  _qstring;
	(void) cls;
	_qstring = QFileDialogJBridge::getSaveFileName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
	_qstring = QFileDialogJBridge::getSaveFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
	_qstring = QFileDialogJBridge::getSaveFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
	_qstring = QFileDialogJBridge::getSaveFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
	_qstring = QFileDialogJBridge::getSaveFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
	_qstring = QFileDialogJBridge::getSaveFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_selectedFilter = 0;
	_qstring = QFileDialogJBridge::getSaveFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter));
	QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_initially = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_selectedFilter = 0;
	_qstring = QFileDialogJBridge::getSaveFileName((const QString&)*(QString*) QtSupport::toQString(env, initially, &_qstring_initially), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks);
	QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_iconProvider(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)QFileDialogJBridge::iconProvider(), "org.kde.qt.QFileIconProvider");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QFileDialog_isContentsPreviewEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QFileDialog*) QtSupport::getQt(env, obj))->isContentsPreviewEnabled();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QFileDialog_isInfoPreviewEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QFileDialog*) QtSupport::getQt(env, obj))->isInfoPreviewEnabled();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((QKeyEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QFileDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QFileDialog_mode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QFileDialog*) QtSupport::getQt(env, obj))->mode();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName)
{
static QString* _qstring_dirName = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QFileDialogJBridge((const QString&)*(QString*) QtSupport::toQString(env, dirName, &_qstring_dirName)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter)
{
static QString* _qstring_dirName = 0;
static QString* _qstring_filter = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QFileDialogJBridge((const QString&)*(QString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent)
{
static QString* _qstring_dirName = 0;
static QString* _qstring_filter = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QFileDialogJBridge((const QString&)*(QString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name)
{
static QString* _qstring_dirName = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QFileDialogJBridge((const QString&)*(QString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name, jboolean modal)
{
static QString* _qstring_dirName = 0;
static QString* _qstring_filter = 0;
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QFileDialogJBridge((const QString&)*(QString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const QString&)*(QString*) QtSupport::toQString(env, filter, &_qstring_filter), (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_newQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QFileDialogJBridge((QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QFileDialog_previewMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QFileDialog*) QtSupport::getQt(env, obj))->previewMode();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_rereadDir(JNIEnv* env, jobject obj)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->rereadDir();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((QResizeEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_resortDir(JNIEnv* env, jobject obj)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->resortDir();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_selectAll(JNIEnv* env, jobject obj, jboolean b)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->selectAll((bool) b);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_selectedFiles(JNIEnv* env, jobject obj)
{
	QStringList  _qlist;
	_qlist = ((QFileDialog*) QtSupport::getQt(env, obj))->selectedFiles();
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setContentsPreviewEnabled(JNIEnv* env, jobject obj, jboolean arg1)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setContentsPreviewEnabled((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setContentsPreview(JNIEnv* env, jobject obj, jobject w, jobject preview)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setContentsPreview((QWidget*) QtSupport::getQt(env, w), (QFilePreview*) QtSupport::getQt(env, preview));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((QFileDialog*) QtSupport::getQt(env, obj))->setDir((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setDir__Lorg_kde_qt_QDir_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setDir((const QDir&)*(const QDir*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setFilter(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((QFileDialog*) QtSupport::getQt(env, obj))->setFilter((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setFilters__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((QFileDialog*) QtSupport::getQt(env, obj))->setFilters((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setFilters___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setFilters((const char**) QtSupport::toStringArray(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setIconProvider(JNIEnv* env, jclass cls, jobject arg1)
{
	(void) cls;
	QFileDialogJBridge::setIconProvider((QFileIconProvider*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setInfoPreviewEnabled(JNIEnv* env, jobject obj, jboolean arg1)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setInfoPreviewEnabled((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setInfoPreview(JNIEnv* env, jobject obj, jobject w, jobject preview)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setInfoPreview((QWidget*) QtSupport::getQt(env, w), (QFilePreview*) QtSupport::getQt(env, preview));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setMode(JNIEnv* env, jobject obj, jint arg1)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setMode((QFileDialog::Mode) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setPreviewMode(JNIEnv* env, jobject obj, jint m)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setPreviewMode((QFileDialog::PreviewMode) m);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setSelectedFilter__I(JNIEnv* env, jobject obj, jint arg1)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setSelectedFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((QFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setSelection(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((QFileDialog*) QtSupport::getQt(env, obj))->setSelection((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setShowHiddenFiles(JNIEnv* env, jobject obj, jboolean s)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setShowHiddenFiles((bool) s);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setUrl(JNIEnv* env, jobject obj, jobject url)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setUrl((const QUrlOperator&)*(const QUrlOperator*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QFileDialog_setViewMode(JNIEnv* env, jobject obj, jint m)
{
	((QFileDialog*) QtSupport::getQt(env, obj))->setViewMode((QFileDialog::ViewMode) m);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QFileDialog_showHiddenFiles(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QFileDialog*) QtSupport::getQt(env, obj))->showHiddenFiles();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
	_qstring = QFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
static QCString* _qstring_arg2 = 0;
	_qstring = QFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFileDialog_url(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QUrl(((QFileDialog*) QtSupport::getQt(env, obj))->url()), "org.kde.qt.QUrlInterface", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QFileDialog_viewMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QFileDialog*) QtSupport::getQt(env, obj))->viewMode();
	return xret;
}

