summaryrefslogtreecommitdiffstats
path: root/src/xml/compat/removed_api.cpp
blob: 6214a5b3bd3e42879e6318aa7a6a39e62481867b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#define QT_XML_BUILD_REMOVED_API

#include "qtxmlglobal.h"

QT_USE_NAMESPACE

#if QT_XML_REMOVED_SINCE(6, 9)

#if QT_CONFIG(dom)

#include "qdom.h"

bool QDomNodeList::operator==(const QDomNodeList &other) const
{
    return comparesEqual(*this, other);
}

bool QDomNodeList::operator!=(const QDomNodeList &other) const
{
    return !comparesEqual(*this, other);
}

#endif // QT_CONFIG(dom)

// #include <qotherheader.h>
// // implement removed functions from qotherheader.h
// order sections alphabetically to reduce chances of merge conflicts

#endif // QT_XML_REMOVED_SINCE(6, 9)