summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-03-03 11:21:30 +0100
committerMikolaj Boc <mikolaj.boc@qt.io>2023-03-20 22:32:23 +0100
commit0cefeb259350938fddb123ef46a9407aa70d51a9 (patch)
tree7c035722c611ce8a1accc6091250b4793a5ba0fa
parent834617e1d048df53d4434362d2c18b962f51e176 (diff)
Replace Q_CORE_EXPORT with Q_AUTOTEST_EXPORT in qlocalfileapi_p.h
The only consumer outside of gui is the autotest target Change-Id: I2c6b41029ed5c53a2fd5f31f542128616620ddcf Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
-rw-r--r--src/gui/platform/wasm/qlocalfileapi_p.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/platform/wasm/qlocalfileapi_p.h b/src/gui/platform/wasm/qlocalfileapi_p.h
index b8fa6adb99..1398d674d8 100644
--- a/src/gui/platform/wasm/qlocalfileapi_p.h
+++ b/src/gui/platform/wasm/qlocalfileapi_p.h
@@ -24,7 +24,8 @@
QT_BEGIN_NAMESPACE
namespace LocalFileApi {
-class Q_CORE_EXPORT Type {
+class Q_AUTOTEST_EXPORT Type
+{
public:
class Accept {
public:
@@ -80,8 +81,10 @@ private:
std::optional<Accept> m_accept;
};
-Q_CORE_EXPORT emscripten::val makeOpenFileOptions(const QStringList &filterList, bool acceptMultiple);
-Q_CORE_EXPORT emscripten::val makeSaveFileOptions(const QStringList &filterList, const std::string& suggestedName);
+Q_AUTOTEST_EXPORT emscripten::val makeOpenFileOptions(const QStringList &filterList,
+ bool acceptMultiple);
+Q_AUTOTEST_EXPORT emscripten::val makeSaveFileOptions(const QStringList &filterList,
+ const std::string &suggestedName);
Q_AUTOTEST_EXPORT std::string makeFileInputAccept(const QStringList &filterList);