Fabcoin Core  0.16.2
P2P Digital Currency
moc_qvalidatedtextedit.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qvalidatedtextedit.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 'qvalidatedtextedit.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[8];
22  char stringdata0[78];
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_QValidatedTextEdit_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_QValidatedTextEdit_t qt_meta_stringdata_QValidatedTextEdit = {
30  {
31 QT_MOC_LITERAL(0, 0, 18), // "QValidatedTextEdit"
32 QT_MOC_LITERAL(1, 19, 8), // "setValid"
33 QT_MOC_LITERAL(2, 28, 0), // ""
34 QT_MOC_LITERAL(3, 29, 5), // "valid"
35 QT_MOC_LITERAL(4, 35, 10), // "setEnabled"
36 QT_MOC_LITERAL(5, 46, 7), // "enabled"
37 QT_MOC_LITERAL(6, 54, 13), // "checkValidity"
38 QT_MOC_LITERAL(7, 68, 9) // "markValid"
39 
40  },
41  "QValidatedTextEdit\0setValid\0\0valid\0"
42  "setEnabled\0enabled\0checkValidity\0"
43  "markValid"
44 };
45 #undef QT_MOC_LITERAL
46 
47 static const uint qt_meta_data_QValidatedTextEdit[] = {
48 
49  // content:
50  7, // revision
51  0, // classname
52  0, 0, // classinfo
53  4, 14, // methods
54  0, 0, // properties
55  0, 0, // enums/sets
56  0, 0, // constructors
57  0, // flags
58  0, // signalCount
59 
60  // slots: name, argc, parameters, tag, flags
61  1, 1, 34, 2, 0x0a /* Public */,
62  4, 1, 37, 2, 0x0a /* Public */,
63  6, 0, 40, 2, 0x0a /* Public */,
64  7, 0, 41, 2, 0x08 /* Private */,
65 
66  // slots: parameters
67  QMetaType::Void, QMetaType::Bool, 3,
68  QMetaType::Void, QMetaType::Bool, 5,
69  QMetaType::Void,
70  QMetaType::Void,
71 
72  0 // eod
73 };
74 
75 void QValidatedTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76 {
77  if (_c == QMetaObject::InvokeMetaMethod) {
78  QValidatedTextEdit *_t = static_cast<QValidatedTextEdit *>(_o);
79  Q_UNUSED(_t)
80  switch (_id) {
81  case 0: _t->setValid((*reinterpret_cast< bool(*)>(_a[1]))); break;
82  case 1: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
83  case 2: _t->checkValidity(); break;
84  case 3: _t->markValid(); break;
85  default: ;
86  }
87  }
88 }
89 
90 const QMetaObject QValidatedTextEdit::staticMetaObject = {
91  { &QTextEdit::staticMetaObject, qt_meta_stringdata_QValidatedTextEdit.data,
92  qt_meta_data_QValidatedTextEdit, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
93 };
94 
95 
96 const QMetaObject *QValidatedTextEdit::metaObject() const
97 {
98  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
99 }
100 
101 void *QValidatedTextEdit::qt_metacast(const char *_clname)
102 {
103  if (!_clname) return Q_NULLPTR;
104  if (!strcmp(_clname, qt_meta_stringdata_QValidatedTextEdit.stringdata0))
105  return static_cast<void*>(const_cast< QValidatedTextEdit*>(this));
106  return QTextEdit::qt_metacast(_clname);
107 }
108 
109 int QValidatedTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
110 {
111  _id = QTextEdit::qt_metacall(_c, _id, _a);
112  if (_id < 0)
113  return _id;
114  if (_c == QMetaObject::InvokeMetaMethod) {
115  if (_id < 4)
116  qt_static_metacall(this, _c, _id, _a);
117  _id -= 4;
118  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
119  if (_id < 4)
120  *reinterpret_cast<int*>(_a[0]) = -1;
121  _id -= 4;
122  }
123  return _id;
124 }
125 QT_END_MOC_NAMESPACE
uint32_t uint
Definition: libclwrapper.h:40
void setValid(bool valid)
void setEnabled(bool enabled)
#define QT_MOC_LITERAL(idx, ofs, len)