Bitcoin Core  27.1.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.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
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.12.7. 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
24  QByteArrayData data[12];
25  char stringdata0[144];
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  )
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, 7), // "setText"
40 QT_MOC_LITERAL(6, 86, 8), // "setValid"
41 QT_MOC_LITERAL(7, 95, 5), // "valid"
42 QT_MOC_LITERAL(8, 101, 10), // "setEnabled"
43 QT_MOC_LITERAL(9, 112, 7), // "enabled"
44 QT_MOC_LITERAL(10, 120, 9), // "markValid"
45 QT_MOC_LITERAL(11, 130, 13) // "checkValidity"
46 
47  },
48  "QValidatedLineEdit\0validationDidChange\0"
49  "\0QValidatedLineEdit*\0validatedLineEdit\0"
50  "setText\0setValid\0valid\0setEnabled\0"
51  "enabled\0markValid\0checkValidity"
52 };
53 #undef QT_MOC_LITERAL
54 
55 static const uint qt_meta_data_QValidatedLineEdit[] = {
56 
57  // content:
58  8, // revision
59  0, // classname
60  0, 0, // classinfo
61  6, 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, 44, 2, 0x06 /* Public */,
70 
71  // slots: name, argc, parameters, tag, flags
72  5, 1, 47, 2, 0x0a /* Public */,
73  6, 1, 50, 2, 0x0a /* Public */,
74  8, 1, 53, 2, 0x0a /* Public */,
75  10, 0, 56, 2, 0x08 /* Private */,
76  11, 0, 57, 2, 0x08 /* Private */,
77 
78  // signals: parameters
79  QMetaType::Void, 0x80000000 | 3, 4,
80 
81  // slots: parameters
82  QMetaType::Void, QMetaType::QString, 2,
83  QMetaType::Void, QMetaType::Bool, 7,
84  QMetaType::Void, QMetaType::Bool, 9,
85  QMetaType::Void,
86  QMetaType::Void,
87 
88  0 // eod
89 };
90 
91 void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
92 {
93  if (_c == QMetaObject::InvokeMetaMethod) {
94  auto *_t = static_cast<QValidatedLineEdit *>(_o);
95  Q_UNUSED(_t)
96  switch (_id) {
97  case 0: _t->validationDidChange((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1]))); break;
98  case 1: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
99  case 2: _t->setValid((*reinterpret_cast< bool(*)>(_a[1]))); break;
100  case 3: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
101  case 4: _t->markValid(); break;
102  case 5: _t->checkValidity(); break;
103  default: ;
104  }
105  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
106  switch (_id) {
107  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
108  case 0:
109  switch (*reinterpret_cast<int*>(_a[1])) {
110  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
111  case 0:
112  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >(); break;
113  }
114  break;
115  }
116  } else if (_c == QMetaObject::IndexOfMethod) {
117  int *result = reinterpret_cast<int *>(_a[0]);
118  {
119  using _t = void (QValidatedLineEdit::*)(QValidatedLineEdit * );
120  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QValidatedLineEdit::validationDidChange)) {
121  *result = 0;
122  return;
123  }
124  }
125  }
126 }
127 
128 QT_INIT_METAOBJECT const QMetaObject QValidatedLineEdit::staticMetaObject = { {
129  &QLineEdit::staticMetaObject,
132  qt_static_metacall,
133  nullptr,
134  nullptr
135 } };
136 
137 
138 const QMetaObject *QValidatedLineEdit::metaObject() const
139 {
140  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
141 }
142 
143 void *QValidatedLineEdit::qt_metacast(const char *_clname)
144 {
145  if (!_clname) return nullptr;
147  return static_cast<void*>(this);
148  return QLineEdit::qt_metacast(_clname);
149 }
150 
151 int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
152 {
153  _id = QLineEdit::qt_metacall(_c, _id, _a);
154  if (_id < 0)
155  return _id;
156  if (_c == QMetaObject::InvokeMetaMethod) {
157  if (_id < 6)
158  qt_static_metacall(this, _c, _id, _a);
159  _id -= 6;
160  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
161  if (_id < 6)
162  qt_static_metacall(this, _c, _id, _a);
163  _id -= 6;
164  }
165  return _id;
166 }
167 
168 // SIGNAL 0
170 {
171  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
172  QMetaObject::activate(this, &staticMetaObject, 0, _a);
173 }
174 QT_WARNING_POP
175 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_QValidatedLineEdit_t qt_meta_stringdata_QValidatedLineEdit
Line edit that can be marked as "invalid" to show input validation feedback.
void validationDidChange(QValidatedLineEdit *validatedLineEdit)
static const uint qt_meta_data_QValidatedLineEdit[]