Bitcoin Core 22.99.0
P2P Digital Currency
moc_qvalidatedlineedit.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'qvalidatedlineedit.h'
3**
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qvalidatedlineedit.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.2. 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[11];
26 char stringdata0[136];
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_QValidatedLineEdit_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 18), // "QValidatedLineEdit"
36QT_MOC_LITERAL(1, 19, 19), // "validationDidChange"
37QT_MOC_LITERAL(2, 39, 0), // ""
38QT_MOC_LITERAL(3, 40, 19), // "QValidatedLineEdit*"
39QT_MOC_LITERAL(4, 60, 17), // "validatedLineEdit"
40QT_MOC_LITERAL(5, 78, 8), // "setValid"
41QT_MOC_LITERAL(6, 87, 5), // "valid"
42QT_MOC_LITERAL(7, 93, 10), // "setEnabled"
43QT_MOC_LITERAL(8, 104, 7), // "enabled"
44QT_MOC_LITERAL(9, 112, 9), // "markValid"
45QT_MOC_LITERAL(10, 122, 13) // "checkValidity"
46
47 },
48 "QValidatedLineEdit\0validationDidChange\0"
49 "\0QValidatedLineEdit*\0validatedLineEdit\0"
50 "setValid\0valid\0setEnabled\0enabled\0"
51 "markValid\0checkValidity"
52};
53#undef QT_MOC_LITERAL
54
55static const uint qt_meta_data_QValidatedLineEdit[] = {
56
57 // content:
58 8, // revision
59 0, // classname
60 0, 0, // classinfo
61 5, 14, // methods
62 0, 0, // properties
63 0, 0, // enums/sets
64 0, 0, // constructors
65 0, // flags
66 1, // signalCount
67
68 // signals: name, argc, parameters, tag, flags
69 1, 1, 39, 2, 0x06 /* Public */,
70
71 // slots: name, argc, parameters, tag, flags
72 5, 1, 42, 2, 0x0a /* Public */,
73 7, 1, 45, 2, 0x0a /* Public */,
74 9, 0, 48, 2, 0x08 /* Private */,
75 10, 0, 49, 2, 0x08 /* Private */,
76
77 // signals: parameters
78 QMetaType::Void, 0x80000000 | 3, 4,
79
80 // slots: parameters
81 QMetaType::Void, QMetaType::Bool, 6,
82 QMetaType::Void, QMetaType::Bool, 8,
83 QMetaType::Void,
84 QMetaType::Void,
85
86 0 // eod
87};
88
89void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
90{
91 if (_c == QMetaObject::InvokeMetaMethod) {
92 auto *_t = static_cast<QValidatedLineEdit *>(_o);
93 (void)_t;
94 switch (_id) {
95 case 0: _t->validationDidChange((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1]))); break;
96 case 1: _t->setValid((*reinterpret_cast< bool(*)>(_a[1]))); break;
97 case 2: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
98 case 3: _t->markValid(); break;
99 case 4: _t->checkValidity(); break;
100 default: ;
101 }
102 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
103 switch (_id) {
104 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
105 case 0:
106 switch (*reinterpret_cast<int*>(_a[1])) {
107 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
108 case 0:
109 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >(); break;
110 }
111 break;
112 }
113 } else if (_c == QMetaObject::IndexOfMethod) {
114 int *result = reinterpret_cast<int *>(_a[0]);
115 {
116 using _t = void (QValidatedLineEdit::*)(QValidatedLineEdit * );
117 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QValidatedLineEdit::validationDidChange)) {
118 *result = 0;
119 return;
120 }
121 }
122 }
123}
124
125QT_INIT_METAOBJECT const QMetaObject QValidatedLineEdit::staticMetaObject = { {
126 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
129 qt_static_metacall,
130 nullptr,
131 nullptr
132} };
133
134
135const QMetaObject *QValidatedLineEdit::metaObject() const
136{
137 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
138}
139
140void *QValidatedLineEdit::qt_metacast(const char *_clname)
141{
142 if (!_clname) return nullptr;
144 return static_cast<void*>(this);
145 return QLineEdit::qt_metacast(_clname);
146}
147
148int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
149{
150 _id = QLineEdit::qt_metacall(_c, _id, _a);
151 if (_id < 0)
152 return _id;
153 if (_c == QMetaObject::InvokeMetaMethod) {
154 if (_id < 5)
155 qt_static_metacall(this, _c, _id, _a);
156 _id -= 5;
157 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
158 if (_id < 5)
159 qt_static_metacall(this, _c, _id, _a);
160 _id -= 5;
161 }
162 return _id;
163}
164
165// SIGNAL 0
167{
168 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
169 QMetaObject::activate(this, &staticMetaObject, 0, _a);
170}
171QT_WARNING_POP
172QT_END_MOC_NAMESPACE
Line edit that can be marked as "invalid" to show input validation feedback.
void validationDidChange(QValidatedLineEdit *validatedLineEdit)
static const qt_meta_stringdata_QValidatedLineEdit_t qt_meta_stringdata_QValidatedLineEdit
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_QValidatedLineEdit[]