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
qhttpheadershelper.cpp
Go to the documentation of this file.
1
// Copyright (C) 2024 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 "
qhttpheadershelper_p.h
"
5
6
#include <QtNetwork/qhttpheaders.h>
7
8
QT_BEGIN_NAMESPACE
9
10
bool
QHttpHeadersHelper::compareStrict
(
const
QHttpHeaders
&
left
,
const
QHttpHeaders
&
right
)
11
{
12
if
(
left
.size() !=
right
.size())
13
return
false
;
14
15
for
(
qsizetype
i
= 0;
i
<
left
.size(); ++
i
) {
16
if
(
left
.nameAt(
i
) !=
right
.nameAt(
i
))
17
return
false
;
18
if
(
left
.valueAt(
i
) !=
right
.valueAt(
i
))
19
return
false
;
20
}
21
22
return
true
;
23
}
24
25
QT_END_NAMESPACE
QHttpHeaders
Definition
qhttpheaders.h:19
i
i
[1]
Definition
doc_src_containers.cpp:169
QHttpHeadersHelper::compareStrict
Q_NETWORK_EXPORT bool compareStrict(const QHttpHeaders &left, const QHttpHeaders &right)
Definition
qhttpheadershelper.cpp:10
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qhttpheadershelper_p.h
right
GLdouble GLdouble right
Definition
qopengles2ext.h:3218
left
GLint left
Definition
qopengles2ext.h:792
qsizetype
ptrdiff_t qsizetype
Definition
qtypes.h:165
qtbase
src
network
access
qhttpheadershelper.cpp
Generated by
1.10.0