Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcomparisontesthelper.cpp
Go to the documentation of this file.
1
// Copyright (C) 2023 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
4
#include "
qcomparisontesthelper_p.h
"
5
6
QT_BEGIN_NAMESPACE
7
8
namespace
QTestPrivate
{
9
10
QByteArray
formatTypeWithCRefImpl
(
QMetaType
type
,
bool
isConst,
bool
isRef,
bool
isRvalueRef)
11
{
12
QByteArray
res
(
type
.name());
13
if
(isConst)
14
res
.append(
" const"
);
15
if
(isRef)
16
res
.append(isRvalueRef ?
" &&"
:
" &"
);
17
return
res
;
18
}
19
20
}
// namespace QTestPrivate
21
22
QT_END_NAMESPACE
QByteArray
\inmodule QtCore
Definition
qbytearray.h:57
QMetaType
\inmodule QtCore
Definition
qmetatype.h:341
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QTestPrivate
Definition
qabstractitemmodeltester.h:29
QTestPrivate::formatTypeWithCRefImpl
QByteArray formatTypeWithCRefImpl(QMetaType type, bool isConst, bool isRef, bool isRvalueRef)
Definition
qcomparisontesthelper.cpp:10
qcomparisontesthelper_p.h
type
GLenum type
Definition
qopengles2ext.h:150
res
GLuint res
Definition
qopenglext.h:8867
qtbase
src
testlib
qcomparisontesthelper.cpp
Generated by
1.10.0