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
qt_catch_conversions.h
Go to the documentation of this file.
1
// Copyright (C) 2021 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4
#
pragma
once
5
6
#
include
"std_catch_conversions.h"
7
8
#
include
<
ostream
>
9
10
#
include
<
QChar
>
11
#
include
<
QString
>
12
13
inline
std
::ostream&
operator
<<(
std
::ostream& os,
const
QChar& character) {
14
return
os << QString{character}.toStdString();
15
}
16
17
inline
std
::ostream&
operator
<<(
std
::ostream& os,
const
QString& string) {
18
return
os << string.toStdString();
19
}
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
operator<<
QDataStream & operator<<(QDataStream &stream, const QImage &image)
[0]
Definition
qimage.cpp:4006
qttools
src
qdoc
catch_conversions
src
catch_conversions
qt_catch_conversions.h
Generated on
for Qt by
1.14.0