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.8.1)
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.8.1. 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 {
35struct qt_meta_tag_ZN13LineEditClearE_t {};
36} // unnamed namespace
37
38
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN13LineEditClearE = QtMocHelpers::stringData(
41 "LineEditClear",
42 "updateCloseButton",
43 "",
44 "text"
45);
46#else // !QT_MOC_HAS_STRINGDATA
47#error "qtmochelpers.h not found or too old."
48#endif // !QT_MOC_HAS_STRINGDATA
49
50Q_CONSTINIT static const uint qt_meta_data_ZN13LineEditClearE[] = {
51
52 // content:
53 12, // revision
54 0, // classname
55 0, 0, // classinfo
56 1, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 0, // signalCount
62
63 // slots: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 20, 2, 0x08, 1 /* Private */,
65
66 // slots: parameters
67 QMetaType::Void, QMetaType::QString, 3,
68
69 0 // eod
70};
71
72Q_CONSTINIT const QMetaObject LineEditClear::staticMetaObject = { {
73 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
74 qt_meta_stringdata_ZN13LineEditClearE.offsetsAndSizes,
75 qt_meta_data_ZN13LineEditClearE,
76 qt_static_metacall,
77 nullptr,
78 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13LineEditClearE_t,
79 // Q_OBJECT / Q_GADGET
80 QtPrivate::TypeAndForceComplete<LineEditClear, std::true_type>,
81 // method 'updateCloseButton'
82 QtPrivate::TypeAndForceComplete<void, std::false_type>,
83 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
84 >,
85 nullptr
86} };
87
88void LineEditClear::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
89{
90 auto *_t = static_cast<LineEditClear *>(_o);
91 if (_c == QMetaObject::InvokeMetaMethod) {
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_ZN13LineEditClearE.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 }
122 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
123 if (_id < 1)
124 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
125 _id -= 1;
126 }
127 return _id;
128}
129QT_WARNING_POP