edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
moc_textmargincomponent.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'textmargincomponent.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'textmargincomponent.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.3. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextMarginComponent",
42 "topChanged",
43 "",
44 "value",
45 "connectScrollBar",
46 "updateFont"
47);
48#else // !QT_MOC_HAS_STRING_DATA
58#define QT_MOC_LITERAL(ofs, len) \
59 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS_t::offsetsAndSizes) + ofs), len
60Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS = {
61 {
62 QT_MOC_LITERAL(0, 26), // "edbee::TextMarginComponent"
63 QT_MOC_LITERAL(27, 10), // "topChanged"
64 QT_MOC_LITERAL(38, 0), // ""
65 QT_MOC_LITERAL(39, 5), // "value"
66 QT_MOC_LITERAL(45, 16), // "connectScrollBar"
67 QT_MOC_LITERAL(62, 10) // "updateFont"
68 },
69 "edbee::TextMarginComponent",
70 "topChanged",
71 "",
72 "value",
73 "connectScrollBar",
74 "updateFont"
75};
76#undef QT_MOC_LITERAL
77#endif // !QT_MOC_HAS_STRING_DATA
78} // unnamed namespace
79
80Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextMarginComponentENDCLASS[] = {
81
82 // content:
83 12, // revision
84 0, // classname
85 0, 0, // classinfo
86 3, 14, // methods
87 0, 0, // properties
88 0, 0, // enums/sets
89 0, 0, // constructors
90 0, // flags
91 0, // signalCount
92
93 // slots: name, argc, parameters, tag, flags, initial metatype offsets
94 1, 1, 32, 2, 0x09, 1 /* Protected */,
95 4, 0, 35, 2, 0x09, 3 /* Protected */,
96 5, 0, 36, 2, 0x09, 4 /* Protected */,
97
98 // slots: parameters
99 QMetaType::Void, QMetaType::Int, 3,
100 QMetaType::Void,
101 QMetaType::Void,
102
103 0 // eod
104};
105
106Q_CONSTINIT const QMetaObject edbee::TextMarginComponent::staticMetaObject = { {
107 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
108 qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS.offsetsAndSizes,
109 qt_meta_data_CLASSedbeeSCOPETextMarginComponentENDCLASS,
110 qt_static_metacall,
111 nullptr,
112 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS_t,
113 // Q_OBJECT / Q_GADGET
114 QtPrivate::TypeAndForceComplete<TextMarginComponent, std::true_type>,
115 // method 'topChanged'
116 QtPrivate::TypeAndForceComplete<void, std::false_type>,
117 QtPrivate::TypeAndForceComplete<int, std::false_type>,
118 // method 'connectScrollBar'
119 QtPrivate::TypeAndForceComplete<void, std::false_type>,
120 // method 'updateFont'
121 QtPrivate::TypeAndForceComplete<void, std::false_type>
122 >,
123 nullptr
124} };
125
126void edbee::TextMarginComponent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
127{
128 if (_c == QMetaObject::InvokeMetaMethod) {
129 auto *_t = static_cast<TextMarginComponent *>(_o);
130 (void)_t;
131 switch (_id) {
132 case 0: _t->topChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
133 case 1: _t->connectScrollBar(); break;
134 case 2: _t->updateFont(); break;
135 default: ;
136 }
137 }
138}
139
140const QMetaObject *edbee::TextMarginComponent::metaObject() const
141{
142 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
143}
144
145void *edbee::TextMarginComponent::qt_metacast(const char *_clname)
146{
147 if (!_clname) return nullptr;
148 if (!strcmp(_clname, qt_meta_stringdata_CLASSedbeeSCOPETextMarginComponentENDCLASS.stringdata0))
149 return static_cast<void*>(this);
150 return QWidget::qt_metacast(_clname);
151}
152
153int edbee::TextMarginComponent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
154{
155 _id = QWidget::qt_metacall(_c, _id, _a);
156 if (_id < 0)
157 return _id;
158 if (_c == QMetaObject::InvokeMetaMethod) {
159 if (_id < 3)
160 qt_static_metacall(this, _c, _id, _a);
161 _id -= 3;
162 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
163 if (_id < 3)
164 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
165 _id -= 3;
166 }
167 return _id;
168}
169QT_WARNING_POP
TextMarginComponent(TextEditorWidget *editorWidget, QWidget *parent)
Constructs the textmarginc compnonent.
Definition textmargincomponent.cpp:117
#define Q_CONSTINIT
Definition moc_texteditorscrollarea.cpp:30
#define QT_MOC_LITERAL(ofs, len)
Definition moc_textmargincomponent.cpp:58
Definition moc_texteditorscrollarea.cpp:36