Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
24
QT_BEGIN_NAMESPACE
25
26
struct
QFileSelectorSharedData
//Not QSharedData because currently is just a global store
27
{
28
QStringList
staticSelectors
;
29
QStringList
preloadedStatics
;
30
};
31
32
class
Q_CORE_EXPORT QFileSelectorPrivate : QObjectPrivate
//Exported for use in other modules (like QtGui)
33
{
34
Q_DECLARE_PUBLIC(QFileSelector)
35
public
:
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
48
QT_END_NAMESPACE
49
50
#
endif
QFileSelector
\inmodule QtCore
Definition
qfileselector.h:15
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
isLocalScheme
static bool isLocalScheme(const QString &file)
Definition
qfileselector.cpp:166
env_override
static const char env_override[]
Definition
qfileselector.cpp:25
Q_GLOBAL_STATIC
Q_GLOBAL_STATIC(QFileSelectorSharedData, sharedData)
QFileSelectorSharedData
Definition
qfileselector_p.h:27
QFileSelectorSharedData::staticSelectors
QStringList staticSelectors
Definition
qfileselector_p.h:28
QFileSelectorSharedData::preloadedStatics
QStringList preloadedStatics
Definition
qfileselector_p.h:29
qtbase
src
corelib
io
qfileselector_p.h
Generated on
for Qt by
1.18.0