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 69 (Qt 6.9.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 != 69
22#error "This file was generated using the moc from 6.9.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
38template <> constexpr inline auto LineEditClear::qt_create_metaobjectdata<qt_meta_tag_ZN13LineEditClearE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "LineEditClear",
43 "updateCloseButton",
44 "",
45 "text"
46 };
47
48 QtMocHelpers::UintData qt_methods {
49 // Slot 'updateCloseButton'
50 QtMocHelpers::SlotData<void(const QString &)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
51 { QMetaType::QString, 3 },
52 }}),
53 };
54 QtMocHelpers::UintData qt_properties {
55 };
56 QtMocHelpers::UintData qt_enums {
57 };
58 return QtMocHelpers::metaObjectData<LineEditClear, qt_meta_tag_ZN13LineEditClearE_t>(QMC::MetaObjectFlag{}, qt_stringData,
59 qt_methods, qt_properties, qt_enums);
60}
61Q_CONSTINIT const QMetaObject LineEditClear::staticMetaObject = { {
62 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
63 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13LineEditClearE_t>.stringdata,
64 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13LineEditClearE_t>.data,
65 qt_static_metacall,
66 nullptr,
67 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13LineEditClearE_t>.metaTypes,
68 nullptr
69} };
70
71void LineEditClear::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72{
73 auto *_t = static_cast<LineEditClear *>(_o);
74 if (_c == QMetaObject::InvokeMetaMethod) {
75 switch (_id) {
76 case 0: _t->updateCloseButton((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
77 default: ;
78 }
79 }
80}
81
82const QMetaObject *LineEditClear::metaObject() const
83{
84 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
85}
86
87void *LineEditClear::qt_metacast(const char *_clname)
88{
89 if (!_clname) return nullptr;
90 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13LineEditClearE_t>.strings))
91 return static_cast<void*>(this);
92 return QLineEdit::qt_metacast(_clname);
93}
94
95int LineEditClear::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
96{
97 _id = QLineEdit::qt_metacall(_c, _id, _a);
98 if (_id < 0)
99 return _id;
100 if (_c == QMetaObject::InvokeMetaMethod) {
101 if (_id < 1)
102 qt_static_metacall(this, _c, _id, _a);
103 _id -= 1;
104 }
105 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
106 if (_id < 1)
107 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
108 _id -= 1;
109 }
110 return _id;
111}
112QT_WARNING_POP