/****************************************************************************
** Meta object code from reading C++ file 'interface.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../ksanecore-26.08.0/src/interface.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'interface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN9KSaneCore9InterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto KSaneCore::Interface::qt_create_metaobjectdata<qt_meta_tag_ZN9KSaneCore9InterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KSaneCore::Interface",
        "scannedImageReady",
        "",
        "QImage",
        "scannedImage",
        "previewImageReady",
        "previewImage",
        "scanFinished",
        "KSaneCore::Interface::ScanStatus",
        "status",
        "strStatus",
        "previewScanFinished",
        "userMessage",
        "scanProgress",
        "percent",
        "previewProgress",
        "availableDevices",
        "QList<DeviceInformation*>",
        "deviceList",
        "buttonPressed",
        "optionName",
        "optionLabel",
        "pressed",
        "batchModeCountDown",
        "remainingSeconds",
        "stopScan",
        "startScan",
        "startPreviewScan"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'scannedImageReady'
        QtMocHelpers::SignalData<void(const QImage &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'previewImageReady'
        QtMocHelpers::SignalData<void(const QImage &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 6 },
        }}),
        // Signal 'scanFinished'
        QtMocHelpers::SignalData<void(KSaneCore::Interface::ScanStatus, const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::QString, 10 },
        }}),
        // Signal 'previewScanFinished'
        QtMocHelpers::SignalData<void(KSaneCore::Interface::ScanStatus, const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::QString, 10 },
        }}),
        // Signal 'userMessage'
        QtMocHelpers::SignalData<void(KSaneCore::Interface::ScanStatus, const QString &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::QString, 10 },
        }}),
        // Signal 'scanProgress'
        QtMocHelpers::SignalData<void(int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Signal 'previewProgress'
        QtMocHelpers::SignalData<void(int)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Signal 'availableDevices'
        QtMocHelpers::SignalData<void(const QList<DeviceInformation*> &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Signal 'buttonPressed'
        QtMocHelpers::SignalData<void(const QString &, const QString &, bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { QMetaType::QString, 21 }, { QMetaType::Bool, 22 },
        }}),
        // Signal 'batchModeCountDown'
        QtMocHelpers::SignalData<void(int)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 24 },
        }}),
        // Slot 'stopScan'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startScan'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startPreviewScan'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Interface, qt_meta_tag_ZN9KSaneCore9InterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KSaneCore::Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9KSaneCore9InterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9KSaneCore9InterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9KSaneCore9InterfaceE_t>.metaTypes,
    nullptr
} };

void KSaneCore::Interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Interface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->scannedImageReady((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1]))); break;
        case 1: _t->previewImageReady((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1]))); break;
        case 2: _t->scanFinished((*reinterpret_cast<std::add_pointer_t<KSaneCore::Interface::ScanStatus>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->previewScanFinished((*reinterpret_cast<std::add_pointer_t<KSaneCore::Interface::ScanStatus>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 4: _t->userMessage((*reinterpret_cast<std::add_pointer_t<KSaneCore::Interface::ScanStatus>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 5: _t->scanProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->previewProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->availableDevices((*reinterpret_cast<std::add_pointer_t<QList<DeviceInformation*>>>(_a[1]))); break;
        case 8: _t->buttonPressed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 9: _t->batchModeCountDown((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->stopScan(); break;
        case 11: _t->startScan(); break;
        case 12: _t->startPreviewScan(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(const QImage & )>(_a, &Interface::scannedImageReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(const QImage & )>(_a, &Interface::previewImageReady, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(KSaneCore::Interface::ScanStatus , const QString & )>(_a, &Interface::scanFinished, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(KSaneCore::Interface::ScanStatus , const QString & )>(_a, &Interface::previewScanFinished, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(KSaneCore::Interface::ScanStatus , const QString & )>(_a, &Interface::userMessage, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(int )>(_a, &Interface::scanProgress, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(int )>(_a, &Interface::previewProgress, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(const QList<DeviceInformation*> & )>(_a, &Interface::availableDevices, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(const QString & , const QString & , bool )>(_a, &Interface::buttonPressed, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Interface::*)(int )>(_a, &Interface::batchModeCountDown, 9))
            return;
    }
}

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

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

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

// SIGNAL 0
void KSaneCore::Interface::scannedImageReady(const QImage & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KSaneCore::Interface::previewImageReady(const QImage & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KSaneCore::Interface::scanFinished(KSaneCore::Interface::ScanStatus _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void KSaneCore::Interface::previewScanFinished(KSaneCore::Interface::ScanStatus _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

// SIGNAL 4
void KSaneCore::Interface::userMessage(KSaneCore::Interface::ScanStatus _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void KSaneCore::Interface::scanProgress(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void KSaneCore::Interface::previewProgress(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void KSaneCore::Interface::availableDevices(const QList<DeviceInformation*> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void KSaneCore::Interface::buttonPressed(const QString & _t1, const QString & _t2, bool _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1, _t2, _t3);
}

// SIGNAL 9
void KSaneCore::Interface::batchModeCountDown(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
