QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
moc_passworddialog.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'passworddialog.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 <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'passworddialog.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.10.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
35} // unnamed namespace
36
37template <> constexpr inline auto PasswordDialog::qt_create_metaobjectdata<qt_meta_tag_ZN14PasswordDialogE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "PasswordDialog",
42 "setPass",
43 "",
44 "output",
45 "on_checkBoxShow_stateChanged",
46 "arg1",
47 "on_createPasswordButton_clicked",
48 "on_accepted",
49 "on_rejected"
50 };
51
52 QtMocHelpers::UintData qt_methods {
53 // Slot 'setPass'
54 QtMocHelpers::SlotData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
55 { QMetaType::QString, 3 },
56 }}),
57 // Slot 'on_checkBoxShow_stateChanged'
58 QtMocHelpers::SlotData<void(int)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
59 { QMetaType::Int, 5 },
60 }}),
61 // Slot 'on_createPasswordButton_clicked'
62 QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
63 // Slot 'on_accepted'
64 QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
65 // Slot 'on_rejected'
66 QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
67 };
68 QtMocHelpers::UintData qt_properties {
69 };
70 QtMocHelpers::UintData qt_enums {
71 };
72 return QtMocHelpers::metaObjectData<PasswordDialog, qt_meta_tag_ZN14PasswordDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
73 qt_methods, qt_properties, qt_enums);
74}
75Q_CONSTINIT const QMetaObject PasswordDialog::staticMetaObject = { {
76 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
77 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14PasswordDialogE_t>.stringdata,
78 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14PasswordDialogE_t>.data,
79 qt_static_metacall,
80 nullptr,
81 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14PasswordDialogE_t>.metaTypes,
82 nullptr
83} };
84
85void PasswordDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
86{
87 auto *_t = static_cast<PasswordDialog *>(_o);
88 if (_c == QMetaObject::InvokeMetaMethod) {
89 switch (_id) {
90 case 0: _t->setPass((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
91 case 1: _t->on_checkBoxShow_stateChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
92 case 2: _t->on_createPasswordButton_clicked(); break;
93 case 3: _t->on_accepted(); break;
94 case 4: _t->on_rejected(); break;
95 default: ;
96 }
97 }
98}
99
100const QMetaObject *PasswordDialog::metaObject() const
101{
102 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
103}
104
105void *PasswordDialog::qt_metacast(const char *_clname)
106{
107 if (!_clname) return nullptr;
108 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14PasswordDialogE_t>.strings))
109 return static_cast<void*>(this);
110 return QDialog::qt_metacast(_clname);
111}
112
113int PasswordDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
114{
115 _id = QDialog::qt_metacall(_c, _id, _a);
116 if (_id < 0)
117 return _id;
118 if (_c == QMetaObject::InvokeMetaMethod) {
119 if (_id < 5)
120 qt_static_metacall(this, _c, _id, _a);
121 _id -= 5;
122 }
123 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
124 if (_id < 5)
125 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
126 _id -= 5;
127 }
128 return _id;
129}
130QT_WARNING_POP
PasswordDialog(PasswordConfiguration passConfig, QWidget *parent=nullptr)
PasswordDialog::PasswordDialog basic constructor.
#define Q_CONSTINIT