/****************************************************************************
** Meta object code from reading C++ file 'kmreaderwin.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 "../../../../kmail-26.04.0/src/kmreaderwin.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 'kmreaderwin.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_ZN11KMReaderWinE_t {};
} // unnamed namespace

template <> constexpr inline auto KMReaderWin::qt_create_metaobjectdata<qt_meta_tag_ZN11KMReaderWinE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KMReaderWin",
        "showStatusBarMessage",
        "",
        "message",
        "zoomChanged",
        "factor",
        "showPreviousMessage",
        "showNextMessage",
        "zoomChangeRequested",
        "zoom",
        "slotFind",
        "slotCopySelectedText",
        "slotMailtoReply",
        "slotMailtoCompose",
        "slotMailtoForward",
        "slotMailtoAddAddrBook",
        "slotMailtoOpenAddrBook",
        "slotUrlSave",
        "slotAddUrlToBookmark",
        "slotUrlClicked",
        "Akonadi::Item",
        "QUrl",
        "slotShowReader",
        "KMime::Content*",
        "html",
        "slotShowMessage",
        "std::shared_ptr<KMime::Message>",
        "encoding",
        "slotDeleteMessage",
        "slotSaveImageOnDisk",
        "slotPrintComposeResult",
        "KJob*",
        "job",
        "slotEditContact",
        "contactStored",
        "item",
        "slotContactEditorError",
        "error",
        "slotContactHtmlOptions",
        "slotShareImage",
        "slotMailToAddToExistingContact",
        "slotPrintingFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'showStatusBarMessage'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'zoomChanged'
        QtMocHelpers::SignalData<void(qreal)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 5 },
        }}),
        // Signal 'showPreviousMessage'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showNextMessage'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'zoomChangeRequested'
        QtMocHelpers::SignalData<void(qreal)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 9 },
        }}),
        // Slot 'slotFind'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCopySelectedText'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotMailtoReply'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotMailtoCompose'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotMailtoForward'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotMailtoAddAddrBook'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotMailtoOpenAddrBook'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotUrlSave'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotAddUrlToBookmark'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotUrlClicked'
        QtMocHelpers::SlotData<void(const Akonadi::Item &, const QUrl &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 2 }, { 0x80000000 | 21, 2 },
        }}),
        // Slot 'slotShowReader'
        QtMocHelpers::SlotData<void(KMime::Content *, bool, const QString &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 2 }, { QMetaType::Bool, 24 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'slotShowMessage'
        QtMocHelpers::SlotData<void(const std::shared_ptr<KMime::Message> &, const QString &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 26, 3 }, { QMetaType::QString, 27 },
        }}),
        // Slot 'slotDeleteMessage'
        QtMocHelpers::SlotData<void(const Akonadi::Item &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 2 },
        }}),
        // Slot 'slotSaveImageOnDisk'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotPrintComposeResult'
        QtMocHelpers::SlotData<void(KJob *)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'slotEditContact'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'contactStored'
        QtMocHelpers::SlotData<void(const Akonadi::Item &)>(34, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 35 },
        }}),
        // Slot 'slotContactEditorError'
        QtMocHelpers::SlotData<void(const QString &)>(36, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 37 },
        }}),
        // Slot 'slotContactHtmlOptions'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotShareImage'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotMailToAddToExistingContact'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotPrintingFinished'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KMReaderWin, qt_meta_tag_ZN11KMReaderWinE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KMReaderWin::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11KMReaderWinE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11KMReaderWinE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11KMReaderWinE_t>.metaTypes,
    nullptr
} };

void KMReaderWin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KMReaderWin *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->showStatusBarMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->zoomChanged((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 2: _t->showPreviousMessage(); break;
        case 3: _t->showNextMessage(); break;
        case 4: _t->zoomChangeRequested((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 5: _t->slotFind(); break;
        case 6: _t->slotCopySelectedText(); break;
        case 7: _t->slotMailtoReply(); break;
        case 8: _t->slotMailtoCompose(); break;
        case 9: _t->slotMailtoForward(); break;
        case 10: _t->slotMailtoAddAddrBook(); break;
        case 11: _t->slotMailtoOpenAddrBook(); break;
        case 12: _t->slotUrlSave(); break;
        case 13: _t->slotAddUrlToBookmark(); break;
        case 14: _t->slotUrlClicked((*reinterpret_cast<std::add_pointer_t<Akonadi::Item>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 15: _t->slotShowReader((*reinterpret_cast<std::add_pointer_t<KMime::Content*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 16: _t->slotShowMessage((*reinterpret_cast<std::add_pointer_t<std::shared_ptr<KMime::Message>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 17: _t->slotDeleteMessage((*reinterpret_cast<std::add_pointer_t<Akonadi::Item>>(_a[1]))); break;
        case 18: _t->slotSaveImageOnDisk(); break;
        case 19: _t->slotPrintComposeResult((*reinterpret_cast<std::add_pointer_t<KJob*>>(_a[1]))); break;
        case 20: _t->slotEditContact(); break;
        case 21: _t->contactStored((*reinterpret_cast<std::add_pointer_t<Akonadi::Item>>(_a[1]))); break;
        case 22: _t->slotContactEditorError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 23: _t->slotContactHtmlOptions(); break;
        case 24: _t->slotShareImage(); break;
        case 25: _t->slotMailToAddToExistingContact(); break;
        case 26: _t->slotPrintingFinished(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Akonadi::Item >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KMime::Content* >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< std::shared_ptr<KMime::Message> >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Akonadi::Item >(); break;
            }
            break;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KJob* >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Akonadi::Item >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KMReaderWin::*)(const QString & )>(_a, &KMReaderWin::showStatusBarMessage, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KMReaderWin::*)(qreal )>(_a, &KMReaderWin::zoomChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KMReaderWin::*)()>(_a, &KMReaderWin::showPreviousMessage, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (KMReaderWin::*)()>(_a, &KMReaderWin::showNextMessage, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (KMReaderWin::*)(qreal )>(_a, &KMReaderWin::zoomChangeRequested, 4))
            return;
    }
}

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

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

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

// SIGNAL 0
void KMReaderWin::showStatusBarMessage(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KMReaderWin::zoomChanged(qreal _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void KMReaderWin::showNextMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KMReaderWin::zoomChangeRequested(qreal _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
