//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdefiledialog.h>
#include <kmimetype.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <kurl.h>
#include <tdefile.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KFileDialog.h>

class KFileDialogJBridge : public KFileDialog
{
public:
	KFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : KFileDialog(arg1,arg2,arg3,arg4,arg5) {};
	KFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5,TQWidget* arg6) : KFileDialog(arg1,arg2,arg3,arg4,arg5,arg6) {};
	void public_show() {
		KFileDialog::show();
		return;
	}
	void protected_keyPressEvent(TQKeyEvent* arg1) {
		KFileDialog::keyPressEvent(arg1);
		return;
	}
	void protected_init(const TQString& arg1,const TQString& arg2,TQWidget* arg3) {
		KFileDialog::init(arg1,arg2,arg3);
		return;
	}
	void protected_initGUI() {
		KFileDialog::initGUI();
		return;
	}
	void protected_multiSelectionChanged() {
		KFileDialog::multiSelectionChanged();
		return;
	}
	void protected_readConfig(TDEConfig* arg1,const TQString& arg2) {
		KFileDialog::readConfig(arg1,arg2);
		return;
	}
	void protected_readConfig(TDEConfig* arg1) {
		KFileDialog::readConfig(arg1);
		return;
	}
	void protected_writeConfig(TDEConfig* arg1,const TQString& arg2) {
		KFileDialog::writeConfig(arg1,arg2);
		return;
	}
	void protected_writeConfig(TDEConfig* arg1) {
		KFileDialog::writeConfig(arg1);
		return;
	}
	void protected_readRecentFiles(TDEConfig* arg1) {
		KFileDialog::readRecentFiles(arg1);
		return;
	}
	void protected_saveRecentFiles(TDEConfig* arg1) {
		KFileDialog::saveRecentFiles(arg1);
		return;
	}
	KURL::List protected_tokenize(const TQString& arg1) {
		return (KURL::List) KFileDialog::tokenize(arg1);
	}
	KURL protected_getCompleteURL(const TQString& arg1) {
		return (KURL) KFileDialog::getCompleteURL(arg1);
	}
	TQString protected_currentFilterExtension() {
		return (TQString) KFileDialog::currentFilterExtension();
	}
	void protected_updateAutoSelectExtension() {
		KFileDialog::updateAutoSelectExtension();
		return;
	}
	KURL::List& protected_parseSelectedURLs() {
		return (KURL::List&) KFileDialog::parseSelectedURLs();
	}
	void protected_urlEntered(const KURL& arg1) {
		KFileDialog::urlEntered(arg1);
		return;
	}
	void protected_enterURL(const KURL& arg1) {
		KFileDialog::enterURL(arg1);
		return;
	}
	void protected_enterURL(const TQString& arg1) {
		KFileDialog::enterURL(arg1);
		return;
	}
	void protected_locationActivated(const TQString& arg1) {
		KFileDialog::locationActivated(arg1);
		return;
	}
	void protected_slotFilterChanged() {
		KFileDialog::slotFilterChanged();
		return;
	}
	void protected_fileHighlighted(const KFileItem* arg1) {
		KFileDialog::fileHighlighted(arg1);
		return;
	}
	void protected_fileSelected(const KFileItem* arg1) {
		KFileDialog::fileSelected(arg1);
		return;
	}
	void protected_slotStatResult(TDEIO::Job* arg1) {
		KFileDialog::slotStatResult(arg1);
		return;
	}
	void protected_slotLoadingFinished() {
		KFileDialog::slotLoadingFinished();
		return;
	}
	void protected_fileCompletion(const TQString& arg1) {
		KFileDialog::fileCompletion(arg1);
		return;
	}
	void protected_toggleSpeedbar(bool arg1) {
		KFileDialog::toggleSpeedbar(arg1);
		return;
	}
	void protected_toggleBookmarks(bool arg1) {
		KFileDialog::toggleBookmarks(arg1);
		return;
	}
	void protected_slotOk() {
		KFileDialog::slotOk();
		return;
	}
	void protected_accept() {
		KFileDialog::accept();
		return;
	}
	void protected_slotCancel() {
		KFileDialog::slotCancel();
		return;
	}
	void protected_slotAutoSelectExtClicked() {
		KFileDialog::slotAutoSelectExtClicked();
		return;
	}
	void protected_addToRecentDocuments() {
		KFileDialog::addToRecentDocuments();
		return;
	}
	void protected_initSpeedbar() {
		KFileDialog::initSpeedbar();
		return;
	}
	~KFileDialogJBridge() {QtSupport::qtKeyDeleted(this);}
	void saveRecentFiles(TDEConfig* arg1) {
		if (!QtSupport::eventDelegate(this,"saveRecentFiles",(void*)arg1,"org.trinitydesktop.koala.TDEConfig")) {
			KFileDialog::saveRecentFiles(arg1);
		}
		return;
	}
	void dragLeaveEvent(TQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragLeaveEvent")) {
			TQWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void slotDetails() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotDetails")) {
			KDialogBase::slotDetails();
		}
		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")) {
			TQDialog::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.koala.KFileDialog","accept")) {
			KFileDialog::accept();
		}
		return;
	}
	void slotHelp() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotHelp")) {
			KDialogBase::slotHelp();
		}
		return;
	}
	void slotNo() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotNo")) {
			KDialogBase::slotNo();
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","setActiveWindow")) {
			TQWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(TQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragEnterEvent")) {
			TQWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void show() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","show")) {
			KFileDialog::show();
		}
		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.koala.KFileDialog","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 slotDefault() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotDefault")) {
			KDialogBase::slotDefault();
		}
		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 slotUser3() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotUser3")) {
			KDialogBase::slotUser3();
		}
		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.koala.KFileDialog","unsetCursor")) {
			TQWidget::unsetCursor();
		}
		return;
	}
	void hideEvent(TQHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.trinitydesktop.qt.TQHideEvent")) {
			KDialogBase::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.koala.KFileDialog","polish")) {
			KDialog::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","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 initGUI() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","initGUI")) {
			KFileDialog::initGUI();
		}
		return;
	}
	void keyPressEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
			KFileDialog::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")) {
			KDialogBase::closeEvent(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void slotApply() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotApply")) {
			KDialogBase::slotApply();
		}
		return;
	}
	void slotClose() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotClose")) {
			KDialogBase::slotClose();
		}
		return;
	}
	void slotCancel() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotCancel")) {
			KFileDialog::slotCancel();
		}
		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 readRecentFiles(TDEConfig* arg1) {
		if (!QtSupport::eventDelegate(this,"readRecentFiles",(void*)arg1,"org.trinitydesktop.koala.TDEConfig")) {
			KFileDialog::readRecentFiles(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.koala.KFileDialog","updateMask")) {
			TQWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","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.koala.KFileDialog","adjustSize")) {
			KDialogBase::adjustSize();
		}
		return;
	}
	void wheelEvent(TQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.trinitydesktop.qt.TQWheelEvent")) {
			TQWidget::wheelEvent(arg1);
		}
		return;
	}
	void slotUser1() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotUser1")) {
			KDialogBase::slotUser1();
		}
		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.koala.KFileDialog","reject")) {
			TQDialog::reject();
		}
		return;
	}
	void slotTry() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotTry")) {
			KDialogBase::slotTry();
		}
		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 slotYes() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotYes")) {
			KDialogBase::slotYes();
		}
		return;
	}
	void slotOk() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotOk")) {
			KFileDialog::slotOk();
		}
		return;
	}
	void slotUser2() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","slotUser2")) {
			KDialogBase::slotUser2();
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KFileDialog","showMinimized")) {
			TQWidget::showMinimized();
		}
		return;
	}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_accept(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_actionCollection(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->actionCollection(), "org.trinitydesktop.koala.TDEActionCollection");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_addToRecentDocuments(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToRecentDocuments();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_baseURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialog*) QtSupport::getQt(env, obj))->baseURL()), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_cancelButton(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->cancelButton(), "org.trinitydesktop.koala.KPushButton");
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_clearFilter(JNIEnv* env, jobject obj)
{
	((KFileDialog*) QtSupport::getQt(env, obj))->clearFilter();
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KFileDialog_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_enterURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_enterURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_enterURL__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_enterURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_fileHighlighted(JNIEnv* env, jobject obj, jobject i)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileHighlighted((const KFileItem*) QtSupport::getQt(env, i));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_fileSelected(JNIEnv* env, jobject obj, jobject i)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileSelected((const KFileItem*) QtSupport::getQt(env, i));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getCompleteURL(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_getCompleteURL((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
	_qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir));
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_caption = 0;
	_qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getExistingURL__(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL()), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getExistingURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_caption = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getImageOpenURL__(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL()), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_caption = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenFileNameWId(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jlong parent_id, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	_qstring = KFileDialogJBridge::getOpenFileNameWId((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
	_qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	_qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	_qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (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_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	_qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_startDir = 0;
	_qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption)
{
	TQStringList  _qlist;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	_qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURL__(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL()), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURLs__(JNIEnv* env, jclass cls)
{
	KURL::List  _qlist;
	(void) cls;
	_qlist = KFileDialogJBridge::getOpenURLs();
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	KURL::List  _qlist;
	(void) cls;
static TQString* _qstring_startDir = 0;
	_qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir));
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter)
{
	KURL::List  _qlist;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	_qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent)
{
	KURL::List  _qlist;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	_qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent));
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption)
{
	KURL::List  _qlist;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	_qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveFileNameWId(JNIEnv* env, jclass cls, jstring dir, jstring filter, jlong parent_id, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_dir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	_qstring = KFileDialogJBridge::getSaveFileNameWId((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
	_qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	_qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	_qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (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_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	_qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveURL__(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL()), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQString* _qstring_caption = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_getStartURL(JNIEnv* env, jclass cls, jstring startDir, jobject recentDirClass)
{
	(void) cls;
static TQString* _qstring_startDir = 0;
static TQString* _qstring_recentDirClass = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getStartURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, recentDirClass, &_qstring_recentDirClass))), "org.trinitydesktop.koala.KURL", TRUE);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_recentDirClass, recentDirClass);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_initGUI(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_initGUI();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_initSpeedbar(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_initSpeedbar();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_init(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject widget)
{
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, widget));
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileDialog_keepsLocation(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KFileDialog*) QtSupport::getQt(env, obj))->keepsLocation();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject e)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_locationActivated(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_locationActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_multiSelectionChanged(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_multiSelectionChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject parent, jstring name, jboolean modal)
{
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (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_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2ZLorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject parent, jstring name, jboolean modal, jobject widget)
{
static TQString* _qstring_startDir = 0;
static TQString* _qstring_filter = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (TQWidget*) QtSupport::getQt(env, widget)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_okButton(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->okButton(), "org.trinitydesktop.koala.KPushButton");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KFileDialog_operationMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->operationMode();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_parseSelectedURLs(JNIEnv* env, jobject obj)
{
	KURL::List  _qlist;
	_qlist = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_parseSelectedURLs();
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KFileDialog_pathComboIndex(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->pathComboIndex();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_readConfig__Lorg_trinitydesktop_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readConfig((TDEConfig*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_readConfig__Lorg_trinitydesktop_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group)
{
static TQString* _qstring_group = 0;
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_readRecentFiles(JNIEnv* env, jobject obj, jobject arg1)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readRecentFiles((TDEConfig*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_saveRecentFiles(JNIEnv* env, jobject obj, jobject arg1)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_saveRecentFiles((TDEConfig*) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_selectedURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialog*) QtSupport::getQt(env, obj))->selectedURL()), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_selectedURLs(JNIEnv* env, jobject obj)
{
	KURL::List  _qlist;
	_qlist = ((KFileDialog*) QtSupport::getQt(env, obj))->selectedURLs();
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setKeepLocation(JNIEnv* env, jobject obj, jboolean keep)
{
	((KFileDialog*) QtSupport::getQt(env, obj))->setKeepLocation((bool) keep);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setLocationLabel(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((KFileDialog*) QtSupport::getQt(env, obj))->setLocationLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray types)
{
static TQStringList* _qlist_types = 0;
	((KFileDialog*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray types, jstring defaultType)
{
static TQStringList* _qlist_types = 0;
static TQString* _qstring_defaultType = 0;
	((KFileDialog*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types), (const TQString&)*(TQString*) QtSupport::toTQString(env, defaultType, &_qstring_defaultType));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setMode(JNIEnv* env, jobject obj, jint m)
{
	((KFileDialog*) QtSupport::getQt(env, obj))->setMode((KFile::Mode) m);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setOperationMode(JNIEnv* env, jobject obj, jint arg1)
{
	((KFileDialog*) QtSupport::getQt(env, obj))->setOperationMode((KFileDialog::OperationMode) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setPreviewWidget(JNIEnv* env, jobject obj, jobject w)
{
	((KFileDialog*) QtSupport::getQt(env, obj))->setPreviewWidget((const KPreviewWidgetBase*) QtSupport::getQt(env, w));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setSelection(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	((KFileDialog*) QtSupport::getQt(env, obj))->setSelection((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setStartDir(JNIEnv* env, jclass cls, jobject directory)
{
	(void) cls;
	KFileDialogJBridge::setStartDir((const KURL&)*(const KURL*) QtSupport::getQt(env, directory));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setURL__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	((KFileDialog*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_setURL__Lorg_trinitydesktop_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean clearforward)
{
	((KFileDialog*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) clearforward);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_show(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->public_show();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_slotAutoSelectExtClicked(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelectExtClicked();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_slotCancel(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_slotFilterChanged(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotFilterChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_slotLoadingFinished(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotLoadingFinished();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_slotOk(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_slotStatResult(JNIEnv* env, jobject obj, jobject job)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((TDEIO::Job*) QtSupport::getQt(env, job));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_speedBar(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->speedBar(), "org.trinitydesktop.koala.KURLBar");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_toggleBookmarks(JNIEnv* env, jobject obj, jboolean show)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_toggleBookmarks((bool) show);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_toggleSpeedbar(JNIEnv* env, jobject obj, jboolean arg1)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_toggleSpeedbar((bool) arg1);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_tokenize(JNIEnv* env, jobject obj, jstring line)
{
	KURL::List  _qlist;
static TQString* _qstring_line = 0;
	_qlist = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_tokenize((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line));
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileDialog_toolBar(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->toolBar(), "org.trinitydesktop.koala.TDEToolBar");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_updateAutoSelectExtension(JNIEnv* env, jobject obj)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_updateAutoSelectExtension();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_urlEntered(JNIEnv* env, jobject obj, jobject arg1)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_urlEntered((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_writeConfig__Lorg_trinitydesktop_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_writeConfig((TDEConfig*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileDialog_writeConfig__Lorg_trinitydesktop_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group)
{
static TQString* _qstring_group = 0;
	((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group));
	return;
}

