<class name="QFileDialog" doc="/**
&lt;p&gt;The &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt; class provides a dialog that allow users to select files or directories.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt; class enables a user to traverse the file system in order to select one or many files or a directory.&lt;/p&gt;
&lt;p&gt;The easiest way to create a &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt; is to use the static functions. On Windows, these static functions will call the native Windows file dialog, and on Mac OS X these static function will call the native Mac OS X file dialog.&lt;/p&gt;
&lt;pre&gt;    fileName = QFileDialog::getOpenFileName(this,
        tr(&amp;quot;Open Image&amp;quot;), &amp;quot;/home/jana&amp;quot;, tr(&amp;quot;Image Files (*.png *.jpg *.bmp)&amp;quot;));&lt;/pre&gt;
&lt;p&gt;In the above example, a modal &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt; is created using a static function. The dialog initially displays the contents of the &amp;quot;/home/jana&amp;quot; directory, and displays files matching the patterns given in the string &amp;quot;Image Files (*.png *.jpg *.bmp)&amp;quot;. The parent of the file dialog is set to &lt;i&gt;this&lt;/i&gt;, and the window title is set to &amp;quot;Open Image&amp;quot;.&lt;/p&gt;
&lt;p&gt;If you want to use multiple filters, separate each one with &lt;i&gt;two&lt;/i&gt; semicolons. For example:&lt;/p&gt;
&lt;pre&gt;    &amp;quot;Images (*.png *.xpm *.jpg);;Text files (*.txt);;XML files (*.xml)&amp;quot;&lt;/pre&gt;
&lt;p&gt;You can create your own &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt; without using the static functions. By calling &lt;a href=&quot;QFileDialog.html#setFileMode(com.trolltech.qt.gui.QFileDialog.FileMode)&quot;&gt;&lt;tt&gt;setFileMode&lt;/tt&gt;&lt;/a&gt;, you can specify what the user must select in the dialog:&lt;/p&gt;
&lt;pre&gt;    QFileDialog dialog(this);
    dialog.setFileMode(QFileDialog::AnyFile);&lt;/pre&gt;
&lt;p&gt;In the above example, the mode of the file dialog is set to &lt;a href=&quot;QFileDialog.html#FileMode-enum&quot;&gt;&lt;tt&gt;AnyFile&lt;/tt&gt;&lt;/a&gt;, meaning that the user can select any file, or even specify a file that doesn't exist. This mode is useful for creating a &amp;quot;Save As&amp;quot; file dialog. Use &lt;a href=&quot;QFileDialog.html#FileMode-enum&quot;&gt;&lt;tt&gt;ExistingFile&lt;/tt&gt;&lt;/a&gt; if the user must select an existing file, or &lt;a href=&quot;QFileDialog.html#FileMode-enum&quot;&gt;Directory&lt;/tt&gt;&lt;/a&gt; if only a directory may be selected. See the &lt;tt&gt;QFileDialog::FileMode&lt;/tt&gt; enum for the complete list of modes.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QFileDialog.html#fileMode()&quot;&gt;&lt;tt&gt;fileMode&lt;/tt&gt;&lt;/a&gt; property contains the mode of operation for the dialog; this indicates what types of objects the user is expected to select. Use &lt;a href=&quot;QFileDialog.html#setFilter(java.lang.String)&quot;&gt;&lt;tt&gt;setFilter&lt;/tt&gt;&lt;/a&gt; to set the dialog's file filter. For example:&lt;/p&gt;
&lt;pre&gt;    dialog.setFilter(tr(&amp;quot;Images (*.png *.xpm *.jpg)&amp;quot;));&lt;/pre&gt;
&lt;p&gt;In the above example, the filter is set to &lt;tt&gt;&amp;quot;Images (*.png *.xpm *.jpg)&amp;quot;&lt;/tt&gt;, this means that only files with the extension &lt;tt&gt;png&lt;/tt&gt;, &lt;tt&gt;xpm&lt;/tt&gt;, or &lt;tt&gt;jpg&lt;/tt&gt; will be shown in the &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt;. You can apply several filters by using &lt;a href=&quot;QFileDialog.html#setFilters(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setFilters&lt;/tt&gt;&lt;/a&gt;. Use &lt;a href=&quot;QFileDialog.html#selectFilter(java.lang.String)&quot;&gt;&lt;tt&gt;selectFilter&lt;/tt&gt;&lt;/a&gt; to select one of the filters you've given as the file dialog's default filter.&lt;/p&gt;
&lt;p&gt;The file dialog has two view modes: List&lt;/tt&gt; and Detail&lt;/tt&gt;. List&lt;/tt&gt; presents the contents of the current directory as a list of file and directory names. Detail&lt;/tt&gt; also displays a list of file and directory names, but provides additional information alongside each name, such as the file size and modification date. Set the mode with &lt;a href=&quot;QFileDialog.html#setViewMode(com.trolltech.qt.gui.QFileDialog.ViewMode)&quot;&gt;&lt;tt&gt;setViewMode&lt;/tt&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;    dialog.setViewMode(QFileDialog::Detail);&lt;/pre&gt;
&lt;p&gt;The last important function you will need to use when creating your own file dialog is &lt;a href=&quot;QFileDialog.html#selectedFiles()&quot;&gt;&lt;tt&gt;selectedFiles&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;    QStringList fileNames;
    if (dialog.exec())
        fileNames = dialog.selectedFiles();&lt;/pre&gt;
&lt;p&gt;In the above example, a modal file dialog is created and shown. If the user clicked OK, the file they selected is put in &lt;tt&gt;fileName&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The dialog's working directory can be set with &lt;a href=&quot;QFileDialog.html#setDirectory(com.trolltech.qt.core.QDir)&quot;&gt;&lt;tt&gt;setDirectory&lt;/tt&gt;&lt;/a&gt;. Each file in the current directory can be selected using the &lt;a href=&quot;QFileDialog.html#selectFile(java.lang.String)&quot;&gt;&lt;tt&gt;selectFile&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;The Standard Dialogs&lt;/tt&gt; example shows how to use &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt; as well as other built-in Qt dialogs.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/core/QDir.html&quot;&gt;&lt;tt&gt;QDir&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/QFileInfo.html&quot;&gt;&lt;tt&gt;QFileInfo&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/QFile.html&quot;&gt;&lt;tt&gt;QFile&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrintDialog.html&quot;&gt;&lt;tt&gt;QPrintDialog&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QColorDialog.html&quot;&gt;&lt;tt&gt;QColorDialog&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDialog.html&quot;&gt;&lt;tt&gt;QFontDialog&lt;/tt&gt;&lt;/a&gt;
@see Standard Dialogs Example&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-application.html&quot;&gt;Application Example&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void accepted()" doc="/**
&lt;p&gt;This signal is emitted when the dialog has been accepted either by the user or by calling &lt;a href=&quot;QFileDialog.html#accept()&quot;&gt;&lt;tt&gt;accept&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QFileDialog.html#done(int)&quot;&gt;&lt;tt&gt;done&lt;/tt&gt;&lt;/a&gt; with the QDialog::Accepted argument.&lt;/p&gt;
&lt;p&gt;Note that this signal is &lt;i&gt;not&lt;/i&gt; emitted when hiding the dialog with &lt;a href=&quot;QWidget.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;(false). This includes deleting the dialog while it is visible.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFileDialog.html#finished(int)&quot;&gt;&lt;tt&gt;finished&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFileDialog.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentChanged(java.lang.String path)" doc="/**
&lt;p&gt;When the current file changes, this signal is emitted with the new file name as the &lt;tt&gt;path&lt;/tt&gt; parameter.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String path)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFileDialog.html#filesSelected(java.util.List)&quot;&gt;&lt;tt&gt;filesSelected&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void directoryEntered(java.lang.String directory)" doc="/**
&lt;p&gt;This signal is emitted when the user enters a &lt;tt&gt;directory&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String directory)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void filesSelected(java.util.List files)" doc="/**
&lt;p&gt;When the selection changes, this signal is emitted with the (possibly empty) list of &lt;tt&gt;files&lt;/tt&gt; files.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.util.List files)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFileDialog.html#currentChanged(java.lang.String)&quot;&gt;&lt;tt&gt;currentChanged&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void filterSelected(java.lang.String filter)" doc="/**
&lt;p&gt;This signal is emitted when the user selects a &lt;tt&gt;filter&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String filter)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void finished(int result)" doc="/**
&lt;p&gt;This signal is emitted when the dialog's &lt;tt&gt;result&lt;/tt&gt; code has been set, either by the user or by calling &lt;a href=&quot;QFileDialog.html#done(int)&quot;&gt;&lt;tt&gt;done&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFileDialog.html#accept()&quot;&gt;&lt;tt&gt;accept&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;QDialog.html#reject()&quot;&gt;&lt;tt&gt;reject&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that this signal is &lt;i&gt;not&lt;/i&gt; emitted when hiding the dialog with &lt;a href=&quot;QWidget.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;(false). This includes deleting the dialog while it is visible.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int result)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFileDialog.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFileDialog.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void rejected()" doc="/**
&lt;p&gt;This signal is emitted when the dialog has been rejected either by the user or by calling &lt;a href=&quot;QDialog.html#reject()&quot;&gt;&lt;tt&gt;reject&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QFileDialog.html#done(int)&quot;&gt;&lt;tt&gt;done&lt;/tt&gt;&lt;/a&gt; with the QDialog::Rejected argument.&lt;/p&gt;
&lt;p&gt;Note that this signal is &lt;i&gt;not&lt;/i&gt; emitted when hiding the dialog with &lt;a href=&quot;QWidget.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;(false). This includes deleting the dialog while it is visible.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFileDialog.html#finished(int)&quot;&gt;&lt;tt&gt;finished&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFileDialog.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QFileDialog(com.trolltech.qt.gui.QWidget parent, com.trolltech.qt.core.Qt.WindowFlags f)" doc="/**
&lt;p&gt;Constructs a file dialog with the given &lt;tt&gt;parent&lt;/tt&gt; and widget &lt;tt&gt;f&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QFileDialog(com.trolltech.qt.gui.QWidget parent, java.lang.String caption, java.lang.String directory, java.lang.String filter)" doc="/**
&lt;p&gt;Constructs a file dialog with the given &lt;tt&gt;parent&lt;/tt&gt; and &lt;tt&gt;caption&lt;/tt&gt; that initially displays the contents of the specified &lt;tt&gt;directory&lt;/tt&gt;. The contents of the directory are filtered before being shown in the dialog, using a semicolon-separated list of filters specified by &lt;tt&gt;filter&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QFileDialog(com.trolltech.qt.gui.QWidget parent, java.lang.String caption, java.lang.String directory)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, &lt;tt&gt;caption&lt;/tt&gt;, &lt;tt&gt;directory&lt;/tt&gt;, QString()). */"/>
    <method name="public QFileDialog(com.trolltech.qt.gui.QWidget parent, java.lang.String caption)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, &lt;tt&gt;caption&lt;/tt&gt;, QString(), QString()). */"/>
    <method name="public QFileDialog(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, QString(), QString(), QString()). */"/>
    <method name="public QFileDialog()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt;(0, QString(), QString(), QString()). */"/>
    <method name="public final com.trolltech.qt.gui.QFileDialog.AcceptMode acceptMode()" doc="/**
&lt;p&gt;Returns the accept mode of the dialog.&lt;/p&gt;
&lt;p&gt;The action mode defines whether the dialog is for opening or saving files.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setAcceptMode(com.trolltech.qt.gui.QFileDialog.AcceptMode)&quot;&gt;&lt;tt&gt;setAcceptMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#AcceptMode-enum&quot;&gt;&lt;tt&gt;AcceptMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean confirmOverwrite()" doc="/**
&lt;p&gt;Returns whether the filedialog should ask before accepting a selected file, when the accept mode is &lt;a href=&quot;QFileDialog.html#AcceptMode-enum&quot;&gt;&lt;tt&gt;AcceptSave&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If this property is set to true and the accept mode is &lt;a href=&quot;QFileDialog.html#AcceptMode-enum&quot;&gt;&lt;tt&gt;AcceptSave&lt;/tt&gt;&lt;/a&gt;, the filedialog will ask whether the user wants to overwrite the file before accepting the file.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setConfirmOverwrite(boolean)&quot;&gt;&lt;tt&gt;setConfirmOverwrite&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String defaultSuffix()" doc="/**
&lt;p&gt;Returns suffix added to the filename if no other suffix was specified.&lt;/p&gt;
&lt;p&gt;This property specifies a string that will be added to the filename if it has no suffix already. The suffix is typically used to indicate the file type (e.g&amp;#x2e; &amp;quot;txt&amp;quot; indicates a text file).&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setDefaultSuffix(java.lang.String)&quot;&gt;&lt;tt&gt;setDefaultSuffix&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QDir directory()" doc="/**
&lt;p&gt;Returns the directory currently being displayed in the dialog.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setDirectory(com.trolltech.qt.core.QDir)&quot;&gt;&lt;tt&gt;setDirectory&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFileDialog.FileMode fileMode()" doc="/**
&lt;p&gt;Returns the file mode of the dialog.&lt;/p&gt;
&lt;p&gt;The file mode defines the number and type of items that the user is expected to select in the dialog.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setFileMode(com.trolltech.qt.gui.QFileDialog.FileMode)&quot;&gt;&lt;tt&gt;setFileMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#FileMode-enum&quot;&gt;&lt;tt&gt;FileMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; filters()" doc="/**
&lt;p&gt;Returns the file type filters that are in operation on this file dialog.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setFilters(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setFilters&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; history()" doc="/**
&lt;p&gt;returns the browsing history of the filedialog as a list of paths.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setHistory(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setHistory&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFileIconProvider iconProvider()" doc="/**
&lt;p&gt;returns the icon provider used by the filedialog.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setIconProvider(com.trolltech.qt.gui.QFileIconProvider)&quot;&gt;&lt;tt&gt;setIconProvider&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isReadOnly()" doc="/**
&lt;p&gt;Returns Whether the filedialog is readonly..&lt;/p&gt;
&lt;p&gt;If this property is set to false, the filedialog will allow renaming, and deleting of files and directories and creating directories.&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemDelegate itemDelegate()" doc="/**
&lt;p&gt;returns the item delegate used to render the items in the views in the filedialog&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String labelText(com.trolltech.qt.gui.QFileDialog.DialogLabel label)" doc="/**
&lt;p&gt;returns the text shown in the filedialog in the specified &lt;tt&gt;label&lt;/tt&gt;&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setLabelText(com.trolltech.qt.gui.QFileDialog.DialogLabel, java.lang.String)&quot;&gt;&lt;tt&gt;setLabelText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractProxyModel proxyModel()" doc="/**
&lt;p&gt;Returns the proxy model used by the file dialog. By default no proxy is set.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setProxyModel(com.trolltech.qt.gui.QAbstractProxyModel)&quot;&gt;&lt;tt&gt;setProxyModel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean resolveSymlinks()" doc="/**
&lt;p&gt;Returns whether the filedialog should resolve shortcuts.&lt;/p&gt;
&lt;p&gt;If this property is set to true, the file dialog will resolve shortcuts.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setResolveSymlinks(boolean)&quot;&gt;&lt;tt&gt;setResolveSymlinks&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean restoreState(com.trolltech.qt.core.QByteArray state)" doc="/**
&lt;p&gt;Restores the dialogs's layout, history and current directory to the &lt;tt&gt;state&lt;/tt&gt; specified.&lt;/p&gt;
&lt;p&gt;Typically this is used in conjunction with &lt;a href=&quot;%2E%2E/core/QSettings.html&quot;&gt;&lt;tt&gt;QSettings&lt;/tt&gt;&lt;/a&gt; to restore the size from a past session.&lt;/p&gt;
&lt;p&gt;Returns false if there are errors&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QByteArray saveState()" doc="/**
&lt;p&gt;Saves the state of the dialog's layout, history and current directory.&lt;/p&gt;
&lt;p&gt;Typically this is used in conjunction with &lt;a href=&quot;%2E%2E/core/QSettings.html&quot;&gt;&lt;tt&gt;QSettings&lt;/tt&gt;&lt;/a&gt; to remember the size for a future session. A version number is stored as part of the data.&lt;/p&gt;
 */"/>
    <method name="public final void selectFile(java.lang.String filename)" doc="/**
&lt;p&gt;Selects the given &lt;tt&gt;filename&lt;/tt&gt; in the file dialog.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#selectedFiles()&quot;&gt;&lt;tt&gt;selectedFiles&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void selectFilter(java.lang.String filter)" doc="/**
&lt;p&gt;Sets the current file type &lt;tt&gt;filter&lt;/tt&gt;. Multiple filters can be passed in &lt;tt&gt;filter&lt;/tt&gt; by separating them with semicolons or spaces.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setFilter(java.lang.String)&quot;&gt;&lt;tt&gt;setFilter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#setFilters(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setFilters&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#selectedFilter()&quot;&gt;&lt;tt&gt;selectedFilter&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; selectedFiles()" doc="/**
&lt;p&gt;Returns a list of strings containing the absolute paths of the selected files in the dialog. If no files are selected, or the mode is not &lt;a href=&quot;QFileDialog.html#FileMode-enum&quot;&gt;&lt;tt&gt;ExistingFiles&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFileDialog.html#selectedFiles()&quot;&gt;&lt;tt&gt;selectedFiles&lt;/tt&gt;&lt;/a&gt; is an empty string list.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#selectedFilter()&quot;&gt;&lt;tt&gt;selectedFilter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#selectFile(java.lang.String)&quot;&gt;&lt;tt&gt;selectFile&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String selectedFilter()" doc="/**
&lt;p&gt;Returns the filter that the user selected in the file dialog.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#selectedFiles()&quot;&gt;&lt;tt&gt;selectedFiles&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAcceptMode(com.trolltech.qt.gui.QFileDialog.AcceptMode mode)" doc="/**
&lt;p&gt;Sets the accept mode of the dialog to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The action mode defines whether the dialog is for opening or saving files.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#acceptMode()&quot;&gt;&lt;tt&gt;acceptMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#AcceptMode-enum&quot;&gt;&lt;tt&gt;AcceptMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setConfirmOverwrite(boolean enabled)" doc="/**
&lt;p&gt;Sets whether the filedialog should ask before accepting a selected file, when the accept mode is &lt;a href=&quot;QFileDialog.html#AcceptMode-enum&quot;&gt;&lt;tt&gt;AcceptSave&lt;/tt&gt;&lt;/a&gt; to &lt;tt&gt;enabled&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is set to true and the accept mode is &lt;a href=&quot;QFileDialog.html#AcceptMode-enum&quot;&gt;&lt;tt&gt;AcceptSave&lt;/tt&gt;&lt;/a&gt;, the filedialog will ask whether the user wants to overwrite the file before accepting the file.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#confirmOverwrite()&quot;&gt;&lt;tt&gt;confirmOverwrite&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDefaultSuffix(java.lang.String suffix)" doc="/**
&lt;p&gt;Sets suffix added to the filename if no other suffix was specified to &lt;tt&gt;suffix&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property specifies a string that will be added to the filename if it has no suffix already. The suffix is typically used to indicate the file type (e.g&amp;#x2e; &amp;quot;txt&amp;quot; indicates a text file).&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#defaultSuffix()&quot;&gt;&lt;tt&gt;defaultSuffix&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDirectory(java.lang.String directory)" doc="/**
&lt;p&gt;Sets the file dialog's current &lt;tt&gt;directory&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void setDirectory(com.trolltech.qt.core.QDir directory)"/>
    <method name="public final void setFileMode(com.trolltech.qt.gui.QFileDialog.FileMode mode)" doc="/**
&lt;p&gt;Sets the file mode of the dialog to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The file mode defines the number and type of items that the user is expected to select in the dialog.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#fileMode()&quot;&gt;&lt;tt&gt;fileMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#FileMode-enum&quot;&gt;&lt;tt&gt;FileMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFilter(java.lang.String filter)" doc="/**
&lt;p&gt;Sets the filter used in the file dialog to the given &lt;tt&gt;filter&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;filter&lt;/tt&gt; contains a pair of parentheses containing one or more of &lt;b&gt;anything*something&lt;/b&gt;, separated by semicolons, then only the text contained in the parentheses is used as the filter. This means that these calls are all equivalent:&lt;/p&gt;
&lt;pre&gt;    dialog.setFilter(&amp;quot;All C++ files (*.cpp;*.cc;*.C;*.cxx;*.c++)&amp;quot;);
    dialog.setFilter(&amp;quot;*.cpp;*.cc;*.C;*.cxx;*.c++&amp;quot;);&lt;/pre&gt;

@see &lt;a href=&quot;QFileDialog.html#setFilters(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setFilters&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFilters(java.util.List&lt;java.lang.String&gt; filters)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;filters&lt;/tt&gt; used in the file dialog.&lt;/p&gt;
&lt;pre&gt;    QStringList filters;
    filters &amp;lt;&amp;lt; &amp;quot;Image files (*.png *.xpm *.jpg)&amp;quot;
            &amp;lt;&amp;lt; &amp;quot;Text files (*.txt)&amp;quot;
            &amp;lt;&amp;lt; &amp;quot;Any files (*)&amp;quot;;

    QFileDialog dialog(this);
    dialog.setFilters(filters);
    dialog.exec();&lt;/pre&gt;

@see &lt;a href=&quot;QFileDialog.html#filters()&quot;&gt;&lt;tt&gt;filters&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHistory(java.util.List&lt;java.lang.String&gt; paths)" doc="/**
&lt;p&gt;Sets the browsing history of the filedialog to contain the given &lt;tt&gt;paths&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#history()&quot;&gt;&lt;tt&gt;history&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIconProvider(com.trolltech.qt.gui.QFileIconProvider provider)" doc="/**
&lt;p&gt;set the icon provider used by the filedialog to the specified &lt;tt&gt;provider&lt;/tt&gt;&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#iconProvider()&quot;&gt;&lt;tt&gt;iconProvider&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate delegate)" doc="/**
&lt;p&gt;Sets the item delegate used to render items in the views in the file dialog to the given &lt;tt&gt;delegate&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; You should not share the same instance of a delegate between views. Doing so can cause incorrect or unintuitive editing behavior since each view connected to a given delegate may receive the closeEditor() signal, and attempt to access, modify or close an editor that has already been closed.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#itemDelegate()&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLabelText(com.trolltech.qt.gui.QFileDialog.DialogLabel label, java.lang.String text)" doc="/**
&lt;p&gt;set the &lt;tt&gt;text&lt;/tt&gt; shown in the filedialog in the specified &lt;tt&gt;label&lt;/tt&gt;&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#labelText(com.trolltech.qt.gui.QFileDialog.DialogLabel)&quot;&gt;&lt;tt&gt;labelText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setProxyModel(com.trolltech.qt.gui.QAbstractProxyModel model)" doc="/**
&lt;p&gt;Sets the model for the views to the given &lt;tt&gt;model&lt;/tt&gt;. This is useful if you want to modify the underlying model; for example, to add columns, filter data or add drives.&lt;/p&gt;
&lt;p&gt;Any existing proxy model will be removed, but not deleted. The file dialog will take ownership of the &lt;tt&gt;model&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#proxyModel()&quot;&gt;&lt;tt&gt;proxyModel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setReadOnly(boolean enabled)" doc="/**
&lt;p&gt;Sets Whether the filedialog is readonly. to &lt;tt&gt;enabled&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is set to false, the filedialog will allow renaming, and deleting of files and directories and creating directories.&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#isReadOnly()&quot;&gt;&lt;tt&gt;isReadOnly&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setResolveSymlinks(boolean enabled)" doc="/**
&lt;p&gt;Sets whether the filedialog should resolve shortcuts to &lt;tt&gt;enabled&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is set to true, the file dialog will resolve shortcuts.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#resolveSymlinks()&quot;&gt;&lt;tt&gt;resolveSymlinks&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSidebarUrls(java.util.List&lt;com.trolltech.qt.core.QUrl&gt; urls)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;urls&lt;/tt&gt; that are located in the sidebar&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#sidebarUrls()&quot;&gt;&lt;tt&gt;sidebarUrls&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setViewMode(com.trolltech.qt.gui.QFileDialog.ViewMode mode)" doc="/**
&lt;p&gt;Sets the way files and directories are displayed in the dialog to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;By default, the &lt;tt&gt;Detail&lt;/tt&gt; mode is used to display information about files and directories.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#viewMode()&quot;&gt;&lt;tt&gt;viewMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#ViewMode-enum&quot;&gt;&lt;tt&gt;ViewMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QUrl&gt; sidebarUrls()" doc="/**
&lt;p&gt;Returns a list of urls that are currently in the sidebar&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setSidebarUrls(java.util.List&lt;com.trolltech.qt.core.QUrl&gt;)&quot;&gt;&lt;tt&gt;setSidebarUrls&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFileDialog.ViewMode viewMode()" doc="/**
&lt;p&gt;Returns the way files and directories are displayed in the dialog.&lt;/p&gt;
&lt;p&gt;By default, the &lt;tt&gt;Detail&lt;/tt&gt; mode is used to display information about files and directories.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setViewMode(com.trolltech.qt.gui.QFileDialog.ViewMode)&quot;&gt;&lt;tt&gt;setViewMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileDialog.html#ViewMode-enum&quot;&gt;&lt;tt&gt;ViewMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void accept()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void done(int result)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public static java.lang.String getExistingDirectory(com.trolltech.qt.gui.QWidget parent, java.lang.String caption, java.lang.String dir, com.trolltech.qt.gui.QFileDialog.Options options)" doc="/**
&lt;p&gt;This is a convenience static function that will return an existing directory selected by the user.&lt;/p&gt;
&lt;pre&gt;    QString dir = QFileDialog::getExistingDirectory(this, tr(&amp;quot;Open Directory&amp;quot;),
                                                    &amp;quot;/home&amp;quot;,
                                                    QFileDialog::ShowDirsOnly
                                                    | QFileDialog::DontResolveSymlinks);&lt;/pre&gt;
&lt;p&gt;This function creates a modal file dialog with the given &lt;tt&gt;parent&lt;/tt&gt; widget. If the parent is not 0, the dialog will be shown centered over the parent widget.&lt;/p&gt;
&lt;p&gt;The dialog's working directory is set to &lt;tt&gt;dir&lt;/tt&gt;, and the caption is set to &lt;tt&gt;caption&lt;/tt&gt;. Either of these may be an empty string in which case the current directory and a default caption will be used respectively. The &lt;tt&gt;options&lt;/tt&gt; argument holds various options about how to run the dialog, see the QFileDialog::Option enum for more information on the flags you can pass.&lt;/p&gt;
&lt;p&gt;Under Windows and Mac OS X, this static function will use the native file dialog and not a &lt;a href=&quot;QFileDialog.html#QFileDialog(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QFileDialog&lt;/tt&gt;&lt;/a&gt;. On Mac OS X, the &lt;tt&gt;dir&lt;/tt&gt; argument is ignored, the native dialog always displays the last visited directory.&lt;/p&gt;
&lt;p&gt;Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if &lt;tt&gt;/usr/tmp&lt;/tt&gt; is a symlink to &lt;tt&gt;/var/tmp&lt;/tt&gt;, the file dialog will change to &lt;tt&gt;/var/tmp&lt;/tt&gt; after entering &lt;tt&gt;/usr/tmp&lt;/tt&gt;. If &lt;tt&gt;options&lt;/tt&gt; includes &lt;a href=&quot;QFileDialog.html#Option-enum&quot;&gt;&lt;tt&gt;DontResolveSymlinks&lt;/tt&gt;&lt;/a&gt;, the file dialog will treat symlinks as regular directories.&lt;/p&gt;
&lt;p&gt;Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any QTimers, and if parent is not 0 then it will position the dialog just under the parent's title bar.&lt;/p&gt;

@see &lt;tt&gt;getOpenFileName&lt;/tt&gt;
@see &lt;tt&gt;getOpenFileNames&lt;/tt&gt;
@see &lt;tt&gt;getSaveFileName&lt;/tt&gt; */"/>
    <method name="public static java.lang.String getExistingDirectory(com.trolltech.qt.gui.QWidget parent, java.lang.String caption, java.lang.String dir)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#getExistingDirectory(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, com.trolltech.qt.gui.QFileDialog.Options)&quot;&gt;&lt;tt&gt;getExistingDirectory&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, &lt;tt&gt;caption&lt;/tt&gt;, &lt;tt&gt;dir&lt;/tt&gt;, ShowDirsOnly). */"/>
    <method name="public static java.lang.String getExistingDirectory(com.trolltech.qt.gui.QWidget parent, java.lang.String caption)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#getExistingDirectory(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, com.trolltech.qt.gui.QFileDialog.Options)&quot;&gt;&lt;tt&gt;getExistingDirectory&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, &lt;tt&gt;caption&lt;/tt&gt;, QString(), ShowDirsOnly). */"/>
    <method name="public static java.lang.String getExistingDirectory(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#getExistingDirectory(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, com.trolltech.qt.gui.QFileDialog.Options)&quot;&gt;&lt;tt&gt;getExistingDirectory&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, QString(), QString(), ShowDirsOnly). */"/>
    <method name="public static java.lang.String getExistingDirectory()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileDialog.html#getExistingDirectory(com.trolltech.qt.gui.QWidget, java.lang.String, java.lang.String, com.trolltech.qt.gui.QFileDialog.Options)&quot;&gt;&lt;tt&gt;getExistingDirectory&lt;/tt&gt;&lt;/a&gt;(0, QString(), QString(), ShowDirsOnly). */"/>
    <enum name="FileMode" doc="/**
&lt;p&gt;This enum is used to indicate what the user may select in the file dialog; i.e&amp;#x2e; what the dialog will return if the user clicks OK.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setFileMode(com.trolltech.qt.gui.QFileDialog.FileMode)&quot;&gt;&lt;tt&gt;setFileMode&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="AnyFile" doc="/**
&lt;p&gt;The name of a file, whether it exists or not.&lt;/p&gt;
 */"/>
        <enum-value name="ExistingFile" doc="/**
&lt;p&gt;The name of a single existing file.&lt;/p&gt;
 */"/>
        <enum-value name="Directory" doc="/**
&lt;p&gt;The name of a directory. Both files and directories are displayed.&lt;/p&gt;
 */"/>
        <enum-value name="ExistingFiles" doc="/**
&lt;p&gt;The names of zero or more existing files.&lt;/p&gt;
 */"/>
        <enum-value name="DirectoryOnly" doc="/**
&lt;p&gt;The name of a directory. The file dialog will only display directories.&lt;/p&gt;
 */"/>
</enum>
    <enum name="Option">
        <enum-value name="ShowDirsOnly" doc="/**
&lt;p&gt;Only show directories in the file dialog. By default both files and directories are shown.&lt;/p&gt;
 */"/>
        <enum-value name="DontResolveSymlinks" doc="/**
&lt;p&gt;Don't resolve symlinks in the file dialog. By default symlinks are resolved.&lt;/p&gt;
 */"/>
        <enum-value name="DontConfirmOverwrite" doc="/**
&lt;p&gt;Don't ask for confirmation if an existing file is selected. By default confirmation is requested.&lt;/p&gt;
 */"/>
        <enum-value name="DontUseSheet" doc="/**
&lt;p&gt;Don't make the native file dialog a sheet. By default on Mac OS X, the native file dialog is made a sheet if it has a parent that can take a sheet.&lt;/p&gt;
 */"/>
        <enum-value name="DontUseNativeDialog" doc="/**
&lt;p&gt;Don't use the native file dialog. By default on Mac OS X and Windows, the native file dialog is used.&lt;/p&gt;
 */"/>
</enum>
    <enum name="DialogLabel">
        <enum-value name="LookIn" doc="/**
Internal. */"/>
        <enum-value name="FileName" doc="/**
Internal. */"/>
        <enum-value name="FileType" doc="/**
Internal. */"/>
        <enum-value name="Accept" doc="/**
Internal. */"/>
        <enum-value name="Reject" doc="/**
Internal. */"/>
</enum>
    <enum name="ViewMode" doc="/**
&lt;p&gt;This enum describes the view mode of the file dialog; i.e&amp;#x2e; what information about each file will be displayed.&lt;/p&gt;

@see &lt;a href=&quot;QFileDialog.html#setViewMode(com.trolltech.qt.gui.QFileDialog.ViewMode)&quot;&gt;&lt;tt&gt;setViewMode&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Detail" doc="/**
&lt;p&gt;Displays an icon, a name, and details for each item in the directory.&lt;/p&gt;
 */"/>
        <enum-value name="List" doc="/**
&lt;p&gt;Displays only an icon and a name for each item in the directory.&lt;/p&gt;
 */"/>
</enum>
    <enum name="AcceptMode">
        <enum-value name="AcceptOpen" doc="/**
Internal. */"/>
        <enum-value name="AcceptSave" doc="/**
Internal. */"/>
</enum>
</class>
