summaryrefslogtreecommitdiffstats
path: root/src/gui/compat/removed_api.cpp
blob: a64580e9e18ca23cbc4564b1b04d34b93b2b0504 (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
33
// Copyright (C) 2023 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_GUI_BUILD_REMOVED_API

#include "qtguiglobal.h"

QT_USE_NAMESPACE

#if QT_GUI_REMOVED_SINCE(6, 6)

#include "qpixmapcache.h" // inlined API

// #include "qotherheader.h"
// // implement removed functions from qotherheader.h
// order sections alphabetically

#endif // QT_GUI_REMOVED_SINCE(6, 6)

#if QT_GUI_REMOVED_SINCE(6, 7)

#include "qtextdocument.h"

bool Qt::mightBeRichText(const QString& text)
{
    return Qt::mightBeRichText(qToStringViewIgnoringNull(text));
}

// #include "qotherheader.h"
// // implement removed functions from qotherheader.h
// order sections alphabetically

#endif // QT_GUI_REMOVED_SINCE(6, 7)