Obsolete Members for FileDialog | Qt Quick Dialogs | Qt 6.11.1
Description: A file dialog.

- Qt 6.11
- Qt Quick Dialogs
- QML Types
- FileDialog
- Qt 6.11.1 Reference Documentation

# Obsolete Members for FileDialog

The following members of QML type FileDialog are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

## Properties

- currentFile : url `(deprecated in 6.3)`
- currentFiles : list<url> `(deprecated in 6.3)`

## Property Documentation

### currentFile : url `[deprecated in 6.3]`

This property is deprecated since QtQuick.Dialogs 6.3. We strongly advise against using it in new code.

Use selectedFile instead.

This property holds the currently selected file in the dialog.

See also selectedFile, currentFiles, and currentFolder.

### currentFiles : list<url> `[deprecated in 6.3]`

This property is deprecated since QtQuick.Dialogs 6.3. We strongly advise against using it in new code.

Use selectedFiles instead.

This property holds the currently selected files in the dialog.

See also selectedFiles, currentFile, and currentFolder.