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