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

#include "../src/kmag-17.08.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.2. 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[28];
    char stringdata0[291];
};
#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, 10), // "followBoth"
QT_MOC_LITERAL(13, 122, 11), // "followFocus"
QT_MOC_LITERAL(14, 134, 11), // "showSelRect"
QT_MOC_LITERAL(15, 146, 4), // "show"
QT_MOC_LITERAL(16, 151, 13), // "setSelRectPos"
QT_MOC_LITERAL(17, 165, 4), // "rect"
QT_MOC_LITERAL(18, 170, 14), // "setRefreshRate"
QT_MOC_LITERAL(19, 185, 3), // "fps"
QT_MOC_LITERAL(20, 189, 9), // "showMouse"
QT_MOC_LITERAL(21, 199, 4), // "type"
QT_MOC_LITERAL(22, 204, 14), // "setFitToWindow"
QT_MOC_LITERAL(23, 219, 3), // "fit"
QT_MOC_LITERAL(24, 223, 11), // "fitToWindow"
QT_MOC_LITERAL(25, 235, 12), // "focusChanged"
QT_MOC_LITERAL(26, 248, 35), // "QAccessibleClient::Accessible..."
QT_MOC_LITERAL(27, 284, 6) // "object"

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

static const uint qt_meta_data_KMagZoomView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x0a /* Public */,
       1,    0,  132,    2, 0x2a /* Public | MethodCloned */,
       4,    1,  133,    2, 0x0a /* Public */,
       4,    0,  136,    2, 0x2a /* Public | MethodCloned */,
       6,    1,  137,    2, 0x0a /* Public */,
       6,    0,  140,    2, 0x2a /* Public | MethodCloned */,
       8,    0,  141,    2, 0x0a /* Public */,
       9,    0,  142,    2, 0x0a /* Public */,
      10,    1,  143,    2, 0x0a /* Public */,
      10,    0,  146,    2, 0x2a /* Public | MethodCloned */,
      12,    1,  147,    2, 0x0a /* Public */,
      12,    0,  150,    2, 0x2a /* Public | MethodCloned */,
      13,    1,  151,    2, 0x0a /* Public */,
      13,    0,  154,    2, 0x2a /* Public | MethodCloned */,
      14,    1,  155,    2, 0x0a /* Public */,
      14,    0,  158,    2, 0x2a /* Public | MethodCloned */,
      16,    1,  159,    2, 0x0a /* Public */,
      18,    1,  162,    2, 0x0a /* Public */,
      20,    1,  165,    2, 0x0a /* Public */,
      22,    1,  168,    2, 0x0a /* Public */,
      22,    0,  171,    2, 0x2a /* Public | MethodCloned */,
      24,    0,  172,    2, 0x0a /* Public */,
      25,    1,  173,    2, 0x08 /* Private */,

 // 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,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect,   17,
    QMetaType::Void, QMetaType::Float,   19,
    QMetaType::Bool, QMetaType::UInt,   21,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 26,   27,

       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->followBoth((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->followBoth(); break;
        case 12: _t->followFocus((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->followFocus(); break;
        case 14: _t->showSelRect((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->showSelRect(); break;
        case 16: _t->setSelRectPos((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 17: _t->setRefreshRate((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 18: { bool _r = _t->showMouse((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->setFitToWindow((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->setFitToWindow(); break;
        case 21: _t->fitToWindow(); break;
        case 22: _t->focusChanged((*reinterpret_cast< const QAccessibleClient::AccessibleObject(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAccessibleClient::AccessibleObject >(); break;
            }
            break;
        }
    }
}

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 < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
