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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
// 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, 4)
#include "qpagesize.h" // removed duplicate declaration of op==
// (still caused an symbol on some platforms)
// #include "qotherheader.h"
// // implement removed functions from qotherheader.h
// order sections alphabetically
#endif // QT_GUI_REMOVED_SINCE(6, 4)
#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));
}
#endif // QT_GUI_REMOVED_SINCE(6, 7)
#if QT_GUI_REMOVED_SINCE(6, 8)
#include "qpagelayout.h"
bool QPageLayout::setMargins(const QMarginsF &margins)
{
return setMargins(margins, OutOfBoundsPolicy::Reject);
}
bool QPageLayout::setLeftMargin(qreal leftMargin)
{
return setLeftMargin(leftMargin, OutOfBoundsPolicy::Reject);
}
bool QPageLayout::setRightMargin(qreal rightMargin)
{
return setRightMargin(rightMargin, OutOfBoundsPolicy::Reject);
}
bool QPageLayout::setTopMargin(qreal topMargin)
{
return setTopMargin(topMargin, OutOfBoundsPolicy::Reject);
}
bool QPageLayout::setBottomMargin(qreal bottomMargin)
{
return setBottomMargin(bottomMargin, OutOfBoundsPolicy::Reject);
}
#ifndef QT_NO_CONTEXTMENU
#include <qpa/qwindowsysteminterface.h>
void QWindowSystemInterface::handleContextMenuEvent(QWindow *window, bool mouseTriggered,
const QPoint &pos, const QPoint &globalPos,
Qt::KeyboardModifiers modifiers)
{
handleContextMenuEvent<QWindowSystemInterface::DefaultDelivery>(
window, mouseTriggered, pos, globalPos, modifiers);
}
#endif // QT_NO_CONTEXTMENU
// #include "qotherheader.h"
// // implement removed functions from qotherheader.h
// order sections alphabetically
#endif // QT_GUI_REMOVED_SINCE(6, 8)
|