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

#include "../../../focuswriter-1.9.0/src/stack.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 'stack.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN5StackE_t {};
} // unnamed namespace

template <> constexpr inline auto Stack::qt_create_metaobjectdata<qt_meta_tag_ZN5StackE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Stack",
        "copyAvailable",
        "",
        "redoAvailable",
        "undoAvailable",
        "footerVisible",
        "headerVisible",
        "documentAdded",
        "Document*",
        "document",
        "documentRemoved",
        "documentSelected",
        "index",
        "findNextAvailable",
        "available",
        "updateFormatActions",
        "updateFormatAlignmentActions",
        "alignCenter",
        "alignJustify",
        "alignLeft",
        "alignRight",
        "autoCache",
        "checkSpelling",
        "cut",
        "copy",
        "decreaseIndent",
        "find",
        "findNext",
        "findPrevious",
        "increaseIndent",
        "paste",
        "pasteUnformatted",
        "pageSetup",
        "print",
        "redo",
        "reload",
        "replace",
        "save",
        "saveAs",
        "selectAll",
        "selectScene",
        "setFocusMode",
        "QAction*",
        "action",
        "setBlockHeading",
        "heading",
        "setFontBold",
        "bold",
        "setFontItalic",
        "italic",
        "setFontStrikeOut",
        "strikeout",
        "setFontUnderline",
        "underline",
        "setFontSuperScript",
        "super",
        "setFontSubScript",
        "sub",
        "setTextDirectionLTR",
        "setTextDirectionRTL",
        "showSymbols",
        "themeSelected",
        "Theme",
        "theme",
        "undo",
        "updateSmartQuotes",
        "updateSmartQuotesSelection",
        "setFooterVisible",
        "visible",
        "setHeaderVisible",
        "setScenesVisible",
        "showHeader",
        "actionTriggered",
        "const QAction*",
        "insertSymbol",
        "text",
        "updateBackground",
        "QImage",
        "image",
        "QRect",
        "foreground",
        "updateMargin",
        "updateMask",
        "updateMenuIndexes"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'copyAvailable'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'redoAvailable'
        QtMocHelpers::SignalData<void(bool)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'undoAvailable'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'footerVisible'
        QtMocHelpers::SignalData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'headerVisible'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'documentAdded'
        QtMocHelpers::SignalData<void(Document *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'documentRemoved'
        QtMocHelpers::SignalData<void(Document *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'documentSelected'
        QtMocHelpers::SignalData<void(int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 12 },
        }}),
        // Signal 'findNextAvailable'
        QtMocHelpers::SignalData<void(bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 14 },
        }}),
        // Signal 'updateFormatActions'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateFormatAlignmentActions'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'alignCenter'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'alignJustify'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'alignLeft'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'alignRight'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'autoCache'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'checkSpelling'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cut'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'decreaseIndent'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'find'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'findNext'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'findPrevious'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'increaseIndent'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'paste'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pasteUnformatted'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pageSetup'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'print'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'redo'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reload'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'replace'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'save'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveAs'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectAll'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectScene'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFocusMode'
        QtMocHelpers::SlotData<void(QAction *)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 42, 43 },
        }}),
        // Slot 'setBlockHeading'
        QtMocHelpers::SlotData<void(int)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 45 },
        }}),
        // Slot 'setFontBold'
        QtMocHelpers::SlotData<void(bool)>(46, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 47 },
        }}),
        // Slot 'setFontItalic'
        QtMocHelpers::SlotData<void(bool)>(48, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 49 },
        }}),
        // Slot 'setFontStrikeOut'
        QtMocHelpers::SlotData<void(bool)>(50, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 51 },
        }}),
        // Slot 'setFontUnderline'
        QtMocHelpers::SlotData<void(bool)>(52, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 53 },
        }}),
        // Slot 'setFontSuperScript'
        QtMocHelpers::SlotData<void(bool)>(54, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 55 },
        }}),
        // Slot 'setFontSubScript'
        QtMocHelpers::SlotData<void(bool)>(56, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 57 },
        }}),
        // Slot 'setTextDirectionLTR'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setTextDirectionRTL'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showSymbols'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'themeSelected'
        QtMocHelpers::SlotData<void(const Theme &)>(61, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 62, 63 },
        }}),
        // Slot 'undo'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateSmartQuotes'
        QtMocHelpers::SlotData<void()>(65, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateSmartQuotesSelection'
        QtMocHelpers::SlotData<void()>(66, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFooterVisible'
        QtMocHelpers::SlotData<void(bool)>(67, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 68 },
        }}),
        // Slot 'setHeaderVisible'
        QtMocHelpers::SlotData<void(bool)>(69, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 68 },
        }}),
        // Slot 'setScenesVisible'
        QtMocHelpers::SlotData<void(bool)>(70, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 68 },
        }}),
        // Slot 'showHeader'
        QtMocHelpers::SlotData<void()>(71, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'actionTriggered'
        QtMocHelpers::SlotData<void(const QAction *)>(72, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 73, 43 },
        }}),
        // Slot 'insertSymbol'
        QtMocHelpers::SlotData<void(const QString &)>(74, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 75 },
        }}),
        // Slot 'updateBackground'
        QtMocHelpers::SlotData<void()>(76, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateBackground'
        QtMocHelpers::SlotData<void(const QImage &, const QRect &)>(76, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 77, 78 }, { 0x80000000 | 79, 80 },
        }}),
        // Slot 'updateMargin'
        QtMocHelpers::SlotData<void()>(81, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateMask'
        QtMocHelpers::SlotData<void()>(82, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateMenuIndexes'
        QtMocHelpers::SlotData<void()>(83, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Stack, qt_meta_tag_ZN5StackE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Stack::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5StackE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5StackE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5StackE_t>.metaTypes,
    nullptr
} };

void Stack::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Stack *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->copyAvailable((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->redoAvailable((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->undoAvailable((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->footerVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->headerVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->documentAdded((*reinterpret_cast<std::add_pointer_t<Document*>>(_a[1]))); break;
        case 6: _t->documentRemoved((*reinterpret_cast<std::add_pointer_t<Document*>>(_a[1]))); break;
        case 7: _t->documentSelected((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->findNextAvailable((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->updateFormatActions(); break;
        case 10: _t->updateFormatAlignmentActions(); break;
        case 11: _t->alignCenter(); break;
        case 12: _t->alignJustify(); break;
        case 13: _t->alignLeft(); break;
        case 14: _t->alignRight(); break;
        case 15: _t->autoCache(); break;
        case 16: _t->checkSpelling(); break;
        case 17: _t->cut(); break;
        case 18: _t->copy(); break;
        case 19: _t->decreaseIndent(); break;
        case 20: _t->find(); break;
        case 21: _t->findNext(); break;
        case 22: _t->findPrevious(); break;
        case 23: _t->increaseIndent(); break;
        case 24: _t->paste(); break;
        case 25: _t->pasteUnformatted(); break;
        case 26: _t->pageSetup(); break;
        case 27: _t->print(); break;
        case 28: _t->redo(); break;
        case 29: _t->reload(); break;
        case 30: _t->replace(); break;
        case 31: _t->save(); break;
        case 32: _t->saveAs(); break;
        case 33: _t->selectAll(); break;
        case 34: _t->selectScene(); break;
        case 35: _t->setFocusMode((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 36: _t->setBlockHeading((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 37: _t->setFontBold((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 38: _t->setFontItalic((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 39: _t->setFontStrikeOut((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 40: _t->setFontUnderline((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 41: _t->setFontSuperScript((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 42: _t->setFontSubScript((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 43: _t->setTextDirectionLTR(); break;
        case 44: _t->setTextDirectionRTL(); break;
        case 45: _t->showSymbols(); break;
        case 46: _t->themeSelected((*reinterpret_cast<std::add_pointer_t<Theme>>(_a[1]))); break;
        case 47: _t->undo(); break;
        case 48: _t->updateSmartQuotes(); break;
        case 49: _t->updateSmartQuotesSelection(); break;
        case 50: _t->setFooterVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 51: _t->setHeaderVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 52: _t->setScenesVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 53: _t->showHeader(); break;
        case 54: _t->actionTriggered((*reinterpret_cast<std::add_pointer_t<const QAction*>>(_a[1]))); break;
        case 55: _t->insertSymbol((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 56: _t->updateBackground(); break;
        case 57: _t->updateBackground((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QRect>>(_a[2]))); break;
        case 58: _t->updateMargin(); break;
        case 59: _t->updateMask(); break;
        case 60: _t->updateMenuIndexes(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 35:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        case 46:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Theme >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(bool )>(_a, &Stack::copyAvailable, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(bool )>(_a, &Stack::redoAvailable, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(bool )>(_a, &Stack::undoAvailable, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(bool )>(_a, &Stack::footerVisible, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(bool )>(_a, &Stack::headerVisible, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(Document * )>(_a, &Stack::documentAdded, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(Document * )>(_a, &Stack::documentRemoved, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(int )>(_a, &Stack::documentSelected, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)(bool )>(_a, &Stack::findNextAvailable, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)()>(_a, &Stack::updateFormatActions, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Stack::*)()>(_a, &Stack::updateFormatAlignmentActions, 10))
            return;
    }
}

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

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

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

// SIGNAL 0
void Stack::copyAvailable(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Stack::redoAvailable(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Stack::undoAvailable(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Stack::footerVisible(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Stack::headerVisible(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Stack::documentAdded(Document * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Stack::documentRemoved(Document * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Stack::documentSelected(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Stack::findNextAvailable(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void Stack::updateFormatActions()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void Stack::updateFormatAlignmentActions()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
QT_WARNING_POP
