umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_codeeditor.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'codeeditor.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
10#include <QtGui/qtextcursor.h>
11#include <QtCore/qmetatype.h>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
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.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
36} // unnamed namespace
37
38
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN10CodeEditorE = QtMocHelpers::stringData(
41 "CodeEditor",
42 "insertParagraph",
43 "",
44 "text",
45 "para",
46 "removeParagraph",
47 "changeHighlighting",
48 "signal",
49 "changeShowHidden",
50 "slotRedrawText",
51 "slotCursorPositionChanged",
52 "slotCopyTextBlock",
53 "slotCutTextBlock",
54 "slotPasteTextBlock",
55 "slotChangeSelectedBlockView",
56 "slotChangeSelectedBlockCommentView",
57 "slotInsertCodeBlockAfterSelected",
58 "slotInsertCodeBlockBeforeSelected"
59);
60#else // !QT_MOC_HAS_STRINGDATA
61#error "qtmochelpers.h not found or too old."
62#endif // !QT_MOC_HAS_STRINGDATA
63
65
66 // content:
67 12, // revision
68 0, // classname
69 0, 0, // classinfo
70 13, 14, // methods
71 0, 0, // properties
72 0, 0, // enums/sets
73 0, 0, // constructors
74 0, // flags
75 0, // signalCount
76
77 // slots: name, argc, parameters, tag, flags, initial metatype offsets
78 1, 2, 92, 2, 0x0a, 1 /* Public */,
79 5, 1, 97, 2, 0x0a, 4 /* Public */,
80 6, 1, 100, 2, 0x0a, 6 /* Public */,
81 8, 1, 103, 2, 0x0a, 8 /* Public */,
82 9, 0, 106, 2, 0x0a, 10 /* Public */,
83 10, 0, 107, 2, 0x09, 11 /* Protected */,
84 11, 0, 108, 2, 0x09, 12 /* Protected */,
85 12, 0, 109, 2, 0x09, 13 /* Protected */,
86 13, 0, 110, 2, 0x09, 14 /* Protected */,
87 14, 0, 111, 2, 0x09, 15 /* Protected */,
88 15, 0, 112, 2, 0x09, 16 /* Protected */,
89 16, 0, 113, 2, 0x09, 17 /* Protected */,
90 17, 0, 114, 2, 0x09, 18 /* Protected */,
91
92 // slots: parameters
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,
97 QMetaType::Void,
98 QMetaType::Void,
99 QMetaType::Void,
100 QMetaType::Void,
101 QMetaType::Void,
102 QMetaType::Void,
103 QMetaType::Void,
104 QMetaType::Void,
105 QMetaType::Void,
106
107 0 // eod
108};
109
110Q_CONSTINIT const QMetaObject CodeEditor::staticMetaObject = { {
111 QMetaObject::SuperData::link<QTextEdit::staticMetaObject>(),
112 qt_meta_stringdata_ZN10CodeEditorE.offsetsAndSizes,
114 qt_static_metacall,
115 nullptr,
116 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10CodeEditorE_t,
117 // Q_OBJECT / Q_GADGET
118 QtPrivate::TypeAndForceComplete<CodeEditor, std::true_type>,
119 // method 'insertParagraph'
120 QtPrivate::TypeAndForceComplete<void, std::false_type>,
121 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
122 QtPrivate::TypeAndForceComplete<int, std::false_type>,
123 // method 'removeParagraph'
124 QtPrivate::TypeAndForceComplete<void, std::false_type>,
125 QtPrivate::TypeAndForceComplete<int, std::false_type>,
126 // method 'changeHighlighting'
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<int, std::false_type>,
129 // method 'changeShowHidden'
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 QtPrivate::TypeAndForceComplete<int, std::false_type>,
132 // method 'slotRedrawText'
133 QtPrivate::TypeAndForceComplete<void, std::false_type>,
134 // method 'slotCursorPositionChanged'
135 QtPrivate::TypeAndForceComplete<void, std::false_type>,
136 // method 'slotCopyTextBlock'
137 QtPrivate::TypeAndForceComplete<void, std::false_type>,
138 // method 'slotCutTextBlock'
139 QtPrivate::TypeAndForceComplete<void, std::false_type>,
140 // method 'slotPasteTextBlock'
141 QtPrivate::TypeAndForceComplete<void, std::false_type>,
142 // method 'slotChangeSelectedBlockView'
143 QtPrivate::TypeAndForceComplete<void, std::false_type>,
144 // method 'slotChangeSelectedBlockCommentView'
145 QtPrivate::TypeAndForceComplete<void, std::false_type>,
146 // method 'slotInsertCodeBlockAfterSelected'
147 QtPrivate::TypeAndForceComplete<void, std::false_type>,
148 // method 'slotInsertCodeBlockBeforeSelected'
149 QtPrivate::TypeAndForceComplete<void, std::false_type>
150 >,
151 nullptr
152} };
153
154void CodeEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
155{
156 auto *_t = static_cast<CodeEditor *>(_o);
157 if (_c == QMetaObject::InvokeMetaMethod) {
158 switch (_id) {
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;
172 default: ;
173 }
174 }
175}
176
177const QMetaObject *CodeEditor::metaObject() const
178{
179 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
180}
181
182void *CodeEditor::qt_metacast(const char *_clname)
183{
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);
188}
189
190int CodeEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
191{
192 _id = QTextEdit::qt_metacall(_c, _id, _a);
193 if (_id < 0)
194 return _id;
195 if (_c == QMetaObject::InvokeMetaMethod) {
196 if (_id < 13)
197 qt_static_metacall(this, _c, _id, _a);
198 _id -= 13;
199 }
200 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
201 if (_id < 13)
202 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
203 _id -= 13;
204 }
205 return _id;
206}
207QT_WARNING_POP
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