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