umbrello 25.12.2
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 69 (Qt 6.9.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 != 69
22#error "This file was generated using the moc from 6.9.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
38template <> constexpr inline auto CodeTextEdit::qt_create_metaobjectdata<qt_meta_tag_ZN12CodeTextEditE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "CodeTextEdit",
43 "updateLineNumberAreaWidth",
44 "",
45 "newBlockCount",
46 "highlightCurrentLine",
47 "updateLineNumberArea"
48 };
49
50 QtMocHelpers::UintData qt_methods {
51 // Slot 'updateLineNumberAreaWidth'
52 QtMocHelpers::SlotData<void(int)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
53 { QMetaType::Int, 3 },
54 }}),
55 // Slot 'highlightCurrentLine'
56 QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
57 // Slot 'updateLineNumberArea'
58 QtMocHelpers::SlotData<void(const QRect &, int)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
59 { QMetaType::QRect, 2 }, { QMetaType::Int, 2 },
60 }}),
61 };
62 QtMocHelpers::UintData qt_properties {
63 };
64 QtMocHelpers::UintData qt_enums {
65 };
66 return QtMocHelpers::metaObjectData<CodeTextEdit, qt_meta_tag_ZN12CodeTextEditE_t>(QMC::MetaObjectFlag{}, qt_stringData,
67 qt_methods, qt_properties, qt_enums);
68}
69Q_CONSTINIT const QMetaObject CodeTextEdit::staticMetaObject = { {
70 QMetaObject::SuperData::link<QPlainTextEdit::staticMetaObject>(),
71 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12CodeTextEditE_t>.stringdata,
72 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12CodeTextEditE_t>.data,
73 qt_static_metacall,
74 nullptr,
75 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12CodeTextEditE_t>.metaTypes,
76 nullptr
77} };
78
79void CodeTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80{
81 auto *_t = static_cast<CodeTextEdit *>(_o);
82 if (_c == QMetaObject::InvokeMetaMethod) {
83 switch (_id) {
84 case 0: _t->updateLineNumberAreaWidth((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
85 case 1: _t->highlightCurrentLine(); break;
86 case 2: _t->updateLineNumberArea((*reinterpret_cast< std::add_pointer_t<QRect>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
87 default: ;
88 }
89 }
90}
91
92const QMetaObject *CodeTextEdit::metaObject() const
93{
94 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
95}
96
97void *CodeTextEdit::qt_metacast(const char *_clname)
98{
99 if (!_clname) return nullptr;
100 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12CodeTextEditE_t>.strings))
101 return static_cast<void*>(this);
102 return QPlainTextEdit::qt_metacast(_clname);
103}
104
105int CodeTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
106{
107 _id = QPlainTextEdit::qt_metacall(_c, _id, _a);
108 if (_id < 0)
109 return _id;
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 if (_id < 3)
112 qt_static_metacall(this, _c, _id, _a);
113 _id -= 3;
114 }
115 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 if (_id < 3)
117 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
118 _id -= 3;
119 }
120 return _id;
121}
122QT_WARNING_POP
CodeTextEdit(QWidget *parent=nullptr)
Definition codetextedit.cpp:21
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33