Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qiosfileenginefactory.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QIOSFILEENGINEFACTORY_H
5#define QIOSFILEENGINEFACTORY_H
6
7#include <QtCore/qstandardpaths.h>
8#include <QtCore/private/qabstractfileengine_p.h>
10
12
14{
15public:
17 {
18 Q_CONSTINIT static QLatin1StringView assetsScheme("assets-library:");
19
20#ifndef Q_OS_TVOS
21 if (fileName.toLower().startsWith(assetsScheme))
23#else
25#endif
26
27 return 0;
28 }
29};
30
32
33#endif // QIOSFILEENGINEFACTORY_H
\inmodule QtCore \reentrant
\inmodule QtCore \reentrant
QAbstractFileEngine * create(const QString &fileName) const
Creates a file engine for file fileName.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
#define Q_UNUSED(x)