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.2. 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)) \
48 "QValidatedLineEdit\0validationDidChange\0"
49 "\0QValidatedLineEdit*\0validatedLineEdit\0"
50 "setValid\0valid\0setEnabled\0enabled\0"
51 "markValid\0checkValidity"
78 QMetaType::Void, 0x80000000 | 3, 4,
81 QMetaType::Void, QMetaType::Bool, 6,
82 QMetaType::Void, QMetaType::Bool, 8,
89void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
91 if (_c == QMetaObject::InvokeMetaMethod) {
96 case 1: _t->setValid((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
97 case 2: _t->setEnabled((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
98 case 3: _t->markValid();
break;
99 case 4: _t->checkValidity();
break;
102 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
104 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
106 switch (*
reinterpret_cast<int*
>(_a[1])) {
107 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
109 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QValidatedLineEdit* >();
break;
113 }
else if (_c == QMetaObject::IndexOfMethod) {
114 int *result =
reinterpret_cast<int *
>(_a[0]);
125QT_INIT_METAOBJECT
const QMetaObject QValidatedLineEdit::staticMetaObject = { {
126 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
135const QMetaObject *QValidatedLineEdit::metaObject()
const
137 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
140void *QValidatedLineEdit::qt_metacast(
const char *_clname)
142 if (!_clname)
return nullptr;
144 return static_cast<void*
>(
this);
145 return QLineEdit::qt_metacast(_clname);
148int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
150 _id = QLineEdit::qt_metacall(_c, _id, _a);
153 if (_c == QMetaObject::InvokeMetaMethod) {
155 qt_static_metacall(
this, _c, _id, _a);
157 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
159 qt_static_metacall(
this, _c, _id, _a);
168 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
169 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[]