Coverage Report

Created: 2020-03-12 16:59

/work/qtbase/src/gui/.moc/moc_qabstracttextdocumentlayout.cpp
Line
Count
Source (jump to first uncovered line)
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.0)
5
**
6
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
8
9
#include <memory>
10
#include "../../../../../src/qt/qtbase/src/gui/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.0. 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[14];
26
    char stringdata0[194];
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, 19), // "_q_handlerDestroyed"
46
QT_MOC_LITERAL(11, 139, 3), // "obj"
47
QT_MOC_LITERAL(12, 143, 23), // "_q_dynamicPageCountSlot"
48
QT_MOC_LITERAL(13, 167, 26) // "_q_dynamicDocumentSizeSlot"
49
50
    },
51
    "QAbstractTextDocumentLayout\0update\0\0"
52
    "updateBlock\0QTextBlock\0block\0"
53
    "documentSizeChanged\0newSize\0"
54
    "pageCountChanged\0newPages\0_q_handlerDestroyed\0"
55
    "obj\0_q_dynamicPageCountSlot\0"
56
    "_q_dynamicDocumentSizeSlot"
57
};
58
#undef QT_MOC_LITERAL
59
60
static const uint qt_meta_data_QAbstractTextDocumentLayout[] = {
61
62
 // content:
63
       8,       // revision
64
       0,       // classname
65
       0,    0, // classinfo
66
       8,   14, // methods
67
       0,    0, // properties
68
       0,    0, // enums/sets
69
       0,    0, // constructors
70
       0,       // flags
71
       5,       // signalCount
72
73
 // signals: name, argc, parameters, tag, flags
74
       1,    1,   54,    2, 0x06 /* Public */,
75
       1,    0,   57,    2, 0x26 /* Public | MethodCloned */,
76
       3,    1,   58,    2, 0x06 /* Public */,
77
       6,    1,   61,    2, 0x06 /* Public */,
78
       8,    1,   64,    2, 0x06 /* Public */,
79
80
 // slots: name, argc, parameters, tag, flags
81
      10,    1,   67,    2, 0x08 /* Private */,
82
      12,    0,   70,    2, 0x08 /* Private */,
83
      13,    0,   71,    2, 0x08 /* Private */,
84
85
 // signals: parameters
86
    QMetaType::Void, QMetaType::QRectF,    2,
87
    QMetaType::Void,
88
    QMetaType::Void, 0x80000000 | 4,    5,
89
    QMetaType::Void, QMetaType::QSizeF,    7,
90
    QMetaType::Void, QMetaType::Int,    9,
91
92
 // slots: parameters
93
    QMetaType::Void, QMetaType::QObjectStar,   11,
94
    QMetaType::Int,
95
    QMetaType::QSizeF,
96
97
       0        // eod
98
};
99
100
void QAbstractTextDocumentLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
101
0
{
102
0
    if (_c == QMetaObject::InvokeMetaMethod) {
103
0
        auto *_t = static_cast<QAbstractTextDocumentLayout *>(_o);
104
0
        Q_UNUSED(_t)
105
0
        switch (_id) {
106
0
        case 0: _t->update((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
107
0
        case 1: _t->update(); break;
108
0
        case 2: _t->updateBlock((*reinterpret_cast< const QTextBlock(*)>(_a[1]))); break;
109
0
        case 3: _t->documentSizeChanged((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break;
110
0
        case 4: _t->pageCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
111
0
        case 5: _t->d_func()->_q_handlerDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
112
0
        case 6: { int _r = _t->d_func()->_q_dynamicPageCountSlot();
113
0
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
114
0
        case 7: { QSizeF _r = _t->d_func()->_q_dynamicDocumentSizeSlot();
115
0
            if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); }  break;
116
0
        default: ;
117
0
        }
118
0
    } else if (_c == QMetaObject::IndexOfMethod) {
119
0
        int *result = reinterpret_cast<int *>(_a[0]);
120
0
        {
121
0
            using _t = void (QAbstractTextDocumentLayout::*)(const QRectF & );
122
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::update)) {
123
0
                *result = 0;
124
0
                return;
125
0
            }
126
0
        }
127
0
        {
128
0
            using _t = void (QAbstractTextDocumentLayout::*)(const QTextBlock & );
129
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::updateBlock)) {
130
0
                *result = 2;
131
0
                return;
132
0
            }
133
0
        }
134
0
        {
135
0
            using _t = void (QAbstractTextDocumentLayout::*)(const QSizeF & );
136
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::documentSizeChanged)) {
137
0
                *result = 3;
138
0
                return;
139
0
            }
140
0
        }
141
0
        {
142
0
            using _t = void (QAbstractTextDocumentLayout::*)(int );
143
0
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::pageCountChanged)) {
144
0
                *result = 4;
145
0
                return;
146
0
            }
147
0
        }
148
0
    }
149
0
}
150
151
QT_INIT_METAOBJECT const QMetaObject QAbstractTextDocumentLayout::staticMetaObject = { {
152
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
153
    qt_meta_stringdata_QAbstractTextDocumentLayout.data,
154
    qt_meta_data_QAbstractTextDocumentLayout,
155
    qt_static_metacall,
156
    nullptr,
157
    nullptr
158
} };
159
160
161
const QMetaObject *QAbstractTextDocumentLayout::metaObject() const
162
0
{
163
0
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
164
0
}
165
166
void *QAbstractTextDocumentLayout::qt_metacast(const char *_clname)
167
0
{
168
0
    if (!_clname) return nullptr;
169
0
    if (!strcmp(_clname, qt_meta_stringdata_QAbstractTextDocumentLayout.stringdata0))
170
0
        return static_cast<void*>(this);
171
0
    return QObject::qt_metacast(_clname);
172
0
}
173
174
int QAbstractTextDocumentLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
175
0
{
176
0
    _id = QObject::qt_metacall(_c, _id, _a);
177
0
    if (_id < 0)
178
0
        return _id;
179
0
    if (_c == QMetaObject::InvokeMetaMethod) {
180
0
        if (_id < 8)
181
0
            qt_static_metacall(this, _c, _id, _a);
182
0
        _id -= 8;
183
0
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
184
0
        if (_id < 8)
185
0
            *reinterpret_cast<int*>(_a[0]) = -1;
186
0
        _id -= 8;
187
0
    }
188
0
    return _id;
189
0
}
190
191
// SIGNAL 0
192
void QAbstractTextDocumentLayout::update(const QRectF & _t1)
193
0
{
194
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
195
0
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
196
0
}
197
198
// SIGNAL 2
199
void QAbstractTextDocumentLayout::updateBlock(const QTextBlock & _t1)
200
0
{
201
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
202
0
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
203
0
}
204
205
// SIGNAL 3
206
void QAbstractTextDocumentLayout::documentSizeChanged(const QSizeF & _t1)
207
0
{
208
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
209
0
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
210
0
}
211
212
// SIGNAL 4
213
void QAbstractTextDocumentLayout::pageCountChanged(int _t1)
214
0
{
215
0
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
216
0
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
217
0
}
218
QT_WARNING_POP
219
QT_END_MOC_NAMESPACE