GCC Code Coverage Report


Directory: ./
File: plugins/pyqcustomplot/moc_qcpitemrichtext.cpp
Date: 2024-10-14 11:04:13
Exec Total Coverage
Lines: 0 39 0.0%
Branches: 0 34 0.0%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qcpitemrichtext.hh'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include <memory>
10 #include "qcpitemrichtext.hh"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'qcpitemrichtext.hh' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.3. 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_QCPItemRichText_t {
25 QByteArrayData data[2];
26 char stringdata0[21];
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_QCPItemRichText_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_QCPItemRichText_t qt_meta_stringdata_QCPItemRichText = {
34 {
35 QT_MOC_LITERAL(0, 0, 15), // "QCPItemRichText"
36 QT_MOC_LITERAL(1, 16, 4) // "text"
37
38 },
39 "QCPItemRichText\0text"
40 };
41 #undef QT_MOC_LITERAL
42
43 static const uint qt_meta_data_QCPItemRichText[] = {
44
45 // content:
46 8, // revision
47 0, // classname
48 0, 0, // classinfo
49 0, 0, // methods
50 1, 14, // properties
51 0, 0, // enums/sets
52 0, 0, // constructors
53 0, // flags
54 0, // signalCount
55
56 // properties: name, type, flags
57 1, QMetaType::QString, 0x00095103,
58
59 0 // eod
60 };
61
62 void QCPItemRichText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
63 {
64
65 #ifndef QT_NO_PROPERTIES
66 if (_c == QMetaObject::ReadProperty) {
67 auto *_t = static_cast<QCPItemRichText *>(_o);
68 (void)_t;
69 void *_v = _a[0];
70 switch (_id) {
71 case 0: *reinterpret_cast< QString*>(_v) = _t->text(); break;
72 default: break;
73 }
74 } else if (_c == QMetaObject::WriteProperty) {
75 auto *_t = static_cast<QCPItemRichText *>(_o);
76 (void)_t;
77 void *_v = _a[0];
78 switch (_id) {
79 case 0: _t->setText(*reinterpret_cast< QString*>(_v)); break;
80 default: break;
81 }
82 } else if (_c == QMetaObject::ResetProperty) {
83 }
84 #endif // QT_NO_PROPERTIES
85 (void)_o;
86 (void)_id;
87 (void)_c;
88 (void)_a;
89 }
90
91 QT_INIT_METAOBJECT const QMetaObject QCPItemRichText::staticMetaObject = { {
92 QMetaObject::SuperData::link<QCPItemText::staticMetaObject>(),
93 qt_meta_stringdata_QCPItemRichText.data,
94 qt_meta_data_QCPItemRichText,
95 qt_static_metacall,
96 nullptr,
97 nullptr
98 } };
99
100
101 const QMetaObject *QCPItemRichText::metaObject() const
102 {
103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
104 }
105
106 void *QCPItemRichText::qt_metacast(const char *_clname)
107 {
108 if (!_clname) return nullptr;
109 if (!strcmp(_clname, qt_meta_stringdata_QCPItemRichText.stringdata0))
110 return static_cast<void*>(this);
111 return QCPItemText::qt_metacast(_clname);
112 }
113
114 int QCPItemRichText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
115 {
116 _id = QCPItemText::qt_metacall(_c, _id, _a);
117 if (_id < 0)
118 return _id;
119
120 #ifndef QT_NO_PROPERTIES
121 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
122 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
123 qt_static_metacall(this, _c, _id, _a);
124 _id -= 1;
125 } else if (_c == QMetaObject::QueryPropertyDesignable) {
126 _id -= 1;
127 } else if (_c == QMetaObject::QueryPropertyScriptable) {
128 _id -= 1;
129 } else if (_c == QMetaObject::QueryPropertyStored) {
130 _id -= 1;
131 } else if (_c == QMetaObject::QueryPropertyEditable) {
132 _id -= 1;
133 } else if (_c == QMetaObject::QueryPropertyUser) {
134 _id -= 1;
135 }
136 #endif // QT_NO_PROPERTIES
137 return _id;
138 }
139 QT_WARNING_POP
140 QT_END_MOC_NAMESPACE
141