Qt
6.x
The Qt SDK
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
4
#ifndef QFILESELECTOR_P_H
5
#define QFILESELECTOR_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtCore/QString>
19
#include <QtCore/QFileSelector>
20
#include <private/qobject_p.h>
21
22
QT_BEGIN_NAMESPACE
23
24
struct
QFileSelectorSharedData
//Not QSharedData because currently is just a global store
25
{
26
QStringList
staticSelectors
;
27
QStringList
preloadedStatics
;
28
};
29
30
class
Q_CORE_EXPORT
QFileSelectorPrivate
:
QObjectPrivate
//Exported for use in other modules (like QtGui)
31
{
32
Q_DECLARE_PUBLIC(
QFileSelector
)
33
public
:
34
static
void
updateSelectors();
35
static
QStringList
platformSelectors();
36
static
void
addStatics(
const
QStringList
&);
//For loading GUI statics from other Qt modules
37
static
QString
selectionHelper(
const
QString
&
path
,
const
QString
&
fileName
,
38
const
QStringList
&selectors,
QChar
indicator = u
'+'
);
39
QFileSelectorPrivate
();
40
QString
select
(
const
QString
&filePath)
const
;
41
42
QStringList
extras
;
43
};
44
45
QT_END_NAMESPACE
46
47
#endif
48
QChar
\inmodule QtCore
Definition
qchar.h:48
QFileSelectorPrivate
Definition
qfileselector_p.h:31
QFileSelectorPrivate::extras
QStringList extras
Definition
qfileselector_p.h:42
QFileSelector
\inmodule QtCore
Definition
qfileselector.h:14
QObjectPrivate
Definition
qobject_p.h:74
QStringList
\inmodule QtCore
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
path
GLsizei const GLchar *const * path
Definition
qopenglext.h:4283
fileName
fileName
[0]
Definition
src_gui_dialogs_qfiledialog.cpp:5
select
selection select(topLeft, bottomRight)
QFileSelectorSharedData
Definition
qfileselector_p.h:25
QFileSelectorSharedData::staticSelectors
QStringList staticSelectors
Definition
qfileselector_p.h:26
QFileSelectorSharedData::preloadedStatics
QStringList preloadedStatics
Definition
qfileselector_p.h:27
qtbase
src
corelib
io
qfileselector_p.h
Generated by
1.9.7