/****************************************************************************
** Meta object code from reading C++ file 'SystrayIcon.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 "SystrayIcon.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 'SystrayIcon.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_ZN11SystrayIconE_t {};
} // unnamed namespace

template <> constexpr inline auto SystrayIcon::qt_create_metaobjectdata<qt_meta_tag_ZN11SystrayIconE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SystrayIcon",
        "quit",
        "",
        "tryCatchCopy",
        "tryUncatchCopy",
        "showHelp",
        "showOptions",
        "showProductKey",
        "addWindowCopyMove",
        "Ultracopier::CopyMode",
        "mode",
        "std::string",
        "name",
        "addWindowTransfer",
        "urlDropped",
        "std::vector<std::string>",
        "urls",
        "saveBugReport",
        "showSystrayMessage",
        "text",
        "listenerReady",
        "Ultracopier::ListeningState",
        "state",
        "havePlugin",
        "someAreInWaitOfReply",
        "pluginLoaderReady",
        "Ultracopier::CatchState",
        "addCopyEngine",
        "canDoOnlyCopy",
        "removeCopyEngine",
        "newUpdate",
        "version",
        "changeToUltimate",
        "bannedKey",
        "updateCurrentTheme",
        "CatchAction",
        "QSystemTrayIcon::ActivationReason",
        "reason",
        "CatchCopyQuery",
        "CatchMoveQuery",
        "CatchTransferQuery",
        "retranslateTheUI",
        "reloadEngineList",
        "checkSetTooltip",
        "messageClicked"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'quit'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'tryCatchCopy'
        QtMocHelpers::SignalData<void() const>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'tryUncatchCopy'
        QtMocHelpers::SignalData<void() const>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showHelp'
        QtMocHelpers::SignalData<void() const>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showOptions'
        QtMocHelpers::SignalData<void() const>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showProductKey'
        QtMocHelpers::SignalData<void() const>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'addWindowCopyMove'
        QtMocHelpers::SignalData<void(Ultracopier::CopyMode, std::string) const>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { 0x80000000 | 11, 12 },
        }}),
        // Signal 'addWindowTransfer'
        QtMocHelpers::SignalData<void(std::string) const>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Signal 'urlDropped'
        QtMocHelpers::SignalData<void(std::vector<std::string>) const>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Signal 'saveBugReport'
        QtMocHelpers::SignalData<void() const>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showSystrayMessage'
        QtMocHelpers::SlotData<void(const std::string &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 19 },
        }}),
        // Slot 'listenerReady'
        QtMocHelpers::SlotData<void(const Ultracopier::ListeningState &, const bool &, const bool &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 }, { QMetaType::Bool, 23 }, { QMetaType::Bool, 24 },
        }}),
        // Slot 'pluginLoaderReady'
        QtMocHelpers::SlotData<void(const Ultracopier::CatchState &, const bool &, const bool &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 26, 22 }, { QMetaType::Bool, 23 }, { QMetaType::Bool, 24 },
        }}),
        // Slot 'addCopyEngine'
        QtMocHelpers::SlotData<void(const std::string &, const bool &)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { QMetaType::Bool, 28 },
        }}),
        // Slot 'removeCopyEngine'
        QtMocHelpers::SlotData<void(const std::string &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'newUpdate'
        QtMocHelpers::SlotData<void(const std::string &)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 31 },
        }}),
        // Slot 'changeToUltimate'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'bannedKey'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateCurrentTheme'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CatchAction'
        QtMocHelpers::SlotData<void(QSystemTrayIcon::ActivationReason)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 36, 37 },
        }}),
        // Slot 'CatchCopyQuery'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CatchMoveQuery'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CatchTransferQuery'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'retranslateTheUI'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'reloadEngineList'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkSetTooltip'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'messageClicked'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SystrayIcon, qt_meta_tag_ZN11SystrayIconE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SystrayIcon::staticMetaObject = { {
    QMetaObject::SuperData::link<QSystemTrayIcon::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11SystrayIconE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11SystrayIconE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11SystrayIconE_t>.metaTypes,
    nullptr
} };

void SystrayIcon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SystrayIcon *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->quit(); break;
        case 1: _t->tryCatchCopy(); break;
        case 2: _t->tryUncatchCopy(); break;
        case 3: _t->showHelp(); break;
        case 4: _t->showOptions(); break;
        case 5: _t->showProductKey(); break;
        case 6: _t->addWindowCopyMove((*reinterpret_cast<std::add_pointer_t<Ultracopier::CopyMode>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 7: _t->addWindowTransfer((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 8: _t->urlDropped((*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[1]))); break;
        case 9: _t->saveBugReport(); break;
        case 10: _t->showSystrayMessage((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 11: _t->listenerReady((*reinterpret_cast<std::add_pointer_t<Ultracopier::ListeningState>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 12: _t->pluginLoaderReady((*reinterpret_cast<std::add_pointer_t<Ultracopier::CatchState>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 13: _t->addCopyEngine((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 14: _t->removeCopyEngine((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 15: _t->newUpdate((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 16: _t->changeToUltimate(); break;
        case 17: _t->bannedKey(); break;
        case 18: _t->updateCurrentTheme(); break;
        case 19: _t->CatchAction((*reinterpret_cast<std::add_pointer_t<QSystemTrayIcon::ActivationReason>>(_a[1]))); break;
        case 20: _t->CatchCopyQuery(); break;
        case 21: _t->CatchMoveQuery(); break;
        case 22: _t->CatchTransferQuery(); break;
        case 23: _t->retranslateTheUI(); break;
        case 24: _t->reloadEngineList(); break;
        case 25: _t->checkSetTooltip(); break;
        case 26: _t->messageClicked(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)() const>(_a, &SystrayIcon::quit, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)() const>(_a, &SystrayIcon::tryCatchCopy, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)() const>(_a, &SystrayIcon::tryUncatchCopy, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)() const>(_a, &SystrayIcon::showHelp, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)() const>(_a, &SystrayIcon::showOptions, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)() const>(_a, &SystrayIcon::showProductKey, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)(Ultracopier::CopyMode , std::string ) const>(_a, &SystrayIcon::addWindowCopyMove, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)(std::string ) const>(_a, &SystrayIcon::addWindowTransfer, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)(std::vector<std::string> ) const>(_a, &SystrayIcon::urlDropped, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (SystrayIcon::*)() const>(_a, &SystrayIcon::saveBugReport, 9))
            return;
    }
}

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

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

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

// SIGNAL 0
void SystrayIcon::quit()const
{
    QMetaObject::activate(const_cast< SystrayIcon *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void SystrayIcon::tryCatchCopy()const
{
    QMetaObject::activate(const_cast< SystrayIcon *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void SystrayIcon::tryUncatchCopy()const
{
    QMetaObject::activate(const_cast< SystrayIcon *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void SystrayIcon::showHelp()const
{
    QMetaObject::activate(const_cast< SystrayIcon *>(this), &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void SystrayIcon::showOptions()const
{
    QMetaObject::activate(const_cast< SystrayIcon *>(this), &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void SystrayIcon::showProductKey()const
{
    QMetaObject::activate(const_cast< SystrayIcon *>(this), &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void SystrayIcon::addWindowCopyMove(Ultracopier::CopyMode _t1, std::string _t2)const
{
    QMetaObject::activate<void>(const_cast< SystrayIcon *>(this), &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void SystrayIcon::addWindowTransfer(std::string _t1)const
{
    QMetaObject::activate<void>(const_cast< SystrayIcon *>(this), &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void SystrayIcon::urlDropped(std::vector<std::string> _t1)const
{
    QMetaObject::activate<void>(const_cast< SystrayIcon *>(this), &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void SystrayIcon::saveBugReport()const
{
    QMetaObject::activate(const_cast< SystrayIcon *>(this), &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
