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.)" 19 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_DISABLE_DEPRECATED
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)) \ 46 "QValidatedLineEdit\0validationDidChange\0" 47 "\0QValidatedLineEdit*\0validatedLineEdit\0" 48 "setValid\0valid\0setEnabled\0enabled\0" 49 "markValid\0checkValidity" 76 QMetaType::Void, 0x80000000 | 3, 4,
79 QMetaType::Void, QMetaType::Bool, 6,
80 QMetaType::Void, QMetaType::Bool, 8,
87 void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
89 if (_c == QMetaObject::InvokeMetaMethod) {
94 case 1: _t->
setValid((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
95 case 2: _t->
setEnabled((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
100 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
102 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
104 switch (*reinterpret_cast<int*>(_a[1])) {
105 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
107 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >();
break;
111 }
else if (_c == QMetaObject::IndexOfMethod) {
112 int *result =
reinterpret_cast<int *
>(_a[0]);
123 const QMetaObject QValidatedLineEdit::staticMetaObject = {
129 const QMetaObject *QValidatedLineEdit::metaObject()
const 131 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
134 void *QValidatedLineEdit::qt_metacast(
const char *_clname)
136 if (!_clname)
return nullptr;
138 return static_cast<void*
>(
this);
139 return QLineEdit::qt_metacast(_clname);
142 int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
144 _id = QLineEdit::qt_metacall(_c, _id, _a);
147 if (_c == QMetaObject::InvokeMetaMethod) {
149 qt_static_metacall(
this, _c, _id, _a);
151 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
153 qt_static_metacall(
this, _c, _id, _a);
162 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
163 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)
void setEnabled(bool enabled)
static const uint qt_meta_data_QValidatedLineEdit[]
void setValid(bool valid)