-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10
-
None
From the docs:
Components access names and paths via the following roles:
fileName (string)
filePath (string)
fileUrl (url) (since Qt 5.15)
fileBaseName (string)
fileSuffix (string)
fileSize (qlonglong)
fileModified (date)
fileAccessed (date)
fileIsDir (bool)
I found a use case for wanting to know whether the file is writeable. So I suppose we could expose QFileDevice::Permissions as a qml-accessible flags role, or else have an invokable hasPermission(flg) or something like that. There should be a nice way...
- is required for
-
QTBUG-32039 FolderListModel needs to have API review, fix some API warts and be a maintained API instead of Qt.labs
-
- Reported
-