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

template <> constexpr inline auto ContentTab::qt_create_metaobjectdata<qt_meta_tag_ZN10ContentTabE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ContentTab",
        "DeleteMe",
        "",
        "ContentTab*",
        "tab_to_delete",
        "ZoomFactorChanged",
        "factor",
        "ContentChanged",
        "TabRenamed",
        "renamed_tab",
        "CentralTabRequest",
        "tab",
        "UpdateCursorPosition",
        "line",
        "column",
        "codepoint",
        "ClipboardSaveRequest",
        "ClipboardRestoreRequest",
        "SpellingHighlightRefreshRequest",
        "InsertedFileOpenedExternally",
        "pathname",
        "InsertedFileSaveAs",
        "QUrl",
        "url",
        "ShowStatusMessageRequest",
        "message",
        "MarkSelectionRequest",
        "ClearMarkedTextRequest",
        "Close",
        "SaveTabContent",
        "LoadTabContent",
        "EmitCentralTabRequest",
        "ContentChangedExternally",
        "ChangeCasing",
        "Utility::Casing",
        "casing",
        "GetResourceWasDeleted",
        "UnderlyingResourceDeleted",
        "EmitDeleteMe",
        "EmitTabRenamed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'DeleteMe'
        QtMocHelpers::SignalData<void(ContentTab *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'ZoomFactorChanged'
        QtMocHelpers::SignalData<void(float)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 6 },
        }}),
        // Signal 'ContentChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'TabRenamed'
        QtMocHelpers::SignalData<void(ContentTab *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 9 },
        }}),
        // Signal 'CentralTabRequest'
        QtMocHelpers::SignalData<void(ContentTab *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 11 },
        }}),
        // Signal 'UpdateCursorPosition'
        QtMocHelpers::SignalData<void(int, int, int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 14 }, { QMetaType::Int, 15 },
        }}),
        // Signal 'ClipboardSaveRequest'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ClipboardRestoreRequest'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'SpellingHighlightRefreshRequest'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'InsertedFileOpenedExternally'
        QtMocHelpers::SignalData<void(const QString &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 },
        }}),
        // Signal 'InsertedFileSaveAs'
        QtMocHelpers::SignalData<void(const QUrl &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Signal 'ShowStatusMessageRequest'
        QtMocHelpers::SignalData<void(const QString &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 25 },
        }}),
        // Signal 'MarkSelectionRequest'
        QtMocHelpers::SignalData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ClearMarkedTextRequest'
        QtMocHelpers::SignalData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'Close'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'SaveTabContent'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'LoadTabContent'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'EmitCentralTabRequest'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ContentChangedExternally'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ChangeCasing'
        QtMocHelpers::SlotData<void(const Utility::Casing)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 34, 35 },
        }}),
        // Slot 'GetResourceWasDeleted'
        QtMocHelpers::SlotData<bool()>(36, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'UnderlyingResourceDeleted'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'EmitDeleteMe'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'EmitTabRenamed'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ContentTab, qt_meta_tag_ZN10ContentTabE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ContentTab::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ContentTabE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ContentTabE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10ContentTabE_t>.metaTypes,
    nullptr
} };

void ContentTab::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ContentTab *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->DeleteMe((*reinterpret_cast<std::add_pointer_t<ContentTab*>>(_a[1]))); break;
        case 1: _t->ZoomFactorChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 2: _t->ContentChanged(); break;
        case 3: _t->TabRenamed((*reinterpret_cast<std::add_pointer_t<ContentTab*>>(_a[1]))); break;
        case 4: _t->CentralTabRequest((*reinterpret_cast<std::add_pointer_t<ContentTab*>>(_a[1]))); break;
        case 5: _t->UpdateCursorPosition((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 6: _t->ClipboardSaveRequest(); break;
        case 7: _t->ClipboardRestoreRequest(); break;
        case 8: _t->SpellingHighlightRefreshRequest(); break;
        case 9: _t->InsertedFileOpenedExternally((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->InsertedFileSaveAs((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 11: _t->ShowStatusMessageRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->MarkSelectionRequest(); break;
        case 13: _t->ClearMarkedTextRequest(); break;
        case 14: _t->Close(); break;
        case 15: _t->SaveTabContent(); break;
        case 16: _t->LoadTabContent(); break;
        case 17: _t->EmitCentralTabRequest(); break;
        case 18: _t->ContentChangedExternally(); break;
        case 19: _t->ChangeCasing((*reinterpret_cast<std::add_pointer_t<Utility::Casing>>(_a[1]))); break;
        case 20: { bool _r = _t->GetResourceWasDeleted();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 21: _t->UnderlyingResourceDeleted(); break;
        case 22: _t->EmitDeleteMe(); break;
        case 23: _t->EmitTabRenamed(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ContentTab* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ContentTab* >(); 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< ContentTab* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(ContentTab * )>(_a, &ContentTab::DeleteMe, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(float )>(_a, &ContentTab::ZoomFactorChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)()>(_a, &ContentTab::ContentChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(ContentTab * )>(_a, &ContentTab::TabRenamed, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(ContentTab * )>(_a, &ContentTab::CentralTabRequest, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(int , int , int )>(_a, &ContentTab::UpdateCursorPosition, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)()>(_a, &ContentTab::ClipboardSaveRequest, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)()>(_a, &ContentTab::ClipboardRestoreRequest, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)()>(_a, &ContentTab::SpellingHighlightRefreshRequest, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(const QString & )>(_a, &ContentTab::InsertedFileOpenedExternally, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(const QUrl & )>(_a, &ContentTab::InsertedFileSaveAs, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)(const QString & )>(_a, &ContentTab::ShowStatusMessageRequest, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)()>(_a, &ContentTab::MarkSelectionRequest, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (ContentTab::*)()>(_a, &ContentTab::ClearMarkedTextRequest, 13))
            return;
    }
}

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

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

int ContentTab::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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    return _id;
}

// SIGNAL 0
void ContentTab::DeleteMe(ContentTab * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void ContentTab::ZoomFactorChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ContentTab::ContentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ContentTab::TabRenamed(ContentTab * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void ContentTab::CentralTabRequest(ContentTab * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void ContentTab::UpdateCursorPosition(int _t1, int _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3);
}

// SIGNAL 6
void ContentTab::ClipboardSaveRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void ContentTab::ClipboardRestoreRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void ContentTab::SpellingHighlightRefreshRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void ContentTab::InsertedFileOpenedExternally(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void ContentTab::InsertedFileSaveAs(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void ContentTab::ShowStatusMessageRequest(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void ContentTab::MarkSelectionRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void ContentTab::ClearMarkedTextRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}
QT_WARNING_POP
