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