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
5
6#include <QtNetwork/qhttpheaders.h>
7
9
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
Q_NETWORK_EXPORT bool compareStrict(const QHttpHeaders &left, const QHttpHeaders &right)
Combined button and popup list for selecting options.
GLdouble GLdouble right
GLint left
ptrdiff_t qsizetype
Definition qtypes.h:165