//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqdir.h>
#include <tqfiledialog.h>
#include <tqurl.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqurloperator.h>

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

class TQFileDialogJBridge : public TQFileDialog
{
public:
	TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : TQFileDialog(arg1,arg2,arg3,arg4,arg5) {};
	TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQFileDialog(arg1,arg2,arg3,arg4) {};
	TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQFileDialog(arg1,arg2,arg3) {};
	TQFileDialogJBridge(const TQString& arg1,const TQString& arg2) : TQFileDialog(arg1,arg2) {};
	TQFileDialogJBridge(const TQString& arg1) : TQFileDialog(arg1) {};
	TQFileDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQFileDialog(arg1,arg2,arg3) {};
	TQFileDialogJBridge(TQWidget* arg1,const char* arg2) : TQFileDialog(arg1,arg2) {};
	TQFileDialogJBridge(TQWidget* arg1) : TQFileDialog(arg1) {};
	TQFileDialogJBridge() : TQFileDialog() {};
	void protected_resizeEvent(TQResizeEvent* arg1) {
		TQFileDialog::resizeEvent(arg1);
		return;
	}
	void protected_keyPressEvent(TQKeyEvent* arg1) {
		TQFileDialog::keyPressEvent(arg1);
		return;
	}
	void protected_addWidgets(TQLabel* arg1,TQWidget* arg2,TQPushButton* arg3) {
		TQFileDialog::addWidgets(arg1,arg2,arg3);
		return;
	}
	void protected_addToolButton(TQButton* arg1,bool arg2) {
		TQFileDialog::addToolButton(arg1,arg2);
		return;
	}
	void protected_addToolButton(TQButton* arg1) {
		TQFileDialog::addToolButton(arg1);
		return;
	}
	void protected_addLeftWidget(TQWidget* arg1) {
		TQFileDialog::addLeftWidget(arg1);
		return;
	}
	void protected_addRightWidget(TQWidget* arg1) {
		TQFileDialog::addRightWidget(arg1);
		return;
	}
	~TQFileDialogJBridge() {QtSupport::qtKeyDeleted(this);}
	void dragLeaveEvent(TQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragLeaveEvent")) {
			TQWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const TQRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.trinitydesktop.qt.TQRegion")) {
			TQWidget::setMask(arg1);
		}
		return;
	}
	void resizeEvent(TQResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.trinitydesktop.qt.TQResizeEvent")) {
			TQFileDialog::resizeEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void paletteChange(const TQPalette& arg1) {
		if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.trinitydesktop.qt.TQPalette")) {
			TQWidget::paletteChange(arg1);
		}
		return;
	}
	void accept() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","accept")) {
			TQDialog::accept();
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","setActiveWindow")) {
			TQWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(TQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragEnterEvent")) {
			TQWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void focusOutEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
			TQWidget::focusOutEvent(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","setFocus")) {
			TQWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(TQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragMoveEvent")) {
			TQWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void styleChange(TQStyle& arg1) {
		if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.trinitydesktop.qt.TQStyle")) {
			TQWidget::styleChange(arg1);
		}
		return;
	}
	void setPaletteBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void setEraseColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setEraseColor(arg1);
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void paintEvent(TQPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.trinitydesktop.qt.TQPaintEvent")) {
			TQWidget::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imStartEvent(arg1);
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","unsetCursor")) {
			TQWidget::unsetCursor();
		}
		return;
	}
	void hideEvent(TQHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.trinitydesktop.qt.TQHideEvent")) {
			TQWidget::hideEvent(arg1);
		}
		return;
	}
	void moveEvent(TQMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMoveEvent")) {
			TQWidget::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","polish")) {
			TQWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","showMaximized")) {
			TQWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(TQShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.trinitydesktop.qt.TQShowEvent")) {
			TQWidget::showEvent(arg1);
		}
		return;
	}
	void keyPressEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
			TQFileDialog::keyPressEvent(arg1);
		}
		return;
	}
	bool customWhatsThis() {
		return QtSupport::booleanDelegate(this,"customWhatsThis");
	}
	void setPaletteBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setCursor(const TQCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.trinitydesktop.qt.TQCursor")) {
			TQWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(TQCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.trinitydesktop.qt.TQCloseEvent")) {
			TQDialog::closeEvent(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void enterEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
			TQWidget::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(TQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.trinitydesktop.qt.TQDropEvent")) {
			TQWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
			TQWidget::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setIcon(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","updateMask")) {
			TQWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","showNormal")) {
			TQWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imComposeEvent(arg1);
		}
		return;
	}
	void mousePressEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mousePressEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TQWidget::setFocusProxy(arg1);
		}
		return;
	}
	void fontChange(const TQFont& arg1) {
		if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.trinitydesktop.qt.TQFont")) {
			TQWidget::fontChange(arg1);
		}
		return;
	}
	void setBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","adjustSize")) {
			TQWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(TQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.trinitydesktop.qt.TQWheelEvent")) {
			TQWidget::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
			TQWidget::focusInEvent(arg1);
		}
		return;
	}
	void reject() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","reject")) {
			TQDialog::reject();
		}
		return;
	}
	void tabletEvent(TQTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.trinitydesktop.qt.TQTabletEvent")) {
			TQWidget::tabletEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
			TQWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(TQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.trinitydesktop.qt.TQContextMenuEvent")) {
			TQDialog::contextMenuEvent(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQFileDialog","showMinimized")) {
			TQWidget::showMinimized();
		}
		return;
	}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_addFilter(JNIEnv* env, jobject obj, jstring filter)
{
static TQString* _qstring_filter = 0;
	((TQFileDialog*) QtSupport::getQt(env, obj))->addFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_addLeftWidget(JNIEnv* env, jobject obj, jobject w)
{
	((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addLeftWidget((TQWidget*) QtSupport::getQt(env, w));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_addRightWidget(JNIEnv* env, jobject obj, jobject w)
{
	((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addRightWidget((TQWidget*) QtSupport::getQt(env, w));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_addToolButton__Lorg_trinitydesktop_qt_QButton_2(JNIEnv* env, jobject obj, jobject b)
{
	((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TQButton*) QtSupport::getQt(env, b));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_addWidgets(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3)
{
	((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addWidgets((TQLabel*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2), (TQPushButton*) QtSupport::getQt(env, arg3));
	return;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_dirPath(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->dirPath();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_dir(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileDialog*) QtSupport::getQt(env, obj))->dir(), "org.trinitydesktop.qt.TQDir");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QFileDialog_finalize(env, obj);
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QFileDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQFileDialog*)QtSupport::getQt(env, obj))->parentWidget(true) == 0) {
		delete (TQFileDialog*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getExistingDirectory__(JNIEnv* env, jclass cls)
{
	TQString  _qstring;
	(void) cls;
	_qstring = TQFileDialogJBridge::getExistingDirectory();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_dir = 0;
	_qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring dir, jobject parent)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_dir = 0;
	_qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
	_qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
	_qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption, jboolean dirOnly)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
	_qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) dirOnly);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_trinitydesktop_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)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
	_qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) dirOnly, (bool) resolveSymlinks);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__(JNIEnv* env, jclass cls)
{
	TQString  _qstring;
	(void) cls;
	_qstring = TQFileDialogJBridge::getOpenFileName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
	_qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
	_qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
	_qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
	_qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
	_qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_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)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_selectedFilter = 0;
	_qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_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)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_selectedFilter = 0;
	_qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__(JNIEnv* env, jclass cls)
{
	TQStringList  _qlist;
	(void) cls;
	_qlist = TQFileDialogJBridge::getOpenFileNames();
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_filter = 0;
	_qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_filter = 0;
static TQString* _qstring_dir = 0;
	_qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_filter = 0;
static TQString* _qstring_dir = 0;
	_qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_filter = 0;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
	_qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_filter = 0;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
	_qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_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)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_filter = 0;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_selectedFilter = 0;
	_qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_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)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_filter = 0;
static TQString* _qstring_dir = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_selectedFilter = 0;
	_qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__(JNIEnv* env, jclass cls)
{
	TQString  _qstring;
	(void) cls;
	_qstring = TQFileDialogJBridge::getSaveFileName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
	_qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
	_qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
	_qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
	_qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
	_qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_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)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_selectedFilter = 0;
	_qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_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)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_initially = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_selectedFilter = 0;
	_qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_iconProvider(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)TQFileDialogJBridge::iconProvider(), "org.trinitydesktop.qt.TQFileIconProvider");
	return xret;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName)
{
static TQString* _qstring_dirName = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent)
{
static TQString* _qstring_dirName = 0;
static TQString* _qstring_filter = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name)
{
static TQString* _qstring_dirName = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) 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_trinitydesktop_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name, jboolean modal)
{
static TQString* _qstring_dirName = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) 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_trinitydesktop_qt_QFileDialog_newTQFileDialog__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_newTQFileDialog__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQFileDialogJBridge((TQWidget*) 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_trinitydesktop_qt_QFileDialog_newTQFileDialog__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQFileDialogJBridge((TQWidget*) 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_trinitydesktop_qt_QFileDialog_previewMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->previewMode();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_selectedFile(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFile();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_selectedFiles(JNIEnv* env, jobject obj)
{
	TQStringList  _qlist;
	_qlist = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFiles();
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_selectedFilter(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFilter();
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setContentsPreview(JNIEnv* env, jobject obj, jobject w, jobject preview)
{
	((TQFileDialog*) QtSupport::getQt(env, obj))->setContentsPreview((TQWidget*) QtSupport::getQt(env, w), (TQFilePreview*) QtSupport::getQt(env, preview));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQFileDialog*) QtSupport::getQt(env, obj))->setDir((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setFilter(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQFileDialog*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setFilters__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQFileDialog*) QtSupport::getQt(env, obj))->setFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setIconProvider(JNIEnv* env, jclass cls, jobject arg1)
{
	(void) cls;
	TQFileDialogJBridge::setIconProvider((TQFileIconProvider*) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setInfoPreview(JNIEnv* env, jobject obj, jobject w, jobject preview)
{
	((TQFileDialog*) QtSupport::getQt(env, obj))->setInfoPreview((TQWidget*) QtSupport::getQt(env, w), (TQFilePreview*) QtSupport::getQt(env, preview));
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setSelectedFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QFileDialog_setSelection(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQFileDialog*) QtSupport::getQt(env, obj))->setSelection((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
	_qstring = TQFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QFileDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_arg2 = 0;
	_qstring = TQFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QFileDialog_url(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUrl(((TQFileDialog*) QtSupport::getQt(env, obj))->url()), "org.trinitydesktop.qt.TQUrlInterface", true);
	return xret;
}

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

