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

#include "../../../../cockatrice/src/client/tabs/abstract_tab_deck_editor.h"
#include <QtGui/qtextcursor.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 'abstract_tab_deck_editor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.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_ZN21AbstractTabDeckEditorE_t {};
} // unnamed namespace

template <> constexpr inline auto AbstractTabDeckEditor::qt_create_metaobjectdata<qt_meta_tag_ZN21AbstractTabDeckEditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AbstractTabDeckEditor",
        "openDeckEditor",
        "",
        "const DeckLoader*",
        "deckLoader",
        "deckEditorClosing",
        "AbstractTabDeckEditor*",
        "tab",
        "decrementCard",
        "CardInfoPtr",
        "card",
        "zoneName",
        "onDeckChanged",
        "updateCard",
        "_card",
        "actAddCard",
        "info",
        "actAddCardToSideboard",
        "actDecrementCard",
        "actDecrementCardFromSideboard",
        "actOpenRecent",
        "fileName",
        "filterTreeChanged",
        "FilterTree*",
        "filterTree",
        "closeRequest",
        "forced",
        "showPrintingSelector",
        "dockTopLevelChanged",
        "topLevel",
        "actNewDeck",
        "cleanDeckAndResetModified",
        "actLoadDeck",
        "actSaveDeck",
        "actSaveDeckAs",
        "actLoadDeckFromClipboard",
        "actEditDeckInClipboard",
        "actEditDeckInClipboardRaw",
        "actSaveDeckToClipboard",
        "actSaveDeckToClipboardNoSetInfo",
        "actSaveDeckToClipboardRaw",
        "actSaveDeckToClipboardRawNoSetInfo",
        "actPrintDeck",
        "actExportDeckDecklist",
        "actExportDeckDecklistXyz",
        "actAnalyzeDeckDeckstats",
        "actAnalyzeDeckTappedout",
        "saveDeckRemoteFinished",
        "Response",
        "r",
        "loadLayout",
        "restartLayout",
        "freeDocksSize",
        "refreshShortcuts",
        "eventFilter",
        "o",
        "QEvent*",
        "e",
        "dockVisibleTriggered",
        "dockFloatingTriggered"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'openDeckEditor'
        QtMocHelpers::SignalData<void(const DeckLoader *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'deckEditorClosing'
        QtMocHelpers::SignalData<void(AbstractTabDeckEditor *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'decrementCard'
        QtMocHelpers::SignalData<void(CardInfoPtr, QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { QMetaType::QString, 11 },
        }}),
        // Slot 'onDeckChanged'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateCard'
        QtMocHelpers::SlotData<void(CardInfoPtr)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 14 },
        }}),
        // Slot 'actAddCard'
        QtMocHelpers::SlotData<void(CardInfoPtr)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 16 },
        }}),
        // Slot 'actAddCardToSideboard'
        QtMocHelpers::SlotData<void(CardInfoPtr)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 16 },
        }}),
        // Slot 'actDecrementCard'
        QtMocHelpers::SlotData<void(CardInfoPtr)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 16 },
        }}),
        // Slot 'actDecrementCardFromSideboard'
        QtMocHelpers::SlotData<void(CardInfoPtr)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 16 },
        }}),
        // Slot 'actOpenRecent'
        QtMocHelpers::SlotData<void(const QString &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 },
        }}),
        // Slot 'filterTreeChanged'
        QtMocHelpers::SlotData<void(FilterTree *)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'closeRequest'
        QtMocHelpers::SlotData<void(bool)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 26 },
        }}),
        // Slot 'closeRequest'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'showPrintingSelector'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'dockTopLevelChanged'
        QtMocHelpers::SlotData<void(bool)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 29 },
        }}),
        // Slot 'actNewDeck'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'cleanDeckAndResetModified'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actLoadDeck'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actSaveDeck'
        QtMocHelpers::SlotData<bool()>(33, 2, QMC::AccessProtected, QMetaType::Bool),
        // Slot 'actSaveDeckAs'
        QtMocHelpers::SlotData<bool()>(34, 2, QMC::AccessProtected, QMetaType::Bool),
        // Slot 'actLoadDeckFromClipboard'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actEditDeckInClipboard'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actEditDeckInClipboardRaw'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actSaveDeckToClipboard'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actSaveDeckToClipboardNoSetInfo'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actSaveDeckToClipboardRaw'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actSaveDeckToClipboardRawNoSetInfo'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actPrintDeck'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actExportDeckDecklist'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actExportDeckDecklistXyz'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actAnalyzeDeckDeckstats'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'actAnalyzeDeckTappedout'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'saveDeckRemoteFinished'
        QtMocHelpers::SlotData<void(const Response &)>(47, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 48, 49 },
        }}),
        // Slot 'loadLayout'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'restartLayout'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'freeDocksSize'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'refreshShortcuts'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'eventFilter'
        QtMocHelpers::SlotData<bool(QObject *, QEvent *)>(54, 2, QMC::AccessProtected, QMetaType::Bool, {{
            { QMetaType::QObjectStar, 55 }, { 0x80000000 | 56, 57 },
        }}),
        // Slot 'dockVisibleTriggered'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'dockFloatingTriggered'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AbstractTabDeckEditor, qt_meta_tag_ZN21AbstractTabDeckEditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AbstractTabDeckEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<Tab::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21AbstractTabDeckEditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21AbstractTabDeckEditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21AbstractTabDeckEditorE_t>.metaTypes,
    nullptr
} };

void AbstractTabDeckEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AbstractTabDeckEditor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->openDeckEditor((*reinterpret_cast< std::add_pointer_t<const DeckLoader*>>(_a[1]))); break;
        case 1: _t->deckEditorClosing((*reinterpret_cast< std::add_pointer_t<AbstractTabDeckEditor*>>(_a[1]))); break;
        case 2: _t->decrementCard((*reinterpret_cast< std::add_pointer_t<CardInfoPtr>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->onDeckChanged(); break;
        case 4: _t->updateCard((*reinterpret_cast< std::add_pointer_t<CardInfoPtr>>(_a[1]))); break;
        case 5: _t->actAddCard((*reinterpret_cast< std::add_pointer_t<CardInfoPtr>>(_a[1]))); break;
        case 6: _t->actAddCardToSideboard((*reinterpret_cast< std::add_pointer_t<CardInfoPtr>>(_a[1]))); break;
        case 7: _t->actDecrementCard((*reinterpret_cast< std::add_pointer_t<CardInfoPtr>>(_a[1]))); break;
        case 8: _t->actDecrementCardFromSideboard((*reinterpret_cast< std::add_pointer_t<CardInfoPtr>>(_a[1]))); break;
        case 9: _t->actOpenRecent((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->filterTreeChanged((*reinterpret_cast< std::add_pointer_t<FilterTree*>>(_a[1]))); break;
        case 11: _t->closeRequest((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->closeRequest(); break;
        case 13: _t->showPrintingSelector(); break;
        case 14: _t->dockTopLevelChanged((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->actNewDeck(); break;
        case 16: _t->cleanDeckAndResetModified(); break;
        case 17: _t->actLoadDeck(); break;
        case 18: { bool _r = _t->actSaveDeck();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 19: { bool _r = _t->actSaveDeckAs();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->actLoadDeckFromClipboard(); break;
        case 21: _t->actEditDeckInClipboard(); break;
        case 22: _t->actEditDeckInClipboardRaw(); break;
        case 23: _t->actSaveDeckToClipboard(); break;
        case 24: _t->actSaveDeckToClipboardNoSetInfo(); break;
        case 25: _t->actSaveDeckToClipboardRaw(); break;
        case 26: _t->actSaveDeckToClipboardRawNoSetInfo(); break;
        case 27: _t->actPrintDeck(); break;
        case 28: _t->actExportDeckDecklist(); break;
        case 29: _t->actExportDeckDecklistXyz(); break;
        case 30: _t->actAnalyzeDeckDeckstats(); break;
        case 31: _t->actAnalyzeDeckTappedout(); break;
        case 32: _t->saveDeckRemoteFinished((*reinterpret_cast< std::add_pointer_t<Response>>(_a[1]))); break;
        case 33: _t->loadLayout(); break;
        case 34: _t->restartLayout(); break;
        case 35: _t->freeDocksSize(); break;
        case 36: _t->refreshShortcuts(); break;
        case 37: { bool _r = _t->eventFilter((*reinterpret_cast< std::add_pointer_t<QObject*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QEvent*>>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 38: _t->dockVisibleTriggered(); break;
        case 39: _t->dockFloatingTriggered(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< AbstractTabDeckEditor* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CardInfoPtr >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CardInfoPtr >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CardInfoPtr >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CardInfoPtr >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CardInfoPtr >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CardInfoPtr >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< FilterTree* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AbstractTabDeckEditor::*)(const DeckLoader * )>(_a, &AbstractTabDeckEditor::openDeckEditor, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractTabDeckEditor::*)(AbstractTabDeckEditor * )>(_a, &AbstractTabDeckEditor::deckEditorClosing, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractTabDeckEditor::*)(CardInfoPtr , QString )>(_a, &AbstractTabDeckEditor::decrementCard, 2))
            return;
    }
}

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

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

int AbstractTabDeckEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Tab::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 40)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 40;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 40)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 40;
    }
    return _id;
}

// SIGNAL 0
void AbstractTabDeckEditor::openDeckEditor(const DeckLoader * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void AbstractTabDeckEditor::deckEditorClosing(AbstractTabDeckEditor * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void AbstractTabDeckEditor::decrementCard(CardInfoPtr _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}
QT_WARNING_POP
