/****************************************************************************
** Meta object code from reading C++ file 'rkwindowcatcher.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 "../../../../../rkward-0.8.3/rkward/windows/rkwindowcatcher.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 'rkwindowcatcher.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_ZN15RKWindowCatcherE_t {};
} // unnamed namespace

template <> constexpr inline auto RKWindowCatcher::qt_create_metaobjectdata<qt_meta_tag_ZN15RKWindowCatcherE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "RKWindowCatcher"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RKWindowCatcher, qt_meta_tag_ZN15RKWindowCatcherE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject RKWindowCatcher::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15RKWindowCatcherE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15RKWindowCatcherE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15RKWindowCatcherE_t>.metaTypes,
    nullptr
} };

void RKWindowCatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RKWindowCatcher *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int RKWindowCatcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN17RKCaughtX11WindowE_t {};
} // unnamed namespace

template <> constexpr inline auto RKCaughtX11Window::qt_create_metaobjectdata<qt_meta_tag_ZN17RKCaughtX11WindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "RKCaughtX11Window",
        "deviceInteractive",
        "",
        "interactive",
        "prompt",
        "fixedSizeToggled",
        "setFixedSize1",
        "setFixedSize2",
        "setFixedSize3",
        "setFixedSizeManual",
        "activateDevice",
        "copyDeviceToOutput",
        "printDevice",
        "copyDeviceToRObject",
        "duplicateDevice",
        "stopInteraction",
        "firstPlot",
        "previousPlot",
        "nextPlot",
        "lastPlot",
        "gotoPlot",
        "index",
        "forceAppendCurrentPlot",
        "removeCurrentPlot",
        "clearHistory",
        "showPlotInfo",
        "close",
        "RKMDIWindow::CloseWindowMode",
        "ask_save",
        "setKilledInR",
        "setWindowStyleHint",
        "hint",
        "doEmbed"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'deviceInteractive'
        QtMocHelpers::SlotData<void(bool, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 }, { QMetaType::QString, 4 },
        }}),
        // Slot 'fixedSizeToggled'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFixedSize1'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFixedSize2'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFixedSize3'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFixedSizeManual'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'activateDevice'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copyDeviceToOutput'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'printDevice'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copyDeviceToRObject'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'duplicateDevice'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stopInteraction'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'firstPlot'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'previousPlot'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'nextPlot'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'lastPlot'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'gotoPlot'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 21 },
        }}),
        // Slot 'forceAppendCurrentPlot'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'removeCurrentPlot'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearHistory'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showPlotInfo'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'close'
        QtMocHelpers::SlotData<bool(RKMDIWindow::CloseWindowMode)>(26, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'setKilledInR'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setWindowStyleHint'
        QtMocHelpers::SlotData<void(const QString &)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 31 },
        }}),
        // Slot 'doEmbed'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RKCaughtX11Window, qt_meta_tag_ZN17RKCaughtX11WindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject RKCaughtX11Window::staticMetaObject = { {
    QMetaObject::SuperData::link<RKMDIWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17RKCaughtX11WindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17RKCaughtX11WindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17RKCaughtX11WindowE_t>.metaTypes,
    nullptr
} };

void RKCaughtX11Window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RKCaughtX11Window *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->deviceInteractive((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->fixedSizeToggled(); break;
        case 2: _t->setFixedSize1(); break;
        case 3: _t->setFixedSize2(); break;
        case 4: _t->setFixedSize3(); break;
        case 5: _t->setFixedSizeManual(); break;
        case 6: _t->activateDevice(); break;
        case 7: _t->copyDeviceToOutput(); break;
        case 8: _t->printDevice(); break;
        case 9: _t->copyDeviceToRObject(); break;
        case 10: _t->duplicateDevice(); break;
        case 11: _t->stopInteraction(); break;
        case 12: _t->firstPlot(); break;
        case 13: _t->previousPlot(); break;
        case 14: _t->nextPlot(); break;
        case 15: _t->lastPlot(); break;
        case 16: _t->gotoPlot((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->forceAppendCurrentPlot(); break;
        case 18: _t->removeCurrentPlot(); break;
        case 19: _t->clearHistory(); break;
        case 20: _t->showPlotInfo(); break;
        case 21: { bool _r = _t->close((*reinterpret_cast<std::add_pointer_t<RKMDIWindow::CloseWindowMode>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->setKilledInR(); break;
        case 23: _t->setWindowStyleHint((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 24: _t->doEmbed(); break;
        default: ;
        }
    }
}

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

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

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