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.15.2. 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)) \
47 "QValidatedLineEdit\0validationDidChange\0"
48 "\0QValidatedLineEdit*\0validatedLineEdit\0"
49 "setValid\0valid\0setEnabled\0enabled\0"
50 "markValid\0checkValidity"
77 QMetaType::Void, 0x80000000 | 3, 4,
80 QMetaType::Void, QMetaType::Bool, 6,
81 QMetaType::Void, QMetaType::Bool, 8,
88 void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
90 if (_c == QMetaObject::InvokeMetaMethod) {
95 case 1: _t->setValid((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
96 case 2: _t->setEnabled((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
97 case 3: _t->markValid();
break;
98 case 4: _t->checkValidity();
break;
101 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
103 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
105 switch (*
reinterpret_cast<int*
>(_a[1])) {
106 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
108 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >();
break;
112 }
else if (_c == QMetaObject::IndexOfMethod) {
113 int *result =
reinterpret_cast<int *
>(_a[0]);
124 QT_INIT_METAOBJECT
const QMetaObject QValidatedLineEdit::staticMetaObject = { {
125 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
134 const QMetaObject *QValidatedLineEdit::metaObject()
const
136 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
139 void *QValidatedLineEdit::qt_metacast(
const char *_clname)
141 if (!_clname)
return nullptr;
143 return static_cast<void*
>(
this);
144 return QLineEdit::qt_metacast(_clname);
147 int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
149 _id = QLineEdit::qt_metacall(_c, _id, _a);
152 if (_c == QMetaObject::InvokeMetaMethod) {
154 qt_static_metacall(
this, _c, _id, _a);
156 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
158 qt_static_metacall(
this, _c, _id, _a);
167 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
168 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
Line edit that can be marked as "invalid" to show input validation feedback.
void validationDidChange(QValidatedLineEdit *validatedLineEdit)
static const qt_meta_stringdata_QValidatedLineEdit_t qt_meta_stringdata_QValidatedLineEdit
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_QValidatedLineEdit[]