summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/wasm/qlocalfileapi_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace Q_CORE_EXPORT with Q_AUTOTEST_EXPORT in qlocalfileapi_p.hMikolaj Boc2023-03-201-3/+6
| | | | | | | The only consumer outside of gui is the autotest target Change-Id: I2c6b41029ed5c53a2fd5f31f542128616620ddcf Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Support filter list for file input when opening a file on WASMMikolaj Boc2023-03-071-9/+13
| | | | | | | | | | The polyfill for file input on WASM now makes use of the supplied filter list. Some changes were introduced in the abstraction for filters so that they are usable both for the new file API and the legacy file input. Change-Id: Id6341be4d6a1647e17382d13da7be42491cfaf80 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Create the Qt File Filter => showOpen/SaveFilePicker options mapperMikolaj Boc2022-07-051-0/+87
As a preparatory measure for using showXFilePicker, the Qt file filter has to be transformed to the format used by the showXFilePicker (sXFP) options. A class structure reflecting the options was created. Based on an input in the form of a qt file filter, it will parse the filter to the sXFP options format. Unit tests were added and the code is not yet used in non-test env, next change will use it. Task-number: QTBUG-99611 Change-Id: I277286467a7b5ce6f323c19bdd31740a41b6a6be Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>