CuteLogger
Fast and simple logging solution for Qt based applications
moc_lineeditclear.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'lineeditclear.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.7.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/lineeditclear.h"
10#include <QtGui/qtextcursor.h>
11#include <QtCore/qmetatype.h>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'lineeditclear.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.7.2. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35
36#ifdef QT_MOC_HAS_STRINGDATA
37struct qt_meta_stringdata_CLASSLineEditClearENDCLASS_t {};
38constexpr auto qt_meta_stringdata_CLASSLineEditClearENDCLASS = QtMocHelpers::stringData(
39 "LineEditClear",
40 "updateCloseButton",
41 "",
42 "text"
43);
44#else // !QT_MOC_HAS_STRINGDATA
45#error "qtmochelpers.h not found or too old."
46#endif // !QT_MOC_HAS_STRINGDATA
47} // unnamed namespace
48
49Q_CONSTINIT static const uint qt_meta_data_CLASSLineEditClearENDCLASS[] = {
50
51 // content:
52 12, // revision
53 0, // classname
54 0, 0, // classinfo
55 1, 14, // methods
56 0, 0, // properties
57 0, 0, // enums/sets
58 0, 0, // constructors
59 0, // flags
60 0, // signalCount
61
62 // slots: name, argc, parameters, tag, flags, initial metatype offsets
63 1, 1, 20, 2, 0x08, 1 /* Private */,
64
65 // slots: parameters
66 QMetaType::Void, QMetaType::QString, 3,
67
68 0 // eod
69};
70
71Q_CONSTINIT const QMetaObject LineEditClear::staticMetaObject = { {
72 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
73 qt_meta_stringdata_CLASSLineEditClearENDCLASS.offsetsAndSizes,
74 qt_meta_data_CLASSLineEditClearENDCLASS,
75 qt_static_metacall,
76 nullptr,
77 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSLineEditClearENDCLASS_t,
78 // Q_OBJECT / Q_GADGET
79 QtPrivate::TypeAndForceComplete<LineEditClear, std::true_type>,
80 // method 'updateCloseButton'
81 QtPrivate::TypeAndForceComplete<void, std::false_type>,
82 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
83 >,
84 nullptr
85} };
86
87void LineEditClear::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
88{
89 if (_c == QMetaObject::InvokeMetaMethod) {
90 auto *_t = static_cast<LineEditClear *>(_o);
91 (void)_t;
92 switch (_id) {
93 case 0: _t->updateCloseButton((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
94 default: ;
95 }
96 }
97}
98
99const QMetaObject *LineEditClear::metaObject() const
100{
101 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
102}
103
104void *LineEditClear::qt_metacast(const char *_clname)
105{
106 if (!_clname) return nullptr;
107 if (!strcmp(_clname, qt_meta_stringdata_CLASSLineEditClearENDCLASS.stringdata0))
108 return static_cast<void*>(this);
109 return QLineEdit::qt_metacast(_clname);
110}
111
112int LineEditClear::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
113{
114 _id = QLineEdit::qt_metacall(_c, _id, _a);
115 if (_id < 0)
116 return _id;
117 if (_c == QMetaObject::InvokeMetaMethod) {
118 if (_id < 1)
119 qt_static_metacall(this, _c, _id, _a);
120 _id -= 1;
121 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
122 if (_id < 1)
123 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
124 _id -= 1;
125 }
126 return _id;
127}
128QT_WARNING_POP