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 'texteditorcomponent.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_CLASSedbeeSCOPETextEditorComponentENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextEditorComponentENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextEditorComponent",
47 "updateAreaAroundOffset",
68#define QT_MOC_LITERAL(ofs, len) \
69 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextEditorComponentENDCLASS_t::offsetsAndSizes) + ofs), len
68#define QT_MOC_LITERAL(ofs, len) \ …
70Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextEditorComponentENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextEditorComponentENDCLASS = {
84 "edbee::TextEditorComponent",
90 "updateAreaAroundOffset",
100Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextEditorComponentENDCLASS[] = {
114 1, 0, 50, 2, 0x06, 1 ,
117 3, 0, 51, 2, 0x0a, 2 ,
118 4, 1, 52, 2, 0x0a, 3 ,
119 6, 2, 55, 2, 0x0a, 5 ,
120 6, 1, 60, 2, 0x2a, 8 ,
121 8, 2, 63, 2, 0x0a, 10 ,
128 QMetaType::Void, QMetaType::Int, 5,
129 QMetaType::Void, QMetaType::Int, QMetaType::Int, 5, 7,
130 QMetaType::Void, QMetaType::Int, 5,
131 QMetaType::Void, QMetaType::Int, QMetaType::Int, 9, 10,
136Q_CONSTINIT const QMetaObject edbee::TextEditorComponent::staticMetaObject = { {
137 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
138 qt_meta_stringdata_CLASSedbeeSCOPETextEditorComponentENDCLASS.
offsetsAndSizes,
139 qt_meta_data_CLASSedbeeSCOPETextEditorComponentENDCLASS,
142 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextEditorComponentENDCLASS_t,
144 QtPrivate::TypeAndForceComplete<TextEditorComponent, std::true_type>,
146 QtPrivate::TypeAndForceComplete<void, std::false_type>,
148 QtPrivate::TypeAndForceComplete<void, std::false_type>,
150 QtPrivate::TypeAndForceComplete<void, std::false_type>,
151 QtPrivate::TypeAndForceComplete<int, std::false_type>,
153 QtPrivate::TypeAndForceComplete<void, std::false_type>,
154 QtPrivate::TypeAndForceComplete<int, std::false_type>,
155 QtPrivate::TypeAndForceComplete<int, std::false_type>,
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
158 QtPrivate::TypeAndForceComplete<int, std::false_type>,
160 QtPrivate::TypeAndForceComplete<void, std::false_type>,
161 QtPrivate::TypeAndForceComplete<int, std::false_type>,
162 QtPrivate::TypeAndForceComplete<int, std::false_type>
167void edbee::TextEditorComponent::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
169 if (_c == QMetaObject::InvokeMetaMethod) {
173 case 0: _t->textKeyPressed();
break;
174 case 1: _t->repaintCarets();
break;
175 case 2: _t->updateLineAtOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
176 case 3: _t->updateAreaAroundOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
177 case 4: _t->updateAreaAroundOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
178 case 5: _t->updateLine((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
181 }
else if (_c == QMetaObject::IndexOfMethod) {
182 int *result =
reinterpret_cast<int *
>(_a[0]);
193const QMetaObject *edbee::TextEditorComponent::metaObject()
const
195 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
198void *edbee::TextEditorComponent::qt_metacast(
const char *_clname)
200 if (!_clname)
return nullptr;
201 if (!strcmp(_clname, qt_meta_stringdata_CLASSedbeeSCOPETextEditorComponentENDCLASS.
stringdata0))
202 return static_cast<void*
>(
this);
203 return QWidget::qt_metacast(_clname);
206int edbee::TextEditorComponent::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
208 _id = QWidget::qt_metacall(_c, _id, _a);
211 if (_c == QMetaObject::InvokeMetaMethod) {
213 qt_static_metacall(
this, _c, _id, _a);
215 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
217 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
226 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
void textKeyPressed()
Definition moc_texteditorcomponent.cpp:224
TextEditorComponent(TextEditorController *controller, QWidget *parent=0)
The default texteditor compenent constructor.
Definition texteditorcomponent.cpp:40
#define QT_MOC_LITERAL(ofs, len)
Definition moc_texteditorcomponent.cpp:68
#define Q_CONSTINIT
Definition moc_texteditorscrollarea.cpp:30
Definition moc_texteditorscrollarea.cpp:36