Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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.16)
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.16. 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[12];
26 char stringdata0[144];
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, 7), // "setText"
41QT_MOC_LITERAL(6, 86, 8), // "setValid"
42QT_MOC_LITERAL(7, 95, 5), // "valid"
43QT_MOC_LITERAL(8, 101, 10), // "setEnabled"
44QT_MOC_LITERAL(9, 112, 7), // "enabled"
45QT_MOC_LITERAL(10, 120, 9), // "markValid"
46QT_MOC_LITERAL(11, 130, 13) // "checkValidity"
47
48 },
49 "QValidatedLineEdit\0validationDidChange\0"
50 "\0QValidatedLineEdit*\0validatedLineEdit\0"
51 "setText\0setValid\0valid\0setEnabled\0"
52 "enabled\0markValid\0checkValidity"
53};
54#undef QT_MOC_LITERAL
55
56static const uint qt_meta_data_QValidatedLineEdit[] = {
57
58 // content:
59 8, // revision
60 0, // classname
61 0, 0, // classinfo
62 6, 14, // methods
63 0, 0, // properties
64 0, 0, // enums/sets
65 0, 0, // constructors
66 0, // flags
67 1, // signalCount
68
69 // signals: name, argc, parameters, tag, flags
70 1, 1, 44, 2, 0x06 /* Public */,
71
72 // slots: name, argc, parameters, tag, flags
73 5, 1, 47, 2, 0x0a /* Public */,
74 6, 1, 50, 2, 0x0a /* Public */,
75 8, 1, 53, 2, 0x0a /* Public */,
76 10, 0, 56, 2, 0x08 /* Private */,
77 11, 0, 57, 2, 0x08 /* Private */,
78
79 // signals: parameters
80 QMetaType::Void, 0x80000000 | 3, 4,
81
82 // slots: parameters
83 QMetaType::Void, QMetaType::QString, 2,
84 QMetaType::Void, QMetaType::Bool, 7,
85 QMetaType::Void, QMetaType::Bool, 9,
86 QMetaType::Void,
87 QMetaType::Void,
88
89 0 // eod
90};
91
92void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
93{
94 if (_c == QMetaObject::InvokeMetaMethod) {
95 auto *_t = static_cast<QValidatedLineEdit *>(_o);
96 (void)_t;
97 switch (_id) {
98 case 0: _t->validationDidChange((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1]))); break;
99 case 1: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
100 case 2: _t->setValid((*reinterpret_cast< bool(*)>(_a[1]))); break;
101 case 3: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
102 case 4: _t->markValid(); break;
103 case 5: _t->checkValidity(); break;
104 default: ;
105 }
106 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
107 switch (_id) {
108 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
109 case 0:
110 switch (*reinterpret_cast<int*>(_a[1])) {
111 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
112 case 0:
113 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >(); break;
114 }
115 break;
116 }
117 } else if (_c == QMetaObject::IndexOfMethod) {
118 int *result = reinterpret_cast<int *>(_a[0]);
119 {
120 using _t = void (QValidatedLineEdit::*)(QValidatedLineEdit * );
121 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QValidatedLineEdit::validationDidChange)) {
122 *result = 0;
123 return;
124 }
125 }
126 }
127}
128
129QT_INIT_METAOBJECT const QMetaObject QValidatedLineEdit::staticMetaObject = { {
130 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
133 qt_static_metacall,
134 nullptr,
135 nullptr
136} };
137
138
139const QMetaObject *QValidatedLineEdit::metaObject() const
140{
141 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
142}
143
144void *QValidatedLineEdit::qt_metacast(const char *_clname)
145{
146 if (!_clname) return nullptr;
148 return static_cast<void*>(this);
149 return QLineEdit::qt_metacast(_clname);
150}
151
152int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
153{
154 _id = QLineEdit::qt_metacall(_c, _id, _a);
155 if (_id < 0)
156 return _id;
157 if (_c == QMetaObject::InvokeMetaMethod) {
158 if (_id < 6)
159 qt_static_metacall(this, _c, _id, _a);
160 _id -= 6;
161 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
162 if (_id < 6)
163 qt_static_metacall(this, _c, _id, _a);
164 _id -= 6;
165 }
166 return _id;
167}
168
169// SIGNAL 0
171{
172 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
173 QMetaObject::activate(this, &staticMetaObject, 0, _a);
174}
175QT_WARNING_POP
176QT_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[]