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

#include "../../../../qt/DetailsDialog.h"
#include <QtNetwork/QSslError>
#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 'DetailsDialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN13DetailsDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto DetailsDialog::qt_create_metaobjectdata<qt_meta_tag_ZN13DetailsDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DetailsDialog",
        "refreshModel",
        "",
        "refreshPref",
        "key",
        "refreshUI",
        "onTorrentsEdited",
        "torrent_ids_t",
        "ids",
        "onTorrentsChanged",
        "Torrent::fields_t",
        "fields",
        "onSessionCalled",
        "Session::Tag",
        "tag",
        "onButtonBoxClicked",
        "QAbstractButton*",
        "button",
        "onTrackerSelectionChanged",
        "onAddTrackerClicked",
        "onEditTrackersClicked",
        "onRemoveTrackerClicked",
        "onShowTrackerScrapesToggled",
        "onShowBackupTrackersToggled",
        "onTrackerListEdited",
        "onFilePriorityChanged",
        "file_indices_t",
        "file_indices",
        "onFileWantedChanged",
        "onPathEdited",
        "old_path",
        "new_name",
        "onOpenRequested",
        "path",
        "onBandwidthPriorityChanged",
        "onHonorsSessionLimitsToggled",
        "onDownloadLimitedToggled",
        "onSpinBoxEditingFinished",
        "onUploadLimitedToggled",
        "onRatioModeChanged",
        "onIdleModeChanged",
        "onIdleLimitChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'refreshModel'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'refreshPref'
        QtMocHelpers::SlotData<void(int)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'refreshUI'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onTorrentsEdited'
        QtMocHelpers::SlotData<void(torrent_ids_t const &)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'onTorrentsChanged'
        QtMocHelpers::SlotData<void(torrent_ids_t const &, Torrent::fields_t const &)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'onSessionCalled'
        QtMocHelpers::SlotData<void(Session::Tag)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'onButtonBoxClicked'
        QtMocHelpers::SlotData<void(QAbstractButton *)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'onTrackerSelectionChanged'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAddTrackerClicked'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onEditTrackersClicked'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onRemoveTrackerClicked'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onShowTrackerScrapesToggled'
        QtMocHelpers::SlotData<void(bool)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onShowBackupTrackersToggled'
        QtMocHelpers::SlotData<void(bool)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onTrackerListEdited'
        QtMocHelpers::SlotData<void(QString)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'onFilePriorityChanged'
        QtMocHelpers::SlotData<void(file_indices_t const &, int)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 26, 27 }, { QMetaType::Int, 2 },
        }}),
        // Slot 'onFileWantedChanged'
        QtMocHelpers::SlotData<void(file_indices_t const &, bool)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 26, 27 }, { QMetaType::Bool, 2 },
        }}),
        // Slot 'onPathEdited'
        QtMocHelpers::SlotData<void(QString const &, QString const &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 30 }, { QMetaType::QString, 31 },
        }}),
        // Slot 'onOpenRequested'
        QtMocHelpers::SlotData<void(QString const &) const>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 33 },
        }}),
        // Slot 'onBandwidthPriorityChanged'
        QtMocHelpers::SlotData<void(int)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'onHonorsSessionLimitsToggled'
        QtMocHelpers::SlotData<void(bool)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onDownloadLimitedToggled'
        QtMocHelpers::SlotData<void(bool)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onSpinBoxEditingFinished'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onUploadLimitedToggled'
        QtMocHelpers::SlotData<void(bool)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onRatioModeChanged'
        QtMocHelpers::SlotData<void(int)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'onIdleModeChanged'
        QtMocHelpers::SlotData<void(int)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'onIdleLimitChanged'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DetailsDialog, qt_meta_tag_ZN13DetailsDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DetailsDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<BaseDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13DetailsDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13DetailsDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13DetailsDialogE_t>.metaTypes,
    nullptr
} };

void DetailsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DetailsDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->refreshModel(); break;
        case 1: _t->refreshPref((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->refreshUI(); break;
        case 3: _t->onTorrentsEdited((*reinterpret_cast<std::add_pointer_t<torrent_ids_t>>(_a[1]))); break;
        case 4: _t->onTorrentsChanged((*reinterpret_cast<std::add_pointer_t<torrent_ids_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Torrent::fields_t>>(_a[2]))); break;
        case 5: _t->onSessionCalled((*reinterpret_cast<std::add_pointer_t<Session::Tag>>(_a[1]))); break;
        case 6: _t->onButtonBoxClicked((*reinterpret_cast<std::add_pointer_t<QAbstractButton*>>(_a[1]))); break;
        case 7: _t->onTrackerSelectionChanged(); break;
        case 8: _t->onAddTrackerClicked(); break;
        case 9: _t->onEditTrackersClicked(); break;
        case 10: _t->onRemoveTrackerClicked(); break;
        case 11: _t->onShowTrackerScrapesToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->onShowBackupTrackersToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->onTrackerListEdited((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->onFilePriorityChanged((*reinterpret_cast<std::add_pointer_t<file_indices_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 15: _t->onFileWantedChanged((*reinterpret_cast<std::add_pointer_t<file_indices_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 16: _t->onPathEdited((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 17: _t->onOpenRequested((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 18: _t->onBandwidthPriorityChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->onHonorsSessionLimitsToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->onDownloadLimitedToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->onSpinBoxEditingFinished(); break;
        case 22: _t->onUploadLimitedToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->onRatioModeChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 24: _t->onIdleModeChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 25: _t->onIdleLimitChanged(); break;
        default: ;
        }
    }
}

const QMetaObject *DetailsDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *DetailsDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13DetailsDialogE_t>.strings))
        return static_cast<void*>(this);
    return BaseDialog::qt_metacast(_clname);
}

int DetailsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = BaseDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 26;
    }
    return _id;
}
QT_WARNING_POP
