10#include <QtCore/qmetatype.h>
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
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.)"
35QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextEditorWidget",
47 "verticalScrollBarChanged",
50 "horizontalScrollBarChanged",
51 "connectVerticalScrollBar",
52 "connectHorizontalScrollBar",
57 "updateAreaAroundOffset",
62 "updateGeometryComponents",
63 "updateRendererViewport"
92#define QT_MOC_LITERAL(ofs, len) \
93 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t::offsetsAndSizes) + ofs), len
92#define QT_MOC_LITERAL(ofs, len) \ …
94Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS = {
120 "edbee::TextEditorWidget",
126 "verticalScrollBarChanged",
129 "horizontalScrollBarChanged",
130 "connectVerticalScrollBar",
131 "connectHorizontalScrollBar",
134 "updateLineAtOffset",
136 "updateAreaAroundOffset",
141 "updateGeometryComponents",
142 "updateRendererViewport"
148Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextEditorWidgetENDCLASS[] = {
162 1, 1, 104, 2, 0x06, 1 ,
163 5, 1, 107, 2, 0x06, 3 ,
164 6, 1, 110, 2, 0x06, 5 ,
165 9, 1, 113, 2, 0x06, 7 ,
168 10, 0, 116, 2, 0x09, 9 ,
169 11, 0, 117, 2, 0x09, 10 ,
170 12, 1, 118, 2, 0x0a, 11 ,
171 14, 1, 121, 2, 0x0a, 13 ,
172 16, 2, 124, 2, 0x0a, 15 ,
173 16, 1, 129, 2, 0x2a, 18 ,
174 18, 2, 132, 2, 0x0a, 20 ,
175 18, 1, 137, 2, 0x2a, 23 ,
176 20, 0, 140, 2, 0x0a, 25 ,
177 21, 0, 141, 2, 0x0a, 26 ,
178 22, 0, 142, 2, 0x0a, 27 ,
181 QMetaType::Void, 0x80000000 | 3, 4,
182 QMetaType::Void, 0x80000000 | 3, 4,
183 QMetaType::Void, 0x80000000 | 7, 8,
184 QMetaType::Void, 0x80000000 | 7, 8,
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,
202Q_CONSTINIT const QMetaObject edbee::TextEditorWidget::staticMetaObject = { {
203 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
204 qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS.
offsetsAndSizes,
205 qt_meta_data_CLASSedbeeSCOPETextEditorWidgetENDCLASS,
208 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextEditorWidgetENDCLASS_t,
210 QtPrivate::TypeAndForceComplete<TextEditorWidget, std::true_type>,
212 QtPrivate::TypeAndForceComplete<void, std::false_type>,
213 QtPrivate::TypeAndForceComplete<QWidget *, std::false_type>,
215 QtPrivate::TypeAndForceComplete<void, std::false_type>,
216 QtPrivate::TypeAndForceComplete<QWidget *, std::false_type>,
218 QtPrivate::TypeAndForceComplete<void, std::false_type>,
219 QtPrivate::TypeAndForceComplete<QScrollBar *, std::false_type>,
221 QtPrivate::TypeAndForceComplete<void, std::false_type>,
222 QtPrivate::TypeAndForceComplete<QScrollBar *, std::false_type>,
224 QtPrivate::TypeAndForceComplete<void, std::false_type>,
226 QtPrivate::TypeAndForceComplete<void, std::false_type>,
228 QtPrivate::TypeAndForceComplete<void, std::false_type>,
229 QtPrivate::TypeAndForceComplete<int, std::false_type>,
231 QtPrivate::TypeAndForceComplete<void, std::false_type>,
232 QtPrivate::TypeAndForceComplete<int, std::false_type>,
234 QtPrivate::TypeAndForceComplete<void, std::false_type>,
235 QtPrivate::TypeAndForceComplete<int, std::false_type>,
236 QtPrivate::TypeAndForceComplete<int, std::false_type>,
238 QtPrivate::TypeAndForceComplete<void, std::false_type>,
239 QtPrivate::TypeAndForceComplete<int, std::false_type>,
241 QtPrivate::TypeAndForceComplete<void, std::false_type>,
242 QtPrivate::TypeAndForceComplete<int, std::false_type>,
243 QtPrivate::TypeAndForceComplete<int, std::false_type>,
245 QtPrivate::TypeAndForceComplete<void, std::false_type>,
246 QtPrivate::TypeAndForceComplete<int, std::false_type>,
248 QtPrivate::TypeAndForceComplete<void, std::false_type>,
250 QtPrivate::TypeAndForceComplete<void, std::false_type>,
252 QtPrivate::TypeAndForceComplete<void, std::false_type>
257void edbee::TextEditorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
259 if (_c == QMetaObject::InvokeMetaMethod) {
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;
280 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
282 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
284 switch (*
reinterpret_cast<int*
>(_a[1])) {
285 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
287 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QWidget* >();
break;
291 switch (*
reinterpret_cast<int*
>(_a[1])) {
292 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
294 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QWidget* >();
break;
298 }
else if (_c == QMetaObject::IndexOfMethod) {
299 int *result =
reinterpret_cast<int *
>(_a[0]);
331const QMetaObject *edbee::TextEditorWidget::metaObject()
const
333 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
336void *edbee::TextEditorWidget::qt_metacast(
const char *_clname)
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);
344int edbee::TextEditorWidget::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
346 _id = QWidget::qt_metacall(_c, _id, _a);
349 if (_c == QMetaObject::InvokeMetaMethod) {
351 qt_static_metacall(
this, _c, _id, _a);
353 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
355 qt_static_metacall(
this, _c, _id, _a);
364 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
365 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
371 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
372 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
378 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
379 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
385 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
386 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
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