umbrello 25.04.1
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 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../umbrello/dialogs/codeeditor.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'codeeditor.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[18];
26 char stringdata0[322];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_CodeEditor_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 10), // "CodeEditor"
36QT_MOC_LITERAL(1, 11, 15), // "insertParagraph"
37QT_MOC_LITERAL(2, 27, 0), // ""
38QT_MOC_LITERAL(3, 28, 4), // "text"
39QT_MOC_LITERAL(4, 33, 4), // "para"
40QT_MOC_LITERAL(5, 38, 15), // "removeParagraph"
41QT_MOC_LITERAL(6, 54, 18), // "changeHighlighting"
42QT_MOC_LITERAL(7, 73, 6), // "signal"
43QT_MOC_LITERAL(8, 80, 16), // "changeShowHidden"
44QT_MOC_LITERAL(9, 97, 14), // "slotRedrawText"
45QT_MOC_LITERAL(10, 112, 25), // "slotCursorPositionChanged"
46QT_MOC_LITERAL(11, 138, 17), // "slotCopyTextBlock"
47QT_MOC_LITERAL(12, 156, 16), // "slotCutTextBlock"
48QT_MOC_LITERAL(13, 173, 18), // "slotPasteTextBlock"
49QT_MOC_LITERAL(14, 192, 27), // "slotChangeSelectedBlockView"
50QT_MOC_LITERAL(15, 220, 34), // "slotChangeSelectedBlockCommen..."
51QT_MOC_LITERAL(16, 255, 32), // "slotInsertCodeBlockAfterSelected"
52QT_MOC_LITERAL(17, 288, 33) // "slotInsertCodeBlockBeforeSele..."
53
54 },
55 "CodeEditor\0insertParagraph\0\0text\0para\0"
56 "removeParagraph\0changeHighlighting\0"
57 "signal\0changeShowHidden\0slotRedrawText\0"
58 "slotCursorPositionChanged\0slotCopyTextBlock\0"
59 "slotCutTextBlock\0slotPasteTextBlock\0"
60 "slotChangeSelectedBlockView\0"
61 "slotChangeSelectedBlockCommentView\0"
62 "slotInsertCodeBlockAfterSelected\0"
63 "slotInsertCodeBlockBeforeSelected"
64};
65#undef QT_MOC_LITERAL
66
67static const uint qt_meta_data_CodeEditor[] = {
68
69 // content:
70 8, // revision
71 0, // classname
72 0, 0, // classinfo
73 13, 14, // methods
74 0, 0, // properties
75 0, 0, // enums/sets
76 0, 0, // constructors
77 0, // flags
78 0, // signalCount
79
80 // slots: name, argc, parameters, tag, flags
81 1, 2, 79, 2, 0x0a /* Public */,
82 5, 1, 84, 2, 0x0a /* Public */,
83 6, 1, 87, 2, 0x0a /* Public */,
84 8, 1, 90, 2, 0x0a /* Public */,
85 9, 0, 93, 2, 0x0a /* Public */,
86 10, 0, 94, 2, 0x09 /* Protected */,
87 11, 0, 95, 2, 0x09 /* Protected */,
88 12, 0, 96, 2, 0x09 /* Protected */,
89 13, 0, 97, 2, 0x09 /* Protected */,
90 14, 0, 98, 2, 0x09 /* Protected */,
91 15, 0, 99, 2, 0x09 /* Protected */,
92 16, 0, 100, 2, 0x09 /* Protected */,
93 17, 0, 101, 2, 0x09 /* Protected */,
94
95 // slots: parameters
96 QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 4,
97 QMetaType::Void, QMetaType::Int, 4,
98 QMetaType::Void, QMetaType::Int, 7,
99 QMetaType::Void, QMetaType::Int, 7,
100 QMetaType::Void,
101 QMetaType::Void,
102 QMetaType::Void,
103 QMetaType::Void,
104 QMetaType::Void,
105 QMetaType::Void,
106 QMetaType::Void,
107 QMetaType::Void,
108 QMetaType::Void,
109
110 0 // eod
111};
112
113void CodeEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
114{
115 if (_c == QMetaObject::InvokeMetaMethod) {
116 auto *_t = static_cast<CodeEditor *>(_o);
117 (void)_t;
118 switch (_id) {
119 case 0: _t->insertParagraph((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
120 case 1: _t->removeParagraph((*reinterpret_cast< int(*)>(_a[1]))); break;
121 case 2: _t->changeHighlighting((*reinterpret_cast< int(*)>(_a[1]))); break;
122 case 3: _t->changeShowHidden((*reinterpret_cast< int(*)>(_a[1]))); break;
123 case 4: _t->slotRedrawText(); break;
124 case 5: _t->slotCursorPositionChanged(); break;
125 case 6: _t->slotCopyTextBlock(); break;
126 case 7: _t->slotCutTextBlock(); break;
127 case 8: _t->slotPasteTextBlock(); break;
128 case 9: _t->slotChangeSelectedBlockView(); break;
129 case 10: _t->slotChangeSelectedBlockCommentView(); break;
130 case 11: _t->slotInsertCodeBlockAfterSelected(); break;
131 case 12: _t->slotInsertCodeBlockBeforeSelected(); break;
132 default: ;
133 }
134 }
135}
136
137QT_INIT_METAOBJECT const QMetaObject CodeEditor::staticMetaObject = { {
138 QMetaObject::SuperData::link<QTextEdit::staticMetaObject>(),
141 qt_static_metacall,
142 nullptr,
143 nullptr
144} };
145
146
147const QMetaObject *CodeEditor::metaObject() const
148{
149 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
150}
151
152void *CodeEditor::qt_metacast(const char *_clname)
153{
154 if (!_clname) return nullptr;
155 if (!strcmp(_clname, qt_meta_stringdata_CodeEditor.stringdata0))
156 return static_cast<void*>(this);
157 return QTextEdit::qt_metacast(_clname);
158}
159
160int CodeEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
161{
162 _id = QTextEdit::qt_metacall(_c, _id, _a);
163 if (_id < 0)
164 return _id;
165 if (_c == QMetaObject::InvokeMetaMethod) {
166 if (_id < 13)
167 qt_static_metacall(this, _c, _id, _a);
168 _id -= 13;
169 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
170 if (_id < 13)
171 *reinterpret_cast<int*>(_a[0]) = -1;
172 _id -= 13;
173 }
174 return _id;
175}
176QT_WARNING_POP
177QT_END_MOC_NAMESPACE
Definition codeeditor.h:63
void insertParagraph(const QString &text, int para)
Definition codeeditor.cpp:618
static const qt_meta_stringdata_CodeEditor_t qt_meta_stringdata_CodeEditor
Definition moc_codeeditor.cpp:33
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_codeeditor.cpp:28
static const uint qt_meta_data_CodeEditor[]
Definition moc_codeeditor.cpp:67
Definition moc_codeeditor.cpp:24
char stringdata0[322]
Definition moc_codeeditor.cpp:26
QByteArrayData data[18]
Definition moc_codeeditor.cpp:25