Fabcoin Core  0.16.2
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.5.1. 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
21  QByteArrayData data[11];
22  char stringdata0[136];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  qptrdiff(offsetof(qt_meta_stringdata_QValidatedLineEdit_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_QValidatedLineEdit_t qt_meta_stringdata_QValidatedLineEdit = {
30  {
31 QT_MOC_LITERAL(0, 0, 18), // "QValidatedLineEdit"
32 QT_MOC_LITERAL(1, 19, 19), // "validationDidChange"
33 QT_MOC_LITERAL(2, 39, 0), // ""
34 QT_MOC_LITERAL(3, 40, 19), // "QValidatedLineEdit*"
35 QT_MOC_LITERAL(4, 60, 17), // "validatedLineEdit"
36 QT_MOC_LITERAL(5, 78, 8), // "setValid"
37 QT_MOC_LITERAL(6, 87, 5), // "valid"
38 QT_MOC_LITERAL(7, 93, 10), // "setEnabled"
39 QT_MOC_LITERAL(8, 104, 7), // "enabled"
40 QT_MOC_LITERAL(9, 112, 13), // "checkValidity"
41 QT_MOC_LITERAL(10, 126, 9) // "markValid"
42 
43  },
44  "QValidatedLineEdit\0validationDidChange\0"
45  "\0QValidatedLineEdit*\0validatedLineEdit\0"
46  "setValid\0valid\0setEnabled\0enabled\0"
47  "checkValidity\0markValid"
48 };
49 #undef QT_MOC_LITERAL
50 
51 static const uint qt_meta_data_QValidatedLineEdit[] = {
52 
53  // content:
54  7, // revision
55  0, // classname
56  0, 0, // classinfo
57  5, 14, // methods
58  0, 0, // properties
59  0, 0, // enums/sets
60  0, 0, // constructors
61  0, // flags
62  1, // signalCount
63 
64  // signals: name, argc, parameters, tag, flags
65  1, 1, 39, 2, 0x06 /* Public */,
66 
67  // slots: name, argc, parameters, tag, flags
68  5, 1, 42, 2, 0x0a /* Public */,
69  7, 1, 45, 2, 0x0a /* Public */,
70  9, 0, 48, 2, 0x0a /* Public */,
71  10, 0, 49, 2, 0x08 /* Private */,
72 
73  // signals: parameters
74  QMetaType::Void, 0x80000000 | 3, 4,
75 
76  // slots: parameters
77  QMetaType::Void, QMetaType::Bool, 6,
78  QMetaType::Void, QMetaType::Bool, 8,
79  QMetaType::Void,
80  QMetaType::Void,
81 
82  0 // eod
83 };
84 
85 void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
86 {
87  if (_c == QMetaObject::InvokeMetaMethod) {
88  QValidatedLineEdit *_t = static_cast<QValidatedLineEdit *>(_o);
89  Q_UNUSED(_t)
90  switch (_id) {
91  case 0: _t->validationDidChange((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1]))); break;
92  case 1: _t->setValid((*reinterpret_cast< bool(*)>(_a[1]))); break;
93  case 2: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
94  case 3: _t->checkValidity(); break;
95  case 4: _t->markValid(); break;
96  default: ;
97  }
98  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
99  switch (_id) {
100  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
101  case 0:
102  switch (*reinterpret_cast<int*>(_a[1])) {
103  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
104  case 0:
105  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >(); break;
106  }
107  break;
108  }
109  } else if (_c == QMetaObject::IndexOfMethod) {
110  int *result = reinterpret_cast<int *>(_a[0]);
111  void **func = reinterpret_cast<void **>(_a[1]);
112  {
113  typedef void (QValidatedLineEdit::*_t)(QValidatedLineEdit * );
114  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QValidatedLineEdit::validationDidChange)) {
115  *result = 0;
116  }
117  }
118  }
119 }
120 
121 const QMetaObject QValidatedLineEdit::staticMetaObject = {
122  { &QLineEdit::staticMetaObject, qt_meta_stringdata_QValidatedLineEdit.data,
123  qt_meta_data_QValidatedLineEdit, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
124 };
125 
126 
127 const QMetaObject *QValidatedLineEdit::metaObject() const
128 {
129  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
130 }
131 
132 void *QValidatedLineEdit::qt_metacast(const char *_clname)
133 {
134  if (!_clname) return Q_NULLPTR;
135  if (!strcmp(_clname, qt_meta_stringdata_QValidatedLineEdit.stringdata0))
136  return static_cast<void*>(const_cast< QValidatedLineEdit*>(this));
137  return QLineEdit::qt_metacast(_clname);
138 }
139 
140 int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
141 {
142  _id = QLineEdit::qt_metacall(_c, _id, _a);
143  if (_id < 0)
144  return _id;
145  if (_c == QMetaObject::InvokeMetaMethod) {
146  if (_id < 5)
147  qt_static_metacall(this, _c, _id, _a);
148  _id -= 5;
149  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
150  if (_id < 5)
151  qt_static_metacall(this, _c, _id, _a);
152  _id -= 5;
153  }
154  return _id;
155 }
156 
157 // SIGNAL 0
159 {
160  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
161  QMetaObject::activate(this, &staticMetaObject, 0, _a);
162 }
163 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
uint32_t uint
Definition: libclwrapper.h:40
Line edit that can be marked as "invalid" to show input validation feedback.
void validationDidChange(QValidatedLineEdit *validatedLineEdit)
void setEnabled(bool enabled)
void setValid(bool valid)