10#include <QtGui/qtextcursor.h>
11#include <QtCore/qmetatype.h>
13#include <QtCore/qtmochelpers.h>
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'codeeditor.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.8.3. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
33QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN10CodeEditorE = QtMocHelpers::stringData(
51 "slotCursorPositionChanged",
55 "slotChangeSelectedBlockView",
56 "slotChangeSelectedBlockCommentView",
57 "slotInsertCodeBlockAfterSelected",
58 "slotInsertCodeBlockBeforeSelected"
61#error "qtmochelpers.h not found or too old."
78 1, 2, 92, 2, 0x0a, 1 ,
79 5, 1, 97, 2, 0x0a, 4 ,
80 6, 1, 100, 2, 0x0a, 6 ,
81 8, 1, 103, 2, 0x0a, 8 ,
82 9, 0, 106, 2, 0x0a, 10 ,
83 10, 0, 107, 2, 0x09, 11 ,
84 11, 0, 108, 2, 0x09, 12 ,
85 12, 0, 109, 2, 0x09, 13 ,
86 13, 0, 110, 2, 0x09, 14 ,
87 14, 0, 111, 2, 0x09, 15 ,
88 15, 0, 112, 2, 0x09, 16 ,
89 16, 0, 113, 2, 0x09, 17 ,
90 17, 0, 114, 2, 0x09, 18 ,
93 QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 4,
94 QMetaType::Void, QMetaType::Int, 4,
95 QMetaType::Void, QMetaType::Int, 7,
96 QMetaType::Void, QMetaType::Int, 7,
110Q_CONSTINIT const QMetaObject CodeEditor::staticMetaObject = { {
111 QMetaObject::SuperData::link<QTextEdit::staticMetaObject>(),
112 qt_meta_stringdata_ZN10CodeEditorE.offsetsAndSizes,
116 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10CodeEditorE_t,
118 QtPrivate::TypeAndForceComplete<CodeEditor, std::true_type>,
120 QtPrivate::TypeAndForceComplete<void, std::false_type>,
121 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
122 QtPrivate::TypeAndForceComplete<int, std::false_type>,
124 QtPrivate::TypeAndForceComplete<void, std::false_type>,
125 QtPrivate::TypeAndForceComplete<int, std::false_type>,
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<int, std::false_type>,
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 QtPrivate::TypeAndForceComplete<int, std::false_type>,
133 QtPrivate::TypeAndForceComplete<void, std::false_type>,
135 QtPrivate::TypeAndForceComplete<void, std::false_type>,
137 QtPrivate::TypeAndForceComplete<void, std::false_type>,
139 QtPrivate::TypeAndForceComplete<void, std::false_type>,
141 QtPrivate::TypeAndForceComplete<void, std::false_type>,
143 QtPrivate::TypeAndForceComplete<void, std::false_type>,
145 QtPrivate::TypeAndForceComplete<void, std::false_type>,
147 QtPrivate::TypeAndForceComplete<void, std::false_type>,
149 QtPrivate::TypeAndForceComplete<void, std::false_type>
154void CodeEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
157 if (_c == QMetaObject::InvokeMetaMethod) {
159 case 0: _t->insertParagraph((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
160 case 1: _t->removeParagraph((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
161 case 2: _t->changeHighlighting((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
162 case 3: _t->changeShowHidden((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
163 case 4: _t->slotRedrawText();
break;
164 case 5: _t->slotCursorPositionChanged();
break;
165 case 6: _t->slotCopyTextBlock();
break;
166 case 7: _t->slotCutTextBlock();
break;
167 case 8: _t->slotPasteTextBlock();
break;
168 case 9: _t->slotChangeSelectedBlockView();
break;
169 case 10: _t->slotChangeSelectedBlockCommentView();
break;
170 case 11: _t->slotInsertCodeBlockAfterSelected();
break;
171 case 12: _t->slotInsertCodeBlockBeforeSelected();
break;
177const QMetaObject *CodeEditor::metaObject()
const
179 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
182void *CodeEditor::qt_metacast(
const char *_clname)
184 if (!_clname)
return nullptr;
185 if (!strcmp(_clname, qt_meta_stringdata_ZN10CodeEditorE.stringdata0))
186 return static_cast<void*
>(
this);
187 return QTextEdit::qt_metacast(_clname);
190int CodeEditor::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
192 _id = QTextEdit::qt_metacall(_c, _id, _a);
195 if (_c == QMetaObject::InvokeMetaMethod) {
197 qt_static_metacall(
this, _c, _id, _a);
200 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
202 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
CodeEditor(const QString &text, CodeViewerDialog *parent=nullptr, CodeDocument *doc=nullptr)
Definition codeeditor.cpp:56
static Q_CONSTINIT const uint qt_meta_data_ZN10CodeEditorE[]
Definition moc_codeeditor.cpp:64
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33