11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qvalidatedlineedit.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.16. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
23QT_WARNING_DISABLE_DEPRECATED
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_QValidatedLineEdit_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
49 "QValidatedLineEdit\0validationDidChange\0"
50 "\0QValidatedLineEdit*\0validatedLineEdit\0"
51 "setText\0setValid\0valid\0setEnabled\0"
52 "enabled\0markValid\0checkValidity"
80 QMetaType::Void, 0x80000000 | 3, 4,
83 QMetaType::Void, QMetaType::QString, 2,
84 QMetaType::Void, QMetaType::Bool, 7,
85 QMetaType::Void, QMetaType::Bool, 9,
92void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
94 if (_c == QMetaObject::InvokeMetaMethod) {
98 case 0: _t->validationDidChange((*
reinterpret_cast< QValidatedLineEdit*(*)
>(_a[1])));
break;
99 case 1: _t->setText((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
100 case 2: _t->setValid((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
101 case 3: _t->setEnabled((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
102 case 4: _t->markValid();
break;
103 case 5: _t->checkValidity();
break;
106 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
108 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
110 switch (*
reinterpret_cast<int*
>(_a[1])) {
111 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
113 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >();
break;
117 }
else if (_c == QMetaObject::IndexOfMethod) {
118 int *result =
reinterpret_cast<int *
>(_a[0]);
129QT_INIT_METAOBJECT
const QMetaObject QValidatedLineEdit::staticMetaObject = { {
130 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
139const QMetaObject *QValidatedLineEdit::metaObject()
const
141 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
144void *QValidatedLineEdit::qt_metacast(
const char *_clname)
146 if (!_clname)
return nullptr;
148 return static_cast<void*
>(
this);
149 return QLineEdit::qt_metacast(_clname);
152int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
154 _id = QLineEdit::qt_metacall(_c, _id, _a);
157 if (_c == QMetaObject::InvokeMetaMethod) {
159 qt_static_metacall(
this, _c, _id, _a);
161 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
163 qt_static_metacall(
this, _c, _id, _a);
172 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
173 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[]