Coverage Report

Created: 2025-12-31 07:23

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/qtbase/src/gui/.moc/moc_qabstracttextdocumentlayout.cpp
Line
Count
Source
1
/****************************************************************************
2
** Meta object code from reading C++ file 'qabstracttextdocumentlayout.h'
3
**
4
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18)
5
**
6
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
8
9
#include <memory>
10
#include "../text/qabstracttextdocumentlayout.h"
11
#include <QtCore/qbytearray.h>
12
#include <QtCore/qmetatype.h>
13
#if !defined(Q_MOC_OUTPUT_REVISION)
14
#error "The header file 'qabstracttextdocumentlayout.h' doesn't include <QObject>."
15
#elif Q_MOC_OUTPUT_REVISION != 67
16
#error "This file was generated using the moc from 5.15.18. It"
17
#error "cannot be used with the include files from this version of Qt."
18
#error "(The moc has changed too much.)"
19
#endif
20
21
QT_BEGIN_MOC_NAMESPACE
22
QT_WARNING_PUSH
23
QT_WARNING_DISABLE_DEPRECATED
24
struct qt_meta_stringdata_QAbstractTextDocumentLayout_t {
25
    QByteArrayData data[12];
26
    char stringdata0[170];
27
};
28
#define QT_MOC_LITERAL(idx, ofs, len) \
29
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30
    qptrdiff(offsetof(qt_meta_stringdata_QAbstractTextDocumentLayout_t, stringdata0) + ofs \
31
        - idx * sizeof(QByteArrayData)) \
32
    )
33
static const qt_meta_stringdata_QAbstractTextDocumentLayout_t qt_meta_stringdata_QAbstractTextDocumentLayout = {
34
    {
35
QT_MOC_LITERAL(0, 0, 27), // "QAbstractTextDocumentLayout"
36
QT_MOC_LITERAL(1, 28, 6), // "update"
37
QT_MOC_LITERAL(2, 35, 0), // ""
38
QT_MOC_LITERAL(3, 36, 11), // "updateBlock"
39
QT_MOC_LITERAL(4, 48, 10), // "QTextBlock"
40
QT_MOC_LITERAL(5, 59, 5), // "block"
41
QT_MOC_LITERAL(6, 65, 19), // "documentSizeChanged"
42
QT_MOC_LITERAL(7, 85, 7), // "newSize"
43
QT_MOC_LITERAL(8, 93, 16), // "pageCountChanged"
44
QT_MOC_LITERAL(9, 110, 8), // "newPages"
45
QT_MOC_LITERAL(10, 119, 23), // "_q_dynamicPageCountSlot"
46
QT_MOC_LITERAL(11, 143, 26) // "_q_dynamicDocumentSizeSlot"
47
48
    },
49
    "QAbstractTextDocumentLayout\0update\0\0"
50
    "updateBlock\0QTextBlock\0block\0"
51
    "documentSizeChanged\0newSize\0"
52
    "pageCountChanged\0newPages\0"
53
    "_q_dynamicPageCountSlot\0"
54
    "_q_dynamicDocumentSizeSlot"
55
};
56
#undef QT_MOC_LITERAL
57
58
static const uint qt_meta_data_QAbstractTextDocumentLayout[] = {
59
60
 // content:
61
       8,       // revision
62
       0,       // classname
63
       0,    0, // classinfo
64
       7,   14, // methods
65
       0,    0, // properties
66
       0,    0, // enums/sets
67
       0,    0, // constructors
68
       0,       // flags
69
       5,       // signalCount
70
71
 // signals: name, argc, parameters, tag, flags
72
       1,    1,   49,    2, 0x06 /* Public */,
73
       1,    0,   52,    2, 0x26 /* Public | MethodCloned */,
74
       3,    1,   53,    2, 0x06 /* Public */,
75
       6,    1,   56,    2, 0x06 /* Public */,
76
       8,    1,   59,    2, 0x06 /* Public */,
77
78
 // slots: name, argc, parameters, tag, flags
79
      10,    0,   62,    2, 0x08 /* Private */,
80
      11,    0,   63,    2, 0x08 /* Private */,
81
82
 // signals: parameters
83
    QMetaType::Void, QMetaType::QRectF,    2,
84
    QMetaType::Void,
85
    QMetaType::Void, 0x80000000 | 4,    5,
86
    QMetaType::Void, QMetaType::QSizeF,    7,
87
    QMetaType::Void, QMetaType::Int,    9,
88
89
 // slots: parameters
90
    QMetaType::Int,
91
    QMetaType::QSizeF,
92
93
       0        // eod
94
};
95
96
void QAbstractTextDocumentLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
97
0
{
98
0
    if (_c == QMetaObject::InvokeMetaMethod) {
99
0
        auto *_t = static_cast<QAbstractTextDocumentLayout *>(_o);
100
0
        (void)_t;
101
0
        switch (_id) {
102
0
        case 0: _t->update((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
103
0
        case 1: _t->update(); break;
104
0
        case 2: _t->updateBlock((*reinterpret_cast< const QTextBlock(*)>(_a[1]))); break;
105
0
        case 3: _t->documentSizeChanged((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break;
106
0
        case 4: _t->pageCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
107
0
        case 5: { int _r = _t->d_func()->_q_dynamicPageCountSlot();
108
0
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
109
0
        case 6: { QSizeF _r = _t->d_func()->_q_dynamicDocumentSizeSlot();
110
0
            if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); }  break;
111
0
        default: ;
112
0
        }
113
0
    } else if (_c == QMetaObject::IndexOfMethod) {
114
0
        int *result = reinterpret_cast<int *>(_a[0]);
115
0
        {
116
0
            using _t = void (QAbstractTextDocumentLayout::*)(const QRectF & );
117
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::update)) {
118
0
                *result = 0;
119
0
                return;
120
0
            }
121
0
        }
122
0
        {
123
0
            using _t = void (QAbstractTextDocumentLayout::*)(const QTextBlock & );
124
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::updateBlock)) {
125
0
                *result = 2;
126
0
                return;
127
0
            }
128
0
        }
129
0
        {
130
0
            using _t = void (QAbstractTextDocumentLayout::*)(const QSizeF & );
131
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::documentSizeChanged)) {
132
0
                *result = 3;
133
0
                return;
134
0
            }
135
0
        }
136
0
        {
137
0
            using _t = void (QAbstractTextDocumentLayout::*)(int );
138
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::pageCountChanged)) {
139
0
                *result = 4;
140
0
                return;
141
0
            }
142
0
        }
143
0
    }
144
0
}
145
146
QT_INIT_METAOBJECT const QMetaObject QAbstractTextDocumentLayout::staticMetaObject = { {
147
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
148
    qt_meta_stringdata_QAbstractTextDocumentLayout.data,
149
    qt_meta_data_QAbstractTextDocumentLayout,
150
    qt_static_metacall,
151
    nullptr,
152
    nullptr
153
} };
154
155
156
const QMetaObject *QAbstractTextDocumentLayout::metaObject() const
157
0
{
158
0
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
159
0
}
160
161
void *QAbstractTextDocumentLayout::qt_metacast(const char *_clname)
162
0
{
163
0
    if (!_clname) return nullptr;
164
0
    if (!strcmp(_clname, qt_meta_stringdata_QAbstractTextDocumentLayout.stringdata0))
165
0
        return static_cast<void*>(this);
166
0
    return QObject::qt_metacast(_clname);
167
0
}
168
169
int QAbstractTextDocumentLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
170
0
{
171
0
    _id = QObject::qt_metacall(_c, _id, _a);
172
0
    if (_id < 0)
173
0
        return _id;
174
0
    if (_c == QMetaObject::InvokeMetaMethod) {
175
0
        if (_id < 7)
176
0
            qt_static_metacall(this, _c, _id, _a);
177
0
        _id -= 7;
178
0
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
179
0
        if (_id < 7)
180
0
            *reinterpret_cast<int*>(_a[0]) = -1;
181
0
        _id -= 7;
182
0
    }
183
0
    return _id;
184
0
}
185
186
// SIGNAL 0
187
void QAbstractTextDocumentLayout::update(const QRectF & _t1)
188
0
{
189
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
190
0
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
191
0
}
192
193
// SIGNAL 2
194
void QAbstractTextDocumentLayout::updateBlock(const QTextBlock & _t1)
195
0
{
196
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
197
0
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
198
0
}
199
200
// SIGNAL 3
201
void QAbstractTextDocumentLayout::documentSizeChanged(const QSizeF & _t1)
202
0
{
203
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
204
0
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
205
0
}
206
207
// SIGNAL 4
208
void QAbstractTextDocumentLayout::pageCountChanged(int _t1)
209
0
{
210
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
211
0
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
212
0
}
213
QT_WARNING_POP
214
QT_END_MOC_NAMESPACE