/****************************************************************************
** Meta object code from reading C++ file 'qtappwin.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 "../../../../../../src/celestia/qt/qtappwin.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 'qtappwin.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_ZN8celestia2qt17CelestiaAppWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto celestia::qt::CelestiaAppWindow::qt_create_metaobjectdata<qt_meta_tag_ZN8celestia2qt17CelestiaAppWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "celestia::qt::CelestiaAppWindow",
        "progressUpdate",
        "",
        "s",
        "align",
        "QColor",
        "c",
        "celestia_tick",
        "slotShowSelectionContextMenu",
        "QPoint",
        "pos",
        "Selection&",
        "sel",
        "slotManual",
        "slotWiki",
        "setCheckedFPS",
        "setFPS",
        "setCustomFPS",
        "slotGrabImage",
        "slotCaptureVideo",
        "slotCopyImage",
        "slotCopyURL",
        "slotPasteURL",
        "centerSelection",
        "gotoSelection",
        "gotoObject",
        "selectSun",
        "tourGuide",
        "slotPreferences",
        "slotSplitViewVertically",
        "slotSplitViewHorizontally",
        "slotCycleView",
        "slotSingleView",
        "slotDeleteView",
        "slotToggleFramesVisible",
        "slotToggleActiveFrameVisible",
        "slotToggleSyncTime",
        "slotShowObjectInfo",
        "slotOpenScriptDialog",
        "slotOpenScript",
        "slotRunDemo",
        "slotShowTimeDialog",
        "slotToggleFullScreen",
        "slotShowAbout",
        "slotShowGLInfo",
        "slotAddBookmark",
        "slotOrganizeBookmarks",
        "slotBookmarkTriggered",
        "url",
        "handleCelUrl",
        "QUrl",
        "copyText",
        "pasteText",
        "copyTextOrURL",
        "pasteTextOrURL"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'progressUpdate'
        QtMocHelpers::SignalData<void(const QString &, int, const QColor &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Slot 'celestia_tick'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotShowSelectionContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &, Selection &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { 0x80000000 | 11, 12 },
        }}),
        // Slot 'slotManual'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotWiki'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setCheckedFPS'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFPS'
        QtMocHelpers::SlotData<void(int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setCustomFPS'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotGrabImage'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotCaptureVideo'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotCopyImage'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotCopyURL'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPasteURL'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'centerSelection'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'gotoSelection'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'gotoObject'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectSun'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'tourGuide'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPreferences'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSplitViewVertically'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSplitViewHorizontally'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotCycleView'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSingleView'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDeleteView'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotToggleFramesVisible'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotToggleActiveFrameVisible'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotToggleSyncTime'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowObjectInfo'
        QtMocHelpers::SlotData<void(Selection &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'slotOpenScriptDialog'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotOpenScript'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotRunDemo'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowTimeDialog'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotToggleFullScreen'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowAbout'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowGLInfo'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotAddBookmark'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotOrganizeBookmarks'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotBookmarkTriggered'
        QtMocHelpers::SlotData<void(const QString &)>(47, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 48 },
        }}),
        // Slot 'handleCelUrl'
        QtMocHelpers::SlotData<void(const QUrl &)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 50, 48 },
        }}),
        // Slot 'copyText'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pasteText'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'copyTextOrURL'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pasteTextOrURL'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CelestiaAppWindow, qt_meta_tag_ZN8celestia2qt17CelestiaAppWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject celestia::qt::CelestiaAppWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8celestia2qt17CelestiaAppWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8celestia2qt17CelestiaAppWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8celestia2qt17CelestiaAppWindowE_t>.metaTypes,
    nullptr
} };

void celestia::qt::CelestiaAppWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CelestiaAppWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->progressUpdate((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QColor>>(_a[3]))); break;
        case 1: _t->celestia_tick(); break;
        case 2: _t->slotShowSelectionContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Selection&>>(_a[2]))); break;
        case 3: _t->slotManual(); break;
        case 4: _t->slotWiki(); break;
        case 5: _t->setCheckedFPS(); break;
        case 6: _t->setFPS((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->setCustomFPS(); break;
        case 8: _t->slotGrabImage(); break;
        case 9: _t->slotCaptureVideo(); break;
        case 10: _t->slotCopyImage(); break;
        case 11: _t->slotCopyURL(); break;
        case 12: _t->slotPasteURL(); break;
        case 13: _t->centerSelection(); break;
        case 14: _t->gotoSelection(); break;
        case 15: _t->gotoObject(); break;
        case 16: _t->selectSun(); break;
        case 17: _t->tourGuide(); break;
        case 18: _t->slotPreferences(); break;
        case 19: _t->slotSplitViewVertically(); break;
        case 20: _t->slotSplitViewHorizontally(); break;
        case 21: _t->slotCycleView(); break;
        case 22: _t->slotSingleView(); break;
        case 23: _t->slotDeleteView(); break;
        case 24: _t->slotToggleFramesVisible(); break;
        case 25: _t->slotToggleActiveFrameVisible(); break;
        case 26: _t->slotToggleSyncTime(); break;
        case 27: _t->slotShowObjectInfo((*reinterpret_cast<std::add_pointer_t<Selection&>>(_a[1]))); break;
        case 28: _t->slotOpenScriptDialog(); break;
        case 29: _t->slotOpenScript(); break;
        case 30: _t->slotRunDemo(); break;
        case 31: _t->slotShowTimeDialog(); break;
        case 32: _t->slotToggleFullScreen(); break;
        case 33: _t->slotShowAbout(); break;
        case 34: _t->slotShowGLInfo(); break;
        case 35: _t->slotAddBookmark(); break;
        case 36: _t->slotOrganizeBookmarks(); break;
        case 37: _t->slotBookmarkTriggered((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 38: _t->handleCelUrl((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 39: _t->copyText(); break;
        case 40: _t->pasteText(); break;
        case 41: _t->copyTextOrURL(); break;
        case 42: _t->pasteTextOrURL(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CelestiaAppWindow::*)(const QString & , int , const QColor & )>(_a, &CelestiaAppWindow::progressUpdate, 0))
            return;
    }
}

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

void *celestia::qt::CelestiaAppWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8celestia2qt17CelestiaAppWindowE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "CelestiaCore::ContextMenuHandler"))
        return static_cast< CelestiaCore::ContextMenuHandler*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int celestia::qt::CelestiaAppWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 43)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 43;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 43)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 43;
    }
    return _id;
}

// SIGNAL 0
void celestia::qt::CelestiaAppWindow::progressUpdate(const QString & _t1, int _t2, const QColor & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
