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