- Qt 6.8
- Qt Quick Dialogs
- QML Types
- FileDialog
- Qt 6.8.3 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.