edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
moc_texteditorwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'texteditorwidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'texteditorwidget.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.3. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextEditorWidget",
42 "focusIn",
43 "",
44 "QWidget*",
45 "event",
46 "focusOut",
47 "verticalScrollBarChanged",
48 "QScrollBar*",
49 "newScrollBar",
50 "horizontalScrollBarChanged",
51 "connectVerticalScrollBar",
52 "connectHorizontalScrollBar",
53 "scrollTopToLine",
54 "line",
55 "updateLineAtOffset",
56 "offset",
57 "updateAreaAroundOffset",
58 "width",
59 "updateLine",
60 "length",
61 "updateComponents",
62 "updateGeometryComponents",
63 "updateRendererViewport"
64);
65#else // !QT_MOC_HAS_STRING_DATA
92#define QT_MOC_LITERAL(ofs, len) \
93 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t::offsetsAndSizes) + ofs), len
94Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS = {
95 {
96 QT_MOC_LITERAL(0, 23), // "edbee::TextEditorWidget"
97 QT_MOC_LITERAL(24, 7), // "focusIn"
98 QT_MOC_LITERAL(32, 0), // ""
99 QT_MOC_LITERAL(33, 8), // "QWidget*"
100 QT_MOC_LITERAL(42, 5), // "event"
101 QT_MOC_LITERAL(48, 8), // "focusOut"
102 QT_MOC_LITERAL(57, 24), // "verticalScrollBarChanged"
103 QT_MOC_LITERAL(82, 11), // "QScrollBar*"
104 QT_MOC_LITERAL(94, 12), // "newScrollBar"
105 QT_MOC_LITERAL(107, 26), // "horizontalScrollBarChanged"
106 QT_MOC_LITERAL(134, 24), // "connectVerticalScrollBar"
107 QT_MOC_LITERAL(159, 26), // "connectHorizontalScrollBar"
108 QT_MOC_LITERAL(186, 15), // "scrollTopToLine"
109 QT_MOC_LITERAL(202, 4), // "line"
110 QT_MOC_LITERAL(207, 18), // "updateLineAtOffset"
111 QT_MOC_LITERAL(226, 6), // "offset"
112 QT_MOC_LITERAL(233, 22), // "updateAreaAroundOffset"
113 QT_MOC_LITERAL(256, 5), // "width"
114 QT_MOC_LITERAL(262, 10), // "updateLine"
115 QT_MOC_LITERAL(273, 6), // "length"
116 QT_MOC_LITERAL(280, 16), // "updateComponents"
117 QT_MOC_LITERAL(297, 24), // "updateGeometryComponents"
118 QT_MOC_LITERAL(322, 22) // "updateRendererViewport"
119 },
120 "edbee::TextEditorWidget",
121 "focusIn",
122 "",
123 "QWidget*",
124 "event",
125 "focusOut",
126 "verticalScrollBarChanged",
127 "QScrollBar*",
128 "newScrollBar",
129 "horizontalScrollBarChanged",
130 "connectVerticalScrollBar",
131 "connectHorizontalScrollBar",
132 "scrollTopToLine",
133 "line",
134 "updateLineAtOffset",
135 "offset",
136 "updateAreaAroundOffset",
137 "width",
138 "updateLine",
139 "length",
140 "updateComponents",
141 "updateGeometryComponents",
142 "updateRendererViewport"
143};
144#undef QT_MOC_LITERAL
145#endif // !QT_MOC_HAS_STRING_DATA
146} // unnamed namespace
147
148Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextEditorWidgetENDCLASS[] = {
149
150 // content:
151 12, // revision
152 0, // classname
153 0, 0, // classinfo
154 15, 14, // methods
155 0, 0, // properties
156 0, 0, // enums/sets
157 0, 0, // constructors
158 0, // flags
159 4, // signalCount
160
161 // signals: name, argc, parameters, tag, flags, initial metatype offsets
162 1, 1, 104, 2, 0x06, 1 /* Public */,
163 5, 1, 107, 2, 0x06, 3 /* Public */,
164 6, 1, 110, 2, 0x06, 5 /* Public */,
165 9, 1, 113, 2, 0x06, 7 /* Public */,
166
167 // slots: name, argc, parameters, tag, flags, initial metatype offsets
168 10, 0, 116, 2, 0x09, 9 /* Protected */,
169 11, 0, 117, 2, 0x09, 10 /* Protected */,
170 12, 1, 118, 2, 0x0a, 11 /* Public */,
171 14, 1, 121, 2, 0x0a, 13 /* Public */,
172 16, 2, 124, 2, 0x0a, 15 /* Public */,
173 16, 1, 129, 2, 0x2a, 18 /* Public | MethodCloned */,
174 18, 2, 132, 2, 0x0a, 20 /* Public */,
175 18, 1, 137, 2, 0x2a, 23 /* Public | MethodCloned */,
176 20, 0, 140, 2, 0x0a, 25 /* Public */,
177 21, 0, 141, 2, 0x0a, 26 /* Public */,
178 22, 0, 142, 2, 0x0a, 27 /* Public */,
179
180 // signals: parameters
181 QMetaType::Void, 0x80000000 | 3, 4,
182 QMetaType::Void, 0x80000000 | 3, 4,
183 QMetaType::Void, 0x80000000 | 7, 8,
184 QMetaType::Void, 0x80000000 | 7, 8,
185
186 // slots: parameters
187 QMetaType::Void,
188 QMetaType::Void,
189 QMetaType::Void, QMetaType::Int, 13,
190 QMetaType::Void, QMetaType::Int, 15,
191 QMetaType::Void, QMetaType::Int, QMetaType::Int, 15, 17,
192 QMetaType::Void, QMetaType::Int, 15,
193 QMetaType::Void, QMetaType::Int, QMetaType::Int, 13, 19,
194 QMetaType::Void, QMetaType::Int, 13,
195 QMetaType::Void,
196 QMetaType::Void,
197 QMetaType::Void,
198
199 0 // eod
200};
201
202Q_CONSTINIT const QMetaObject edbee::TextEditorWidget::staticMetaObject = { {
203 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
204 qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS.offsetsAndSizes,
205 qt_meta_data_CLASSedbeeSCOPETextEditorWidgetENDCLASS,
206 qt_static_metacall,
207 nullptr,
208 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t,
209 // Q_OBJECT / Q_GADGET
210 QtPrivate::TypeAndForceComplete<TextEditorWidget, std::true_type>,
211 // method 'focusIn'
212 QtPrivate::TypeAndForceComplete<void, std::false_type>,
213 QtPrivate::TypeAndForceComplete<QWidget *, std::false_type>,
214 // method 'focusOut'
215 QtPrivate::TypeAndForceComplete<void, std::false_type>,
216 QtPrivate::TypeAndForceComplete<QWidget *, std::false_type>,
217 // method 'verticalScrollBarChanged'
218 QtPrivate::TypeAndForceComplete<void, std::false_type>,
219 QtPrivate::TypeAndForceComplete<QScrollBar *, std::false_type>,
220 // method 'horizontalScrollBarChanged'
221 QtPrivate::TypeAndForceComplete<void, std::false_type>,
222 QtPrivate::TypeAndForceComplete<QScrollBar *, std::false_type>,
223 // method 'connectVerticalScrollBar'
224 QtPrivate::TypeAndForceComplete<void, std::false_type>,
225 // method 'connectHorizontalScrollBar'
226 QtPrivate::TypeAndForceComplete<void, std::false_type>,
227 // method 'scrollTopToLine'
228 QtPrivate::TypeAndForceComplete<void, std::false_type>,
229 QtPrivate::TypeAndForceComplete<int, std::false_type>,
230 // method 'updateLineAtOffset'
231 QtPrivate::TypeAndForceComplete<void, std::false_type>,
232 QtPrivate::TypeAndForceComplete<int, std::false_type>,
233 // method 'updateAreaAroundOffset'
234 QtPrivate::TypeAndForceComplete<void, std::false_type>,
235 QtPrivate::TypeAndForceComplete<int, std::false_type>,
236 QtPrivate::TypeAndForceComplete<int, std::false_type>,
237 // method 'updateAreaAroundOffset'
238 QtPrivate::TypeAndForceComplete<void, std::false_type>,
239 QtPrivate::TypeAndForceComplete<int, std::false_type>,
240 // method 'updateLine'
241 QtPrivate::TypeAndForceComplete<void, std::false_type>,
242 QtPrivate::TypeAndForceComplete<int, std::false_type>,
243 QtPrivate::TypeAndForceComplete<int, std::false_type>,
244 // method 'updateLine'
245 QtPrivate::TypeAndForceComplete<void, std::false_type>,
246 QtPrivate::TypeAndForceComplete<int, std::false_type>,
247 // method 'updateComponents'
248 QtPrivate::TypeAndForceComplete<void, std::false_type>,
249 // method 'updateGeometryComponents'
250 QtPrivate::TypeAndForceComplete<void, std::false_type>,
251 // method 'updateRendererViewport'
252 QtPrivate::TypeAndForceComplete<void, std::false_type>
253 >,
254 nullptr
255} };
256
257void edbee::TextEditorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
258{
259 if (_c == QMetaObject::InvokeMetaMethod) {
260 auto *_t = static_cast<TextEditorWidget *>(_o);
261 (void)_t;
262 switch (_id) {
263 case 0: _t->focusIn((*reinterpret_cast< std::add_pointer_t<QWidget*>>(_a[1]))); break;
264 case 1: _t->focusOut((*reinterpret_cast< std::add_pointer_t<QWidget*>>(_a[1]))); break;
265 case 2: _t->verticalScrollBarChanged((*reinterpret_cast< std::add_pointer_t<QScrollBar*>>(_a[1]))); break;
266 case 3: _t->horizontalScrollBarChanged((*reinterpret_cast< std::add_pointer_t<QScrollBar*>>(_a[1]))); break;
267 case 4: _t->connectVerticalScrollBar(); break;
268 case 5: _t->connectHorizontalScrollBar(); break;
269 case 6: _t->scrollTopToLine((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
270 case 7: _t->updateLineAtOffset((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
271 case 8: _t->updateAreaAroundOffset((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
272 case 9: _t->updateAreaAroundOffset((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
273 case 10: _t->updateLine((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
274 case 11: _t->updateLine((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
275 case 12: _t->updateComponents(); break;
276 case 13: _t->updateGeometryComponents(); break;
277 case 14: _t->updateRendererViewport(); break;
278 default: ;
279 }
280 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
281 switch (_id) {
282 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
283 case 0:
284 switch (*reinterpret_cast<int*>(_a[1])) {
285 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
286 case 0:
287 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
288 }
289 break;
290 case 1:
291 switch (*reinterpret_cast<int*>(_a[1])) {
292 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
293 case 0:
294 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
295 }
296 break;
297 }
298 } else if (_c == QMetaObject::IndexOfMethod) {
299 int *result = reinterpret_cast<int *>(_a[0]);
300 {
301 using _t = void (TextEditorWidget::*)(QWidget * );
302 if (_t _q_method = &TextEditorWidget::focusIn; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
303 *result = 0;
304 return;
305 }
306 }
307 {
308 using _t = void (TextEditorWidget::*)(QWidget * );
309 if (_t _q_method = &TextEditorWidget::focusOut; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
310 *result = 1;
311 return;
312 }
313 }
314 {
315 using _t = void (TextEditorWidget::*)(QScrollBar * );
316 if (_t _q_method = &TextEditorWidget::verticalScrollBarChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
317 *result = 2;
318 return;
319 }
320 }
321 {
322 using _t = void (TextEditorWidget::*)(QScrollBar * );
323 if (_t _q_method = &TextEditorWidget::horizontalScrollBarChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
324 *result = 3;
325 return;
326 }
327 }
328 }
329}
330
331const QMetaObject *edbee::TextEditorWidget::metaObject() const
332{
333 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
334}
335
336void *edbee::TextEditorWidget::qt_metacast(const char *_clname)
337{
338 if (!_clname) return nullptr;
339 if (!strcmp(_clname, qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS.stringdata0))
340 return static_cast<void*>(this);
341 return QWidget::qt_metacast(_clname);
342}
343
344int edbee::TextEditorWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
345{
346 _id = QWidget::qt_metacall(_c, _id, _a);
347 if (_id < 0)
348 return _id;
349 if (_c == QMetaObject::InvokeMetaMethod) {
350 if (_id < 15)
351 qt_static_metacall(this, _c, _id, _a);
352 _id -= 15;
353 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
354 if (_id < 15)
355 qt_static_metacall(this, _c, _id, _a);
356 _id -= 15;
357 }
358 return _id;
359}
360
361// SIGNAL 0
363{
364 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
365 QMetaObject::activate(this, &staticMetaObject, 0, _a);
366}
367
368// SIGNAL 1
370{
371 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
372 QMetaObject::activate(this, &staticMetaObject, 1, _a);
373}
374
375// SIGNAL 2
377{
378 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
379 QMetaObject::activate(this, &staticMetaObject, 2, _a);
380}
381
382// SIGNAL 3
384{
385 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
386 QMetaObject::activate(this, &staticMetaObject, 3, _a);
387}
388QT_WARNING_POP
TextEditorWidget(TextEditorController *controller, QWidget *parent=0)
The default TextEditor widget constructor.
Definition texteditorwidget.cpp:50
void verticalScrollBarChanged(QScrollBar *newScrollBar)
Definition moc_texteditorwidget.cpp:376
void horizontalScrollBarChanged(QScrollBar *newScrollBar)
Definition moc_texteditorwidget.cpp:383
void focusIn(QWidget *event)
Definition moc_texteditorwidget.cpp:362
void focusOut(QWidget *event)
Definition moc_texteditorwidget.cpp:369
#define Q_CONSTINIT
Definition moc_texteditorscrollarea.cpp:30
#define QT_MOC_LITERAL(ofs, len)
Definition moc_texteditorwidget.cpp:92
Definition moc_texteditorscrollarea.cpp:36