/****************************************************************************
** Meta object code from reading C++ file 'Skanpage.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 "../../../../skanpage-26.04.2/src/Skanpage.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 'Skanpage.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_ZN8SkanpageE_t {};
} // unnamed namespace

template <> constexpr inline auto Skanpage::qt_create_metaobjectdata<qt_meta_tag_ZN8SkanpageE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Skanpage",
        "progressChanged",
        "",
        "progress",
        "countDownChanged",
        "remainingSeconds",
        "optionsChanged",
        "applicationStateChanged",
        "ApplicationState",
        "state",
        "deviceInfoUpdated",
        "scanAreaChanged",
        "QRectF",
        "area",
        "scanSplitChanged",
        "ScanSplit",
        "split",
        "scanSubAreasChanged",
        "QList<QRectF>",
        "subAreas",
        "previewImageChanged",
        "QImage",
        "preview",
        "newUserMessage",
        "QVariant",
        "level",
        "message",
        "imageReady",
        "image",
        "previewImageReady",
        "availableDevices",
        "QList<KSaneCore::DeviceInformation*>",
        "deviceList",
        "showKSaneMessage",
        "KSaneCore::Interface::ScanStatus",
        "type",
        "strStatus",
        "showUserMessage",
        "SkanpageUtils::MessageLevel",
        "progressUpdated",
        "batchModeCountDown",
        "scanningFinished",
        "status",
        "checkFinish",
        "previewScan",
        "startScan",
        "cancelScan",
        "reloadDevicesList",
        "openDevice",
        "deviceName",
        "deviceVendor",
        "deviceModel",
        "print",
        "registerAction",
        "item",
        "shortcuts",
        "iconText",
        "showShortcutsDialog",
        "clearSubAreas",
        "eraseSubArea",
        "index",
        "appendSubArea",
        "selectSubArea",
        "importFile",
        "QUrl",
        "fileUrl",
        "countDown",
        "documentModel",
        "DocumentModel*",
        "devicesModel",
        "DevicesModel*",
        "formatModel",
        "FormatModel*",
        "optionsModel",
        "FilteredOptionsModel*",
        "languageModel",
        "OCRLanguageModel*",
        "configuration",
        "SkanpageConfiguration*",
        "stateConfiguration",
        "SkanpageState*",
        "applicationState",
        "nameTemplate",
        "NameTemplateUtils*",
        "scanArea",
        "scanSplit",
        "scanSubAreas",
        "previewImage",
        "previewImageAvailable",
        "ScanInProgress",
        "ReadyForScan",
        "DeviceSelection",
        "SearchingForDevices",
        "NoDeviceOpened",
        "ScanNotSplit",
        "ScanIsSplitH",
        "ScanIsSplitV"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'progressChanged'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'countDownChanged'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 },
        }}),
        // Signal 'optionsChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'applicationStateChanged'
        QtMocHelpers::SignalData<void(enum ApplicationState)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'deviceInfoUpdated'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'scanAreaChanged'
        QtMocHelpers::SignalData<void(const QRectF &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Signal 'scanSplitChanged'
        QtMocHelpers::SignalData<void(enum ScanSplit)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Signal 'scanSubAreasChanged'
        QtMocHelpers::SignalData<void(const QList<QRectF> &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Signal 'previewImageChanged'
        QtMocHelpers::SignalData<void(const QImage &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Signal 'newUserMessage'
        QtMocHelpers::SignalData<void(const QVariant &, const QVariant &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 }, { 0x80000000 | 24, 26 },
        }}),
        // Slot 'imageReady'
        QtMocHelpers::SlotData<void(const QImage &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 21, 28 },
        }}),
        // Slot 'previewImageReady'
        QtMocHelpers::SlotData<void(const QImage &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 21, 28 },
        }}),
        // Slot 'availableDevices'
        QtMocHelpers::SlotData<void(const QList<KSaneCore::DeviceInformation*> &)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'showKSaneMessage'
        QtMocHelpers::SlotData<void(KSaneCore::Interface::ScanStatus, const QString &)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 34, 35 }, { QMetaType::QString, 36 },
        }}),
        // Slot 'showUserMessage'
        QtMocHelpers::SlotData<void(SkanpageUtils::MessageLevel, const QString &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 38, 25 }, { QMetaType::QString, 36 },
        }}),
        // Slot 'progressUpdated'
        QtMocHelpers::SlotData<void(int)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'batchModeCountDown'
        QtMocHelpers::SlotData<void(int)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 5 },
        }}),
        // Slot 'scanningFinished'
        QtMocHelpers::SlotData<void(KSaneCore::Interface::ScanStatus, const QString &)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 34, 42 }, { QMetaType::QString, 36 },
        }}),
        // Slot 'checkFinish'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Method 'previewScan'
        QtMocHelpers::MethodData<void()>(44, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'startScan'
        QtMocHelpers::MethodData<void()>(45, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'cancelScan'
        QtMocHelpers::MethodData<void()>(46, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'reloadDevicesList'
        QtMocHelpers::MethodData<void()>(47, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'openDevice'
        QtMocHelpers::MethodData<bool(const QString &, const QString &, const QString &)>(48, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 49 }, { QMetaType::QString, 50 }, { QMetaType::QString, 51 },
        }}),
        // Method 'openDevice'
        QtMocHelpers::MethodData<bool(const QString &, const QString &)>(48, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { QMetaType::QString, 49 }, { QMetaType::QString, 50 },
        }}),
        // Method 'openDevice'
        QtMocHelpers::MethodData<bool(const QString &)>(48, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { QMetaType::QString, 49 },
        }}),
        // Method 'print'
        QtMocHelpers::MethodData<void()>(52, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'registerAction'
        QtMocHelpers::MethodData<void(QObject *, QObject *, const QString &)>(53, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 54 }, { QMetaType::QObjectStar, 55 }, { QMetaType::QString, 56 },
        }}),
        // Method 'showShortcutsDialog'
        QtMocHelpers::MethodData<void()>(57, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'clearSubAreas'
        QtMocHelpers::MethodData<void()>(58, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'eraseSubArea'
        QtMocHelpers::MethodData<void(int)>(59, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 60 },
        }}),
        // Method 'appendSubArea'
        QtMocHelpers::MethodData<bool(QRectF)>(61, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Method 'selectSubArea'
        QtMocHelpers::MethodData<void(int)>(62, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 60 },
        }}),
        // Method 'importFile'
        QtMocHelpers::MethodData<void(const QUrl &)>(63, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 64, 65 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'progress'
        QtMocHelpers::PropertyData<int>(3, QMetaType::Int, QMC::DefaultPropertyFlags, 0),
        // property 'countDown'
        QtMocHelpers::PropertyData<int>(66, QMetaType::Int, QMC::DefaultPropertyFlags, 1),
        // property 'documentModel'
        QtMocHelpers::PropertyData<DocumentModel*>(67, 0x80000000 | 68, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'devicesModel'
        QtMocHelpers::PropertyData<DevicesModel*>(69, 0x80000000 | 70, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'formatModel'
        QtMocHelpers::PropertyData<FormatModel*>(71, 0x80000000 | 72, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'optionsModel'
        QtMocHelpers::PropertyData<FilteredOptionsModel*>(73, 0x80000000 | 74, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'languageModel'
        QtMocHelpers::PropertyData<OCRLanguageModel*>(75, 0x80000000 | 76, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'configuration'
        QtMocHelpers::PropertyData<SkanpageConfiguration*>(77, 0x80000000 | 78, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'stateConfiguration'
        QtMocHelpers::PropertyData<SkanpageState*>(79, 0x80000000 | 80, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'applicationState'
        QtMocHelpers::PropertyData<enum ApplicationState>(81, 0x80000000 | 8, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 3),
        // property 'nameTemplate'
        QtMocHelpers::PropertyData<NameTemplateUtils*>(82, 0x80000000 | 83, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'deviceVendor'
        QtMocHelpers::PropertyData<QString>(50, QMetaType::QString, QMC::DefaultPropertyFlags, 4),
        // property 'deviceModel'
        QtMocHelpers::PropertyData<QString>(51, QMetaType::QString, QMC::DefaultPropertyFlags, 4),
        // property 'deviceName'
        QtMocHelpers::PropertyData<QString>(49, QMetaType::QString, QMC::DefaultPropertyFlags, 4),
        // property 'scanArea'
        QtMocHelpers::PropertyData<QRectF>(84, 0x80000000 | 12, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 5),
        // property 'scanSplit'
        QtMocHelpers::PropertyData<enum ScanSplit>(85, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 6),
        // property 'scanSubAreas'
        QtMocHelpers::PropertyData<QList<QRectF>>(86, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 7),
        // property 'previewImage'
        QtMocHelpers::PropertyData<QImage>(87, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 8),
        // property 'previewImageAvailable'
        QtMocHelpers::PropertyData<bool>(88, QMetaType::Bool, QMC::DefaultPropertyFlags, 8),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'ApplicationState'
        QtMocHelpers::EnumData<enum ApplicationState>(8, 8, QMC::EnumFlags{}).add({
            {   89, ApplicationState::ScanInProgress },
            {   90, ApplicationState::ReadyForScan },
            {   91, ApplicationState::DeviceSelection },
            {   92, ApplicationState::SearchingForDevices },
            {   93, ApplicationState::NoDeviceOpened },
        }),
        // enum 'ScanSplit'
        QtMocHelpers::EnumData<enum ScanSplit>(15, 15, QMC::EnumFlags{}).add({
            {   94, ScanSplit::ScanNotSplit },
            {   95, ScanSplit::ScanIsSplitH },
            {   96, ScanSplit::ScanIsSplitV },
        }),
    };
    return QtMocHelpers::metaObjectData<Skanpage, qt_meta_tag_ZN8SkanpageE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Skanpage::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8SkanpageE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8SkanpageE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8SkanpageE_t>.metaTypes,
    nullptr
} };

void Skanpage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Skanpage *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->progressChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->countDownChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->optionsChanged(); break;
        case 3: _t->applicationStateChanged((*reinterpret_cast<std::add_pointer_t<enum ApplicationState>>(_a[1]))); break;
        case 4: _t->deviceInfoUpdated(); break;
        case 5: _t->scanAreaChanged((*reinterpret_cast<std::add_pointer_t<QRectF>>(_a[1]))); break;
        case 6: _t->scanSplitChanged((*reinterpret_cast<std::add_pointer_t<enum ScanSplit>>(_a[1]))); break;
        case 7: _t->scanSubAreasChanged((*reinterpret_cast<std::add_pointer_t<QList<QRectF>>>(_a[1]))); break;
        case 8: _t->previewImageChanged((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1]))); break;
        case 9: _t->newUserMessage((*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2]))); break;
        case 10: _t->imageReady((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1]))); break;
        case 11: _t->previewImageReady((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1]))); break;
        case 12: _t->availableDevices((*reinterpret_cast<std::add_pointer_t<QList<KSaneCore::DeviceInformation*>>>(_a[1]))); break;
        case 13: _t->showKSaneMessage((*reinterpret_cast<std::add_pointer_t<KSaneCore::Interface::ScanStatus>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 14: _t->showUserMessage((*reinterpret_cast<std::add_pointer_t<SkanpageUtils::MessageLevel>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 15: _t->progressUpdated((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->batchModeCountDown((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->scanningFinished((*reinterpret_cast<std::add_pointer_t<KSaneCore::Interface::ScanStatus>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 18: _t->checkFinish(); break;
        case 19: _t->previewScan(); break;
        case 20: _t->startScan(); break;
        case 21: _t->cancelScan(); break;
        case 22: _t->reloadDevicesList(); break;
        case 23: { bool _r = _t->openDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 24: { bool _r = _t->openDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 25: { bool _r = _t->openDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 26: _t->print(); break;
        case 27: _t->registerAction((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 28: _t->showShortcutsDialog(); break;
        case 29: _t->clearSubAreas(); break;
        case 30: _t->eraseSubArea((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 31: { bool _r = _t->appendSubArea((*reinterpret_cast<std::add_pointer_t<QRectF>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 32: _t->selectSubArea((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 33: _t->importFile((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); 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< SkanpageUtils::MessageLevel >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(int )>(_a, &Skanpage::progressChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(int )>(_a, &Skanpage::countDownChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)()>(_a, &Skanpage::optionsChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(ApplicationState )>(_a, &Skanpage::applicationStateChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)()>(_a, &Skanpage::deviceInfoUpdated, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(const QRectF & )>(_a, &Skanpage::scanAreaChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(ScanSplit )>(_a, &Skanpage::scanSplitChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(const QList<QRectF> & )>(_a, &Skanpage::scanSubAreasChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(const QImage & )>(_a, &Skanpage::previewImageChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Skanpage::*)(const QVariant & , const QVariant & )>(_a, &Skanpage::newUserMessage, 9))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DevicesModel* >(); break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DocumentModel* >(); break;
        case 5:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FilteredOptionsModel* >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FormatModel* >(); break;
        case 10:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< NameTemplateUtils* >(); break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< OCRLanguageModel* >(); break;
        case 7:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SkanpageConfiguration* >(); break;
        case 8:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SkanpageState* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->progress(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->countDown(); break;
        case 2: *reinterpret_cast<DocumentModel**>(_v) = _t->documentModel(); break;
        case 3: *reinterpret_cast<DevicesModel**>(_v) = _t->devicesModel(); break;
        case 4: *reinterpret_cast<FormatModel**>(_v) = _t->formatModel(); break;
        case 5: *reinterpret_cast<FilteredOptionsModel**>(_v) = _t->optionsModel(); break;
        case 6: *reinterpret_cast<OCRLanguageModel**>(_v) = _t->languageModel(); break;
        case 7: *reinterpret_cast<SkanpageConfiguration**>(_v) = _t->configuration(); break;
        case 8: *reinterpret_cast<SkanpageState**>(_v) = _t->stateConfiguration(); break;
        case 9: *reinterpret_cast<enum ApplicationState*>(_v) = _t->applicationState(); break;
        case 10: *reinterpret_cast<NameTemplateUtils**>(_v) = _t->nameTemplate(); break;
        case 11: *reinterpret_cast<QString*>(_v) = _t->deviceVendor(); break;
        case 12: *reinterpret_cast<QString*>(_v) = _t->deviceModel(); break;
        case 13: *reinterpret_cast<QString*>(_v) = _t->deviceName(); break;
        case 14: *reinterpret_cast<QRectF*>(_v) = _t->scanArea(); break;
        case 15: *reinterpret_cast<enum ScanSplit*>(_v) = _t->scanSplit(); break;
        case 16: *reinterpret_cast<QList<QRectF>*>(_v) = _t->scanSubAreas(); break;
        case 17: *reinterpret_cast<QImage*>(_v) = _t->previewImage(); break;
        case 18: *reinterpret_cast<bool*>(_v) = _t->previewImageAvailable(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 14: _t->setScanArea(*reinterpret_cast<QRectF*>(_v)); break;
        case 15: _t->setScanSplit(*reinterpret_cast<enum ScanSplit*>(_v)); break;
        default: break;
        }
    }
}

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

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

int Skanpage::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 < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void Skanpage::progressChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Skanpage::countDownChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void Skanpage::applicationStateChanged(ApplicationState _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Skanpage::deviceInfoUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Skanpage::scanAreaChanged(const QRectF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Skanpage::scanSplitChanged(ScanSplit _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Skanpage::scanSubAreasChanged(const QList<QRectF> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Skanpage::previewImageChanged(const QImage & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void Skanpage::newUserMessage(const QVariant & _t1, const QVariant & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1, _t2);
}
QT_WARNING_POP
