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.)" 19 QT_BEGIN_MOC_NAMESPACE
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)) \ 41 "QValidatedTextEdit\0setValid\0\0valid\0" 42 "setEnabled\0enabled\0checkValidity\0" 47 static const uint qt_meta_data_QValidatedTextEdit[] = {
67 QMetaType::Void, QMetaType::Bool, 3,
68 QMetaType::Void, QMetaType::Bool, 5,
75 void QValidatedTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
77 if (_c == QMetaObject::InvokeMetaMethod) {
81 case 0: _t->
setValid((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
82 case 1: _t->
setEnabled((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
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}
96 const QMetaObject *QValidatedTextEdit::metaObject()
const 98 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
101 void *QValidatedTextEdit::qt_metacast(
const char *_clname)
103 if (!_clname)
return Q_NULLPTR;
104 if (!strcmp(_clname, qt_meta_stringdata_QValidatedTextEdit.
stringdata0))
106 return QTextEdit::qt_metacast(_clname);
109 int QValidatedTextEdit::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
111 _id = QTextEdit::qt_metacall(_c, _id, _a);
114 if (_c == QMetaObject::InvokeMetaMethod) {
116 qt_static_metacall(
this, _c, _id, _a);
118 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
120 *
reinterpret_cast<int*
>(_a[0]) = -1;
void setValid(bool valid)
void setEnabled(bool enabled)
#define QT_MOC_LITERAL(idx, ofs, len)