Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'logwidget.h'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.2.4)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include <memory>
10 : #include "../../../../../src/libraries/gui/include/mcrl2/gui/logwidget.h"
11 : #include <QtGui/qtextcursor.h>
12 : #include <QtCore/qbytearray.h>
13 : #include <QtCore/qmetatype.h>
14 : #if !defined(Q_MOC_OUTPUT_REVISION)
15 : #error "The header file 'logwidget.h' doesn't include <QObject>."
16 : #elif Q_MOC_OUTPUT_REVISION != 68
17 : #error "This file was generated using the moc from 6.2.4. It"
18 : #error "cannot be used with the include files from this version of Qt."
19 : #error "(The moc has changed too much.)"
20 : #endif
21 :
22 : QT_BEGIN_MOC_NAMESPACE
23 : QT_WARNING_PUSH
24 : QT_WARNING_DISABLE_DEPRECATED
25 : struct qt_meta_stringdata_mcrl2__gui__qt__LogRelay_t {
26 : const uint offsetsAndSize[12];
27 : char stringdata0[61];
28 : };
29 : #define QT_MOC_LITERAL(ofs, len) \
30 : uint(offsetof(qt_meta_stringdata_mcrl2__gui__qt__LogRelay_t, stringdata0) + ofs), len
31 : static const qt_meta_stringdata_mcrl2__gui__qt__LogRelay_t qt_meta_stringdata_mcrl2__gui__qt__LogRelay = {
32 : {
33 : QT_MOC_LITERAL(0, 24), // "mcrl2::gui::qt::LogRelay"
34 : QT_MOC_LITERAL(25, 10), // "logMessage"
35 : QT_MOC_LITERAL(36, 0), // ""
36 : QT_MOC_LITERAL(37, 5), // "level"
37 : QT_MOC_LITERAL(43, 9), // "timestamp"
38 : QT_MOC_LITERAL(53, 7) // "message"
39 :
40 : },
41 : "mcrl2::gui::qt::LogRelay\0logMessage\0"
42 : "\0level\0timestamp\0message"
43 : };
44 : #undef QT_MOC_LITERAL
45 :
46 : static const uint qt_meta_data_mcrl2__gui__qt__LogRelay[] = {
47 :
48 : // content:
49 : 10, // revision
50 : 0, // classname
51 : 0, 0, // classinfo
52 : 1, 14, // methods
53 : 0, 0, // properties
54 : 0, 0, // enums/sets
55 : 0, 0, // constructors
56 : 0, // flags
57 : 1, // signalCount
58 :
59 : // signals: name, argc, parameters, tag, flags, initial metatype offsets
60 : 1, 3, 20, 2, 0x06, 1 /* Public */,
61 :
62 : // signals: parameters
63 : QMetaType::Void, QMetaType::QString, QMetaType::QDateTime, QMetaType::QString, 3, 4, 5,
64 :
65 : 0 // eod
66 : };
67 :
68 0 : void mcrl2::gui::qt::LogRelay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69 : {
70 0 : if (_c == QMetaObject::InvokeMetaMethod) {
71 0 : auto *_t = static_cast<LogRelay *>(_o);
72 : (void)_t;
73 0 : switch (_id) {
74 0 : case 0: _t->logMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QDateTime>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[3]))); break;
75 0 : default: ;
76 : }
77 0 : } else if (_c == QMetaObject::IndexOfMethod) {
78 0 : int *result = reinterpret_cast<int *>(_a[0]);
79 : {
80 : using _t = void (LogRelay::*)(QString , QDateTime , QString );
81 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogRelay::logMessage)) {
82 0 : *result = 0;
83 0 : return;
84 : }
85 : }
86 : }
87 : }
88 :
89 : const QMetaObject mcrl2::gui::qt::LogRelay::staticMetaObject = { {
90 : QMetaObject::SuperData::link<QObject::staticMetaObject>(),
91 : qt_meta_stringdata_mcrl2__gui__qt__LogRelay.offsetsAndSize,
92 : qt_meta_data_mcrl2__gui__qt__LogRelay,
93 : qt_static_metacall,
94 : nullptr,
95 : qt_incomplete_metaTypeArray<qt_meta_stringdata_mcrl2__gui__qt__LogRelay_t
96 : , QtPrivate::TypeAndForceComplete<LogRelay, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>, QtPrivate::TypeAndForceComplete<QDateTime, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>
97 :
98 :
99 :
100 : >,
101 : nullptr
102 : } };
103 :
104 :
105 0 : const QMetaObject *mcrl2::gui::qt::LogRelay::metaObject() const
106 : {
107 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
108 : }
109 :
110 0 : void *mcrl2::gui::qt::LogRelay::qt_metacast(const char *_clname)
111 : {
112 0 : if (!_clname) return nullptr;
113 0 : if (!strcmp(_clname, qt_meta_stringdata_mcrl2__gui__qt__LogRelay.stringdata0))
114 0 : return static_cast<void*>(this);
115 0 : if (!strcmp(_clname, "output_policy"))
116 0 : return static_cast< output_policy*>(this);
117 0 : return QObject::qt_metacast(_clname);
118 : }
119 :
120 0 : int mcrl2::gui::qt::LogRelay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
121 : {
122 0 : _id = QObject::qt_metacall(_c, _id, _a);
123 0 : if (_id < 0)
124 0 : return _id;
125 0 : if (_c == QMetaObject::InvokeMetaMethod) {
126 0 : if (_id < 1)
127 0 : qt_static_metacall(this, _c, _id, _a);
128 0 : _id -= 1;
129 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
130 0 : if (_id < 1)
131 0 : *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
132 0 : _id -= 1;
133 : }
134 0 : return _id;
135 : }
136 :
137 : // SIGNAL 0
138 0 : void mcrl2::gui::qt::LogRelay::logMessage(QString _t1, QDateTime _t2, QString _t3)
139 : {
140 0 : void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
141 0 : QMetaObject::activate(this, &staticMetaObject, 0, _a);
142 0 : }
143 : struct qt_meta_stringdata_mcrl2__gui__qt__LogWidget_t {
144 : const uint offsetsAndSize[16];
145 : char stringdata0[92];
146 : };
147 : #define QT_MOC_LITERAL(ofs, len) \
148 : uint(offsetof(qt_meta_stringdata_mcrl2__gui__qt__LogWidget_t, stringdata0) + ofs), len
149 : static const qt_meta_stringdata_mcrl2__gui__qt__LogWidget_t qt_meta_stringdata_mcrl2__gui__qt__LogWidget = {
150 : {
151 : QT_MOC_LITERAL(0, 25), // "mcrl2::gui::qt::LogWidget"
152 : QT_MOC_LITERAL(26, 10), // "logMessage"
153 : QT_MOC_LITERAL(37, 0), // ""
154 : QT_MOC_LITERAL(38, 5), // "level"
155 : QT_MOC_LITERAL(44, 9), // "timestamp"
156 : QT_MOC_LITERAL(54, 7), // "message"
157 : QT_MOC_LITERAL(62, 16), // "formattedMessage"
158 : QT_MOC_LITERAL(79, 12) // "writeMessage"
159 :
160 : },
161 : "mcrl2::gui::qt::LogWidget\0logMessage\0"
162 : "\0level\0timestamp\0message\0formattedMessage\0"
163 : "writeMessage"
164 : };
165 : #undef QT_MOC_LITERAL
166 :
167 : static const uint qt_meta_data_mcrl2__gui__qt__LogWidget[] = {
168 :
169 : // content:
170 : 10, // revision
171 : 0, // classname
172 : 0, 0, // classinfo
173 : 2, 14, // methods
174 : 0, 0, // properties
175 : 0, 0, // enums/sets
176 : 0, 0, // constructors
177 : 0, // flags
178 : 1, // signalCount
179 :
180 : // signals: name, argc, parameters, tag, flags, initial metatype offsets
181 : 1, 4, 26, 2, 0x06, 1 /* Public */,
182 :
183 : // slots: name, argc, parameters, tag, flags, initial metatype offsets
184 : 7, 3, 35, 2, 0x08, 6 /* Private */,
185 :
186 : // signals: parameters
187 : QMetaType::Void, QMetaType::QString, QMetaType::QDateTime, QMetaType::QString, QMetaType::QString, 3, 4, 5, 6,
188 :
189 : // slots: parameters
190 : QMetaType::Void, QMetaType::QString, QMetaType::QDateTime, QMetaType::QString, 3, 4, 5,
191 :
192 : 0 // eod
193 : };
194 :
195 0 : void mcrl2::gui::qt::LogWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
196 : {
197 0 : if (_c == QMetaObject::InvokeMetaMethod) {
198 0 : auto *_t = static_cast<LogWidget *>(_o);
199 : (void)_t;
200 0 : switch (_id) {
201 0 : case 0: _t->logMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QDateTime>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[4]))); break;
202 0 : case 1: _t->writeMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QDateTime>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[3]))); break;
203 0 : default: ;
204 : }
205 0 : } else if (_c == QMetaObject::IndexOfMethod) {
206 0 : int *result = reinterpret_cast<int *>(_a[0]);
207 : {
208 : using _t = void (LogWidget::*)(QString , QDateTime , QString , QString );
209 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogWidget::logMessage)) {
210 0 : *result = 0;
211 0 : return;
212 : }
213 : }
214 : }
215 : }
216 :
217 : const QMetaObject mcrl2::gui::qt::LogWidget::staticMetaObject = { {
218 : QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
219 : qt_meta_stringdata_mcrl2__gui__qt__LogWidget.offsetsAndSize,
220 : qt_meta_data_mcrl2__gui__qt__LogWidget,
221 : qt_static_metacall,
222 : nullptr,
223 : qt_incomplete_metaTypeArray<qt_meta_stringdata_mcrl2__gui__qt__LogWidget_t
224 : , QtPrivate::TypeAndForceComplete<LogWidget, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>, QtPrivate::TypeAndForceComplete<QDateTime, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>
225 : , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>, QtPrivate::TypeAndForceComplete<QDateTime, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>
226 :
227 :
228 : >,
229 : nullptr
230 : } };
231 :
232 :
233 0 : const QMetaObject *mcrl2::gui::qt::LogWidget::metaObject() const
234 : {
235 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
236 : }
237 :
238 0 : void *mcrl2::gui::qt::LogWidget::qt_metacast(const char *_clname)
239 : {
240 0 : if (!_clname) return nullptr;
241 0 : if (!strcmp(_clname, qt_meta_stringdata_mcrl2__gui__qt__LogWidget.stringdata0))
242 0 : return static_cast<void*>(this);
243 0 : return QWidget::qt_metacast(_clname);
244 : }
245 :
246 0 : int mcrl2::gui::qt::LogWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
247 : {
248 0 : _id = QWidget::qt_metacall(_c, _id, _a);
249 0 : if (_id < 0)
250 0 : return _id;
251 0 : if (_c == QMetaObject::InvokeMetaMethod) {
252 0 : if (_id < 2)
253 0 : qt_static_metacall(this, _c, _id, _a);
254 0 : _id -= 2;
255 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
256 0 : if (_id < 2)
257 0 : *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
258 0 : _id -= 2;
259 : }
260 0 : return _id;
261 : }
262 :
263 : // SIGNAL 0
264 0 : void mcrl2::gui::qt::LogWidget::logMessage(QString _t1, QDateTime _t2, QString _t3, QString _t4)
265 : {
266 0 : void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
267 0 : QMetaObject::activate(this, &staticMetaObject, 0, _a);
268 0 : }
269 : QT_WARNING_POP
270 : QT_END_MOC_NAMESPACE
|