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 <QtCore/QSpan>
22#include <private/qobject_p.h>
23
25
26struct QFileSelectorSharedData //Not QSharedData because currently is just a global store
27{
30};
31
32class Q_CORE_EXPORT QFileSelectorPrivate : QObjectPrivate //Exported for use in other modules (like QtGui)
33{
34 Q_DECLARE_PUBLIC(QFileSelector)
35public:
36 static void updateSelectors();
37 static QStringList platformSelectors();
38 static void addStatics(const QStringList &); //For loading GUI statics from other Qt modules
39 static qsizetype removeStatics(const QStringList &);
40 static QString selectionHelper(const QString &path, const QString &fileName,
41 QSpan<QString> selectors, QChar indicator = u'+');
42 QFileSelectorPrivate();
43 QString select(const QString &filePath) const;
44
45 QStringList extras;
46};
47
48QT_END_NAMESPACE
49
50#endif
\inmodule QtCore
Combined button and popup list for selecting options.
static bool isLocalScheme(const QString &file)
static const char env_override[]
Q_GLOBAL_STATIC(QFileSelectorSharedData, sharedData)