Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfileselector_p.h
Go to the documentation of this file.
1// Copyright (C) 2013 BlackBerry Limited. All rights reserved.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QFILESELECTOR_P_H
6#define QFILESELECTOR_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/QString>
20#include <QtCore/QFileSelector>
21#include <private/qobject_p.h>
22
24
25struct QFileSelectorSharedData //Not QSharedData because currently is just a global store
26{
29};
30
31class Q_CORE_EXPORT QFileSelectorPrivate : QObjectPrivate //Exported for use in other modules (like QtGui)
32{
33 Q_DECLARE_PUBLIC(QFileSelector)
34public:
35 static void updateSelectors();
36 static QStringList platformSelectors();
37 static void addStatics(const QStringList &); //For loading GUI statics from other Qt modules
38 static qsizetype removeStatics(const QStringList &);
39 static QString selectionHelper(const QString &path, const QString &fileName,
40 const QStringList &selectors, QChar indicator = u'+');
41 QFileSelectorPrivate();
42 QString select(const QString &filePath) const;
43
44 QStringList extras;
45};
46
47QT_END_NAMESPACE
48
49#endif
\inmodule QtCore
static bool isLocalScheme(const QString &file)
static const char env_override[]
Q_GLOBAL_STATIC(QFileSelectorSharedData, sharedData)