Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'qpushbuttonshowpassword.h'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "qpushbuttonshowpassword.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 'qpushbuttonshowpassword.h' doesn't include <QObject>."
21 : #elif Q_MOC_OUTPUT_REVISION != 69
22 : #error "This file was generated using the moc from 6.10.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 :
31 : QT_WARNING_PUSH
32 : QT_WARNING_DISABLE_DEPRECATED
33 : QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34 : namespace {
35 : struct qt_meta_tag_ZN23QPushButtonShowPasswordE_t {};
36 : } // unnamed namespace
37 :
38 : template <> constexpr inline auto QPushButtonShowPassword::qt_create_metaobjectdata<qt_meta_tag_ZN23QPushButtonShowPasswordE_t>()
39 : {
40 : namespace QMC = QtMocConstants;
41 : QtMocHelpers::StringRefStorage qt_stringData {
42 : "QPushButtonShowPassword",
43 : "clicked",
44 : "",
45 : "buttonClicked"
46 : };
47 :
48 : QtMocHelpers::UintData qt_methods {
49 : // Signal 'clicked'
50 : QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
51 : { QMetaType::QString, 2 },
52 : }}),
53 : // Slot 'buttonClicked'
54 : QtMocHelpers::SlotData<void(bool)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
55 : { QMetaType::Bool, 2 },
56 : }}),
57 : };
58 : QtMocHelpers::UintData qt_properties {
59 : };
60 : QtMocHelpers::UintData qt_enums {
61 : };
62 : return QtMocHelpers::metaObjectData<QPushButtonShowPassword, qt_meta_tag_ZN23QPushButtonShowPasswordE_t>(QMC::MetaObjectFlag{}, qt_stringData,
63 : qt_methods, qt_properties, qt_enums);
64 : }
65 : Q_CONSTINIT const QMetaObject QPushButtonShowPassword::staticMetaObject = { {
66 : QMetaObject::SuperData::link<QPushButton::staticMetaObject>(),
67 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23QPushButtonShowPasswordE_t>.stringdata,
68 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23QPushButtonShowPasswordE_t>.data,
69 : qt_static_metacall,
70 : nullptr,
71 : qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN23QPushButtonShowPasswordE_t>.metaTypes,
72 : nullptr
73 : } };
74 :
75 0 : void QPushButtonShowPassword::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76 : {
77 : auto *_t = static_cast<QPushButtonShowPassword *>(_o);
78 0 : if (_c == QMetaObject::InvokeMetaMethod) {
79 0 : switch (_id) {
80 0 : case 0: _t->clicked((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
81 0 : case 1: _t->buttonClicked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
82 : default: ;
83 : }
84 : }
85 0 : if (_c == QMetaObject::IndexOfMethod) {
86 : if (QtMocHelpers::indexOfMethod<void (QPushButtonShowPassword::*)(const QString & )>(_a, &QPushButtonShowPassword::clicked, 0))
87 0 : return;
88 : }
89 : }
90 :
91 0 : const QMetaObject *QPushButtonShowPassword::metaObject() const
92 : {
93 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94 : }
95 :
96 0 : void *QPushButtonShowPassword::qt_metacast(const char *_clname)
97 : {
98 0 : if (!_clname) return nullptr;
99 0 : if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23QPushButtonShowPasswordE_t>.strings))
100 : return static_cast<void*>(this);
101 0 : return QPushButton::qt_metacast(_clname);
102 : }
103 :
104 0 : int QPushButtonShowPassword::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105 : {
106 0 : _id = QPushButton::qt_metacall(_c, _id, _a);
107 0 : if (_id < 0)
108 : return _id;
109 0 : if (_c == QMetaObject::InvokeMetaMethod) {
110 0 : if (_id < 2)
111 0 : qt_static_metacall(this, _c, _id, _a);
112 0 : _id -= 2;
113 : }
114 0 : if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
115 0 : if (_id < 2)
116 0 : *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
117 0 : _id -= 2;
118 : }
119 : return _id;
120 : }
121 :
122 : // SIGNAL 0
123 0 : void QPushButtonShowPassword::clicked(const QString & _t1)
124 : {
125 0 : QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
126 0 : }
127 : QT_WARNING_POP
|