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.)" 20 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_DISABLE_DEPRECATED
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)) \ 48 "QValidatedLineEdit\0validationDidChange\0" 49 "\0QValidatedLineEdit*\0validatedLineEdit\0" 50 "setText\0setValid\0valid\0setEnabled\0" 51 "enabled\0markValid\0checkValidity" 79 QMetaType::Void, 0x80000000 | 3, 4,
82 QMetaType::Void, QMetaType::QString, 2,
83 QMetaType::Void, QMetaType::Bool, 7,
84 QMetaType::Void, QMetaType::Bool, 9,
91 void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
93 if (_c == QMetaObject::InvokeMetaMethod) {
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;
105 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
107 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
109 switch (*reinterpret_cast<int*>(_a[1])) {
110 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
112 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >();
break;
116 }
else if (_c == QMetaObject::IndexOfMethod) {
117 int *result =
reinterpret_cast<int *
>(_a[0]);
128 QT_INIT_METAOBJECT
const QMetaObject QValidatedLineEdit::staticMetaObject = { {
129 &QLineEdit::staticMetaObject,
138 const QMetaObject *QValidatedLineEdit::metaObject()
const 140 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
143 void *QValidatedLineEdit::qt_metacast(
const char *_clname)
145 if (!_clname)
return nullptr;
147 return static_cast<void*
>(
this);
148 return QLineEdit::qt_metacast(_clname);
151 int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
153 _id = QLineEdit::qt_metacall(_c, _id, _a);
156 if (_c == QMetaObject::InvokeMetaMethod) {
158 qt_static_metacall(
this, _c, _id, _a);
160 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
162 qt_static_metacall(
this, _c, _id, _a);
171 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
172 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
#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[]