9#include "../../../../include/esterv/crypto/vault.hpp"
10#include <QtNetwork/QSslPreSharedKeyAuthenticator>
11#include <QtNetwork/QSslError>
12#include <QtCore/qmetatype.h>
14#include <QtCore/qtmochelpers.h>
19#include <QtCore/qxptype_traits.h>
20#if !defined(Q_MOC_OUTPUT_REVISION)
21#error "The header file 'vault.hpp' doesn't include <QObject>."
22#elif Q_MOC_OUTPUT_REVISION != 68
23#error "This file was generated using the moc from 6.8.1. It"
24#error "cannot be used with the include files from this version of Qt."
25#error "(The moc has changed too much.)"
34QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
40#ifdef QT_MOC_HAS_STRINGDATA
41static constexpr auto qt_meta_stringdata_ZN6Esterv6Crypto5VaultE = QtMocHelpers::stringData(
42 "Esterv::Crypto::Vault",
60#error "qtmochelpers.h not found or too old."
63Q_CONSTINIT
static const uint qt_meta_data_ZN6Esterv6Crypto5VaultE[] = {
80 3, 0, 52, 4, 0x06, 3 ,
81 5, 0, 53, 4, 0x06, 4 ,
84 6, 1, 54, 4, 0x102, 5 ,
85 8, 2, 57, 4, 0x02, 7 ,
86 10, 2, 62, 4, 0x02, 10 ,
87 13, 1, 67, 4, 0x102, 13 ,
106Q_CONSTINIT
const QMetaObject Esterv::Crypto::Vault::staticMetaObject = { {
107 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
108 qt_meta_stringdata_ZN6Esterv6Crypto5VaultE.offsetsAndSizes,
109 qt_meta_data_ZN6Esterv6Crypto5VaultE,
141void Esterv::Crypto::Vault::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
143 auto *_t =
static_cast<Vault *
>(_o);
144 if (_c == QMetaObject::InvokeMetaMethod) {
146 case 0: _t->isEmptyChanged();
break;
147 case 1: _t->fileChanged();
break;
148 case 2: {
QString _r = _t->getDataString((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
150 case 3: {
bool _r = _t->setDataString((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[2])));
151 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) =
std::move(_r); }
break;
152 case 4: {
bool _r = _t->changePassword((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[2])));
153 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) =
std::move(_r); }
break;
154 case 5: {
bool _r = _t->checkPassword((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
155 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) =
std::move(_r); }
break;
159 if (_c == QMetaObject::IndexOfMethod) {
160 int *result =
reinterpret_cast<int *
>(_a[0]);
162 using _q_method_type = void (Vault::*)();
163 if (_q_method_type _q_method = &
Vault::isEmptyChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
169 using _q_method_type = void (Vault::*)();
170 if (_q_method_type _q_method = &
Vault::fileChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
176 if (_c == QMetaObject::ReadProperty) {
179 case 0: *
reinterpret_cast< QString*
>(_v) = _t->m_file;
break;
180 case 1: *
reinterpret_cast< bool*
>(_v) = _t->isEmpty();
break;
184 if (_c == QMetaObject::WriteProperty) {
188 if (_t->m_file != *
reinterpret_cast< QString*
>(_v)) {
189 _t->m_file = *
reinterpret_cast< QString*
>(_v);
200 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
203void *Esterv::Crypto::Vault::qt_metacast(
const char *_clname)
205 if (!_clname)
return nullptr;
206 if (!
strcmp(_clname, qt_meta_stringdata_ZN6Esterv6Crypto5VaultE.stringdata0))
207 return static_cast<void*
>(
this);
208 return QObject::qt_metacast(_clname);
211int Esterv::Crypto::Vault::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
213 _id = QObject::qt_metacall(_c, _id, _a);
216 if (_c == QMetaObject::InvokeMetaMethod) {
218 qt_static_metacall(
this, _c, _id, _a);
221 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
226 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
227 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
228 || _c == QMetaObject::RegisterPropertyMetaType) {
229 qt_static_metacall(
this, _c, _id, _a);
238 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
244 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
Vault(QObject *parent=nullptr, const QString filename=(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)+"/estervvault.bin"))
Definition vault.cpp:30
void isEmptyChanged()
Definition moc_vault.cpp:236
void fileChanged()
Definition moc_vault.cpp:242
Definition moc_about.cpp:33