/****************************************************************************
** Meta object code from reading C++ file 'verifychecksumsdialog.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../kleopatra-26.04.1/src/crypto/gui/verifychecksumsdialog.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'verifychecksumsdialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN4Kleo6Crypto3Gui21VerifyChecksumsDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto Kleo::Crypto::Gui::VerifyChecksumsDialog::qt_create_metaobjectdata<qt_meta_tag_ZN4Kleo6Crypto3Gui21VerifyChecksumsDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Kleo::Crypto::Gui::VerifyChecksumsDialog",
        "canceled",
        "",
        "setBaseDirectories",
        "bases",
        "setProgress",
        "current",
        "total",
        "setStatus",
        "file",
        "Kleo::Crypto::Gui::VerifyChecksumsDialog::Status",
        "status",
        "setErrors",
        "errors",
        "clearStatusInformation",
        "slotErrorButtonClicked",
        "Status",
        "Unknown",
        "OK",
        "Failed",
        "Error",
        "NumStatii"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'canceled'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setBaseDirectories'
        QtMocHelpers::SlotData<void(const QStringList &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 4 },
        }}),
        // Slot 'setProgress'
        QtMocHelpers::SlotData<void(int, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 6 }, { QMetaType::Int, 7 },
        }}),
        // Slot 'setStatus'
        QtMocHelpers::SlotData<void(const QString &, Kleo::Crypto::Gui::VerifyChecksumsDialog::Status)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'setErrors'
        QtMocHelpers::SlotData<void(const QStringList &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 13 },
        }}),
        // Slot 'clearStatusInformation'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotErrorButtonClicked'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Status'
        QtMocHelpers::EnumData<enum Status>(16, 16, QMC::EnumFlags{}).add({
            {   17, Status::Unknown },
            {   18, Status::OK },
            {   19, Status::Failed },
            {   20, Status::Error },
            {   21, Status::NumStatii },
        }),
    };
    return QtMocHelpers::metaObjectData<VerifyChecksumsDialog, qt_meta_tag_ZN4Kleo6Crypto3Gui21VerifyChecksumsDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Kleo::Crypto::Gui::VerifyChecksumsDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Kleo6Crypto3Gui21VerifyChecksumsDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Kleo6Crypto3Gui21VerifyChecksumsDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4Kleo6Crypto3Gui21VerifyChecksumsDialogE_t>.metaTypes,
    nullptr
} };

void Kleo::Crypto::Gui::VerifyChecksumsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VerifyChecksumsDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->canceled(); break;
        case 1: _t->setBaseDirectories((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 2: _t->setProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->setStatus((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Kleo::Crypto::Gui::VerifyChecksumsDialog::Status>>(_a[2]))); break;
        case 4: _t->setErrors((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 5: _t->clearStatusInformation(); break;
        case 6: _t->d->slotErrorButtonClicked(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Kleo::Crypto::Gui::VerifyChecksumsDialog::Status >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (VerifyChecksumsDialog::*)()>(_a, &VerifyChecksumsDialog::canceled, 0))
            return;
    }
}

const QMetaObject *Kleo::Crypto::Gui::VerifyChecksumsDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Kleo::Crypto::Gui::VerifyChecksumsDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Kleo6Crypto3Gui21VerifyChecksumsDialogE_t>.strings))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int Kleo::Crypto::Gui::VerifyChecksumsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void Kleo::Crypto::Gui::VerifyChecksumsDialog::canceled()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
