QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
moc_qpushbuttonshowpassword.cpp
Go to the documentation of this file.
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
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
31QT_WARNING_PUSH
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
36} // unnamed namespace
37
38template <> 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}
65Q_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
75void QPushButtonShowPassword::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76{
77 auto *_t = static_cast<QPushButtonShowPassword *>(_o);
78 if (_c == QMetaObject::InvokeMetaMethod) {
79 switch (_id) {
80 case 0: _t->clicked((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
81 case 1: _t->buttonClicked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
82 default: ;
83 }
84 }
85 if (_c == QMetaObject::IndexOfMethod) {
86 if (QtMocHelpers::indexOfMethod<void (QPushButtonShowPassword::*)(const QString & )>(_a, &QPushButtonShowPassword::clicked, 0))
87 return;
88 }
89}
90
91const QMetaObject *QPushButtonShowPassword::metaObject() const
92{
93 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94}
95
96void *QPushButtonShowPassword::qt_metacast(const char *_clname)
97{
98 if (!_clname) return nullptr;
99 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23QPushButtonShowPasswordE_t>.strings))
100 return static_cast<void*>(this);
101 return QPushButton::qt_metacast(_clname);
102}
103
104int QPushButtonShowPassword::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105{
106 _id = QPushButton::qt_metacall(_c, _id, _a);
107 if (_id < 0)
108 return _id;
109 if (_c == QMetaObject::InvokeMetaMethod) {
110 if (_id < 2)
111 qt_static_metacall(this, _c, _id, _a);
112 _id -= 2;
113 }
114 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
115 if (_id < 2)
116 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
117 _id -= 2;
118 }
119 return _id;
120}
121
122// SIGNAL 0
123void QPushButtonShowPassword::clicked(const QString & _t1)
124{
125 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
126}
127QT_WARNING_POP
QPushButtonShowPassword(QLineEdit *line, QWidget *parent=nullptr)
QPushButtonAsQRCode::QPushButtonAsQRCode basic constructor.
#define Q_CONSTINIT