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

#include "../src/kmag-17.12.3/kmagzoomview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kmagzoomview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KMagZoomView_t {
    QByteArrayData data[23];
    char stringdata0[212];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KMagZoomView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KMagZoomView_t qt_meta_stringdata_KMagZoomView = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KMagZoomView"
QT_MOC_LITERAL(1, 13, 7), // "setZoom"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 4), // "zoom"
QT_MOC_LITERAL(4, 27, 11), // "setRotation"
QT_MOC_LITERAL(5, 39, 8), // "rotation"
QT_MOC_LITERAL(6, 48, 12), // "setColorMode"
QT_MOC_LITERAL(7, 61, 4), // "mode"
QT_MOC_LITERAL(8, 66, 9), // "grabFrame"
QT_MOC_LITERAL(9, 76, 15), // "updateMouseView"
QT_MOC_LITERAL(10, 92, 11), // "followMouse"
QT_MOC_LITERAL(11, 104, 6), // "follow"
QT_MOC_LITERAL(12, 111, 11), // "showSelRect"
QT_MOC_LITERAL(13, 123, 4), // "show"
QT_MOC_LITERAL(14, 128, 13), // "setSelRectPos"
QT_MOC_LITERAL(15, 142, 4), // "rect"
QT_MOC_LITERAL(16, 147, 14), // "setRefreshRate"
QT_MOC_LITERAL(17, 162, 3), // "fps"
QT_MOC_LITERAL(18, 166, 9), // "showMouse"
QT_MOC_LITERAL(19, 176, 4), // "type"
QT_MOC_LITERAL(20, 181, 14), // "setFitToWindow"
QT_MOC_LITERAL(21, 196, 3), // "fit"
QT_MOC_LITERAL(22, 200, 11) // "fitToWindow"

    },
    "KMagZoomView\0setZoom\0\0zoom\0setRotation\0"
    "rotation\0setColorMode\0mode\0grabFrame\0"
    "updateMouseView\0followMouse\0follow\0"
    "showSelRect\0show\0setSelRectPos\0rect\0"
    "setRefreshRate\0fps\0showMouse\0type\0"
    "setFitToWindow\0fit\0fitToWindow"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KMagZoomView[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x0a /* Public */,
       1,    0,  107,    2, 0x2a /* Public | MethodCloned */,
       4,    1,  108,    2, 0x0a /* Public */,
       4,    0,  111,    2, 0x2a /* Public | MethodCloned */,
       6,    1,  112,    2, 0x0a /* Public */,
       6,    0,  115,    2, 0x2a /* Public | MethodCloned */,
       8,    0,  116,    2, 0x0a /* Public */,
       9,    0,  117,    2, 0x0a /* Public */,
      10,    1,  118,    2, 0x0a /* Public */,
      10,    0,  121,    2, 0x2a /* Public | MethodCloned */,
      12,    1,  122,    2, 0x0a /* Public */,
      12,    0,  125,    2, 0x2a /* Public | MethodCloned */,
      14,    1,  126,    2, 0x0a /* Public */,
      16,    1,  129,    2, 0x0a /* Public */,
      18,    1,  132,    2, 0x0a /* Public */,
      20,    1,  135,    2, 0x0a /* Public */,
      20,    0,  138,    2, 0x2a /* Public | MethodCloned */,
      22,    0,  139,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Float,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect,   15,
    QMetaType::Void, QMetaType::Float,   17,
    QMetaType::Bool, QMetaType::UInt,   19,
    QMetaType::Void, QMetaType::Bool,   21,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KMagZoomView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KMagZoomView *_t = static_cast<KMagZoomView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setZoom((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 1: _t->setZoom(); break;
        case 2: _t->setRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setRotation(); break;
        case 4: _t->setColorMode((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setColorMode(); break;
        case 6: _t->grabFrame(); break;
        case 7: _t->updateMouseView(); break;
        case 8: _t->followMouse((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->followMouse(); break;
        case 10: _t->showSelRect((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->showSelRect(); break;
        case 12: _t->setSelRectPos((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 13: _t->setRefreshRate((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 14: { bool _r = _t->showMouse((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->setFitToWindow((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->setFitToWindow(); break;
        case 17: _t->fitToWindow(); break;
        default: ;
        }
    }
}

const QMetaObject KMagZoomView::staticMetaObject = {
    { &QAbstractScrollArea::staticMetaObject, qt_meta_stringdata_KMagZoomView.data,
      qt_meta_data_KMagZoomView,  qt_static_metacall, nullptr, nullptr}
};


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

void *KMagZoomView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KMagZoomView.stringdata0))
        return static_cast<void*>(this);
    return QAbstractScrollArea::qt_metacast(_clname);
}

int KMagZoomView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractScrollArea::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 18;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
