Coverage Report

Created: 2025-11-16 07:45

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/qtbase/src/gui/.moc/moc_qtextdocumentlayout_p.cpp
Line
Count
Source
1
/****************************************************************************
2
** Meta object code from reading C++ file 'qtextdocumentlayout_p.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/qtextdocumentlayout_p.h"
11
#include <QtCore/qbytearray.h>
12
#include <QtCore/qmetatype.h>
13
#if !defined(Q_MOC_OUTPUT_REVISION)
14
#error "The header file 'qtextdocumentlayout_p.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_QTextDocumentLayout_t {
25
    QByteArrayData data[4];
26
    char stringdata0[63];
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_QTextDocumentLayout_t, stringdata0) + ofs \
31
        - idx * sizeof(QByteArrayData)) \
32
    )
33
static const qt_meta_stringdata_QTextDocumentLayout_t qt_meta_stringdata_QTextDocumentLayout = {
34
    {
35
QT_MOC_LITERAL(0, 0, 19), // "QTextDocumentLayout"
36
QT_MOC_LITERAL(1, 20, 11), // "cursorWidth"
37
QT_MOC_LITERAL(2, 32, 10), // "idealWidth"
38
QT_MOC_LITERAL(3, 43, 19) // "contentHasAlignment"
39
40
    },
41
    "QTextDocumentLayout\0cursorWidth\0"
42
    "idealWidth\0contentHasAlignment"
43
};
44
#undef QT_MOC_LITERAL
45
46
static const uint qt_meta_data_QTextDocumentLayout[] = {
47
48
 // content:
49
       8,       // revision
50
       0,       // classname
51
       0,    0, // classinfo
52
       0,    0, // methods
53
       3,   14, // properties
54
       0,    0, // enums/sets
55
       0,    0, // constructors
56
       0,       // flags
57
       0,       // signalCount
58
59
 // properties: name, type, flags
60
       1, QMetaType::Int, 0x00095103,
61
       2, QMetaType::QReal, 0x00095001,
62
       3, QMetaType::Bool, 0x00095001,
63
64
       0        // eod
65
};
66
67
void QTextDocumentLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68
0
{
69
70
0
#ifndef QT_NO_PROPERTIES
71
0
    if (_c == QMetaObject::ReadProperty) {
72
0
        auto *_t = static_cast<QTextDocumentLayout *>(_o);
73
0
        (void)_t;
74
0
        void *_v = _a[0];
75
0
        switch (_id) {
76
0
        case 0: *reinterpret_cast< int*>(_v) = _t->cursorWidth(); break;
77
0
        case 1: *reinterpret_cast< qreal*>(_v) = _t->idealWidth(); break;
78
0
        case 2: *reinterpret_cast< bool*>(_v) = _t->contentHasAlignment(); break;
79
0
        default: break;
80
0
        }
81
0
    } else if (_c == QMetaObject::WriteProperty) {
82
0
        auto *_t = static_cast<QTextDocumentLayout *>(_o);
83
0
        (void)_t;
84
0
        void *_v = _a[0];
85
0
        switch (_id) {
86
0
        case 0: _t->setCursorWidth(*reinterpret_cast< int*>(_v)); break;
87
0
        default: break;
88
0
        }
89
0
    } else if (_c == QMetaObject::ResetProperty) {
90
0
    }
91
0
#endif // QT_NO_PROPERTIES
92
0
    (void)_o;
93
0
    (void)_id;
94
0
    (void)_c;
95
0
    (void)_a;
96
0
}
97
98
QT_INIT_METAOBJECT const QMetaObject QTextDocumentLayout::staticMetaObject = { {
99
    QMetaObject::SuperData::link<QAbstractTextDocumentLayout::staticMetaObject>(),
100
    qt_meta_stringdata_QTextDocumentLayout.data,
101
    qt_meta_data_QTextDocumentLayout,
102
    qt_static_metacall,
103
    nullptr,
104
    nullptr
105
} };
106
107
108
const QMetaObject *QTextDocumentLayout::metaObject() const
109
0
{
110
0
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
111
0
}
112
113
void *QTextDocumentLayout::qt_metacast(const char *_clname)
114
0
{
115
0
    if (!_clname) return nullptr;
116
0
    if (!strcmp(_clname, qt_meta_stringdata_QTextDocumentLayout.stringdata0))
117
0
        return static_cast<void*>(this);
118
0
    return QAbstractTextDocumentLayout::qt_metacast(_clname);
119
0
}
120
121
int QTextDocumentLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
122
0
{
123
0
    _id = QAbstractTextDocumentLayout::qt_metacall(_c, _id, _a);
124
0
    if (_id < 0)
125
0
        return _id;
126
    
127
0
#ifndef QT_NO_PROPERTIES
128
0
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
129
0
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
130
0
        qt_static_metacall(this, _c, _id, _a);
131
0
        _id -= 3;
132
0
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
133
0
        _id -= 3;
134
0
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
135
0
        _id -= 3;
136
0
    } else if (_c == QMetaObject::QueryPropertyStored) {
137
0
        _id -= 3;
138
0
    } else if (_c == QMetaObject::QueryPropertyEditable) {
139
0
        _id -= 3;
140
0
    } else if (_c == QMetaObject::QueryPropertyUser) {
141
0
        _id -= 3;
142
0
    }
143
0
#endif // QT_NO_PROPERTIES
144
0
    return _id;
145
0
}
146
QT_WARNING_POP
147
QT_END_MOC_NAMESPACE