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
qstringfwd.h
Go to the documentation of this file.
1
// Copyright (C) 2022 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
// Qt-Security score:significant reason:header-decls-only
4
5
#
include
<
QtCore
/
qtconfigmacros
.
h
>
6
#
include
<
QtCore
/
qtversionchecks
.
h
>
7
8
#
ifndef
QSTRINGFWD_H
9
#
define
QSTRINGFWD_H
10
11
QT_BEGIN_NAMESPACE
12
13
#
if
QT_VERSION
>=
QT_VERSION_CHECK
(
7
,
0
,
0
)
14
#
define
QT_BEGIN_HAS_CHAR8_T_NAMESPACE
inline
namespace
q_has_char8_t
{
15
#
define
QT_BEGIN_NO_CHAR8_T_NAMESPACE
namespace
q_no_char8_t
{
16
#
else
17
#
define
QT_BEGIN_HAS_CHAR8_T_NAMESPACE
namespace
q_has_char8_t
{
18
#
define
QT_BEGIN_NO_CHAR8_T_NAMESPACE
inline
namespace
q_no_char8_t
{
19
#
endif
20
#
define
QT_END_HAS_CHAR8_T_NAMESPACE
}
21
#
define
QT_END_NO_CHAR8_T_NAMESPACE
}
22
23
// declare namespaces:
24
QT_BEGIN_HAS_CHAR8_T_NAMESPACE
25
QT_END_HAS_CHAR8_T_NAMESPACE
26
QT_BEGIN_NO_CHAR8_T_NAMESPACE
27
QT_END_NO_CHAR8_T_NAMESPACE
28
29
class
QByteArray
;
30
class
QByteArrayView;
31
#
if
QT_VERSION
>=
QT_VERSION_CHECK
(
7
,
0
,
0
)
||
defined
(
QT_BOOTSTRAPPED
)
||
defined
(
Q_QDOC
)
32
#
define
Q_L1S_VIEW_IS_PRIMARY
33
class
QLatin1StringView;
34
using
QLatin1String = QLatin1StringView;
35
#
else
36
class
QLatin1String
;
37
using
QLatin1StringView =
QLatin1String
;
38
#
endif
39
class
QString;
40
class
QStringRef;
// defined in qt5compat
41
class
QStringView
;
42
template
<
bool
>
class
QBasicUtf8StringView
;
43
class
QAnyStringView
;
44
class
QChar;
45
class
QRegularExpression;
46
class
QRegularExpressionMatch;
47
48
#
ifdef
Q_QDOC
49
class
QUtf8StringView;
50
#
else
51
// ### Qt 7: remove the non-char8_t version of QUtf8StringView
52
QT_BEGIN_NO_CHAR8_T_NAMESPACE
53
using
QUtf8StringView
=
QBasicUtf8StringView
<
false
>;
54
QT_END_NO_CHAR8_T_NAMESPACE
55
56
QT_BEGIN_HAS_CHAR8_T_NAMESPACE
57
using
QUtf8StringView =
QBasicUtf8StringView
<
true
>;
58
QT_END_HAS_CHAR8_T_NAMESPACE
59
#
endif
// Q_QDOC
60
61
QT_END_NAMESPACE
62
63
#
endif
// QSTRINGFWD_H
QAnyStringView
\inmodule QtCore
Definition
qanystringview.h:41
QBasicUtf8StringView
Definition
qutf8stringview.h:97
QByteArray::FromBase64Result
\inmodule QtCore
Definition
qbytearray.h:824
QLatin1String
Definition
qlatin1stringview.h:35
QStringView
\inmodule QtCore
Definition
qstringview.h:77
QT_END_NO_CHAR8_T_NAMESPACE
#define QT_END_NO_CHAR8_T_NAMESPACE
Definition
qstringfwd.h:21
QT_END_HAS_CHAR8_T_NAMESPACE
#define QT_END_HAS_CHAR8_T_NAMESPACE
Definition
qstringfwd.h:20
QUtf8StringView
QBasicUtf8StringView< false > QUtf8StringView
Definition
qstringfwd.h:53
QT_BEGIN_HAS_CHAR8_T_NAMESPACE
#define QT_BEGIN_HAS_CHAR8_T_NAMESPACE
Definition
qstringfwd.h:14
QT_BEGIN_NO_CHAR8_T_NAMESPACE
#define QT_BEGIN_NO_CHAR8_T_NAMESPACE
Definition
qstringfwd.h:15
qtbase
src
corelib
text
qstringfwd.h
Generated on
for Qt by
1.18.0