umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_codetextedit.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'codetextedit.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 'codetextedit.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_ZN12CodeTextEditE = QtMocHelpers::stringData(
41 "CodeTextEdit",
42 "updateLineNumberAreaWidth",
43 "",
44 "newBlockCount",
45 "highlightCurrentLine",
46 "updateLineNumberArea"
47);
48#else // !QT_MOC_HAS_STRINGDATA
49#error "qtmochelpers.h not found or too old."
50#endif // !QT_MOC_HAS_STRINGDATA
51
53
54 // content:
55 12, // revision
56 0, // classname
57 0, 0, // classinfo
58 3, 14, // methods
59 0, 0, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 0, // signalCount
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 1, 32, 2, 0x08, 1 /* Private */,
67 4, 0, 35, 2, 0x08, 3 /* Private */,
68 5, 2, 36, 2, 0x08, 4 /* Private */,
69
70 // slots: parameters
71 QMetaType::Void, QMetaType::Int, 3,
72 QMetaType::Void,
73 QMetaType::Void, QMetaType::QRect, QMetaType::Int, 2, 2,
74
75 0 // eod
76};
77
78Q_CONSTINIT const QMetaObject CodeTextEdit::staticMetaObject = { {
79 QMetaObject::SuperData::link<QPlainTextEdit::staticMetaObject>(),
80 qt_meta_stringdata_ZN12CodeTextEditE.offsetsAndSizes,
82 qt_static_metacall,
83 nullptr,
84 qt_incomplete_metaTypeArray<qt_meta_tag_ZN12CodeTextEditE_t,
85 // Q_OBJECT / Q_GADGET
86 QtPrivate::TypeAndForceComplete<CodeTextEdit, std::true_type>,
87 // method 'updateLineNumberAreaWidth'
88 QtPrivate::TypeAndForceComplete<void, std::false_type>,
89 QtPrivate::TypeAndForceComplete<int, std::false_type>,
90 // method 'highlightCurrentLine'
91 QtPrivate::TypeAndForceComplete<void, std::false_type>,
92 // method 'updateLineNumberArea'
93 QtPrivate::TypeAndForceComplete<void, std::false_type>,
94 QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>,
95 QtPrivate::TypeAndForceComplete<int, std::false_type>
96 >,
97 nullptr
98} };
99
100void CodeTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
101{
102 auto *_t = static_cast<CodeTextEdit *>(_o);
103 if (_c == QMetaObject::InvokeMetaMethod) {
104 switch (_id) {
105 case 0: _t->updateLineNumberAreaWidth((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
106 case 1: _t->highlightCurrentLine(); break;
107 case 2: _t->updateLineNumberArea((*reinterpret_cast< std::add_pointer_t<QRect>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
108 default: ;
109 }
110 }
111}
112
113const QMetaObject *CodeTextEdit::metaObject() const
114{
115 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
116}
117
118void *CodeTextEdit::qt_metacast(const char *_clname)
119{
120 if (!_clname) return nullptr;
121 if (!strcmp(_clname, qt_meta_stringdata_ZN12CodeTextEditE.stringdata0))
122 return static_cast<void*>(this);
123 return QPlainTextEdit::qt_metacast(_clname);
124}
125
126int CodeTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
127{
128 _id = QPlainTextEdit::qt_metacall(_c, _id, _a);
129 if (_id < 0)
130 return _id;
131 if (_c == QMetaObject::InvokeMetaMethod) {
132 if (_id < 3)
133 qt_static_metacall(this, _c, _id, _a);
134 _id -= 3;
135 }
136 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
137 if (_id < 3)
138 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
139 _id -= 3;
140 }
141 return _id;
142}
143QT_WARNING_POP
CodeTextEdit(QWidget *parent=nullptr)
Definition codetextedit.cpp:21
static Q_CONSTINIT const uint qt_meta_data_ZN12CodeTextEditE[]
Definition moc_codetextedit.cpp:52
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33