/****************************************************************************
** Meta object code from reading C++ file 'skggraphicsview.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/skrooge-2.12.0/skgbasegui/skggraphicsview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'skggraphicsview.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_SKGGraphicsView_t {
    QByteArrayData data[17];
    char stringdata0[187];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SKGGraphicsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SKGGraphicsView_t qt_meta_stringdata_SKGGraphicsView = {
    {
QT_MOC_LITERAL(0, 0, 15), // "SKGGraphicsView"
QT_MOC_LITERAL(1, 16, 7), // "resized"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 6), // "onZoom"
QT_MOC_LITERAL(4, 32, 7), // "onPrint"
QT_MOC_LITERAL(5, 40, 12), // "exportInFile"
QT_MOC_LITERAL(6, 53, 9), // "iFileName"
QT_MOC_LITERAL(7, 63, 8), // "onExport"
QT_MOC_LITERAL(8, 72, 6), // "onCopy"
QT_MOC_LITERAL(9, 79, 25), // "onSwitchToolBarVisibility"
QT_MOC_LITERAL(10, 105, 15), // "setAntialiasing"
QT_MOC_LITERAL(11, 121, 13), // "iAntialiasing"
QT_MOC_LITERAL(12, 135, 14), // "initializeZoom"
QT_MOC_LITERAL(13, 150, 8), // "showMenu"
QT_MOC_LITERAL(14, 159, 4), // "iPos"
QT_MOC_LITERAL(15, 164, 5), // "state"
QT_MOC_LITERAL(16, 170, 16) // "m_toolBarVisible"

    },
    "SKGGraphicsView\0resized\0\0onZoom\0onPrint\0"
    "exportInFile\0iFileName\0onExport\0onCopy\0"
    "onSwitchToolBarVisibility\0setAntialiasing\0"
    "iAntialiasing\0initializeZoom\0showMenu\0"
    "iPos\0state\0m_toolBarVisible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SKGGraphicsView[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       2,   80, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   65,    2, 0x0a /* Public */,
       4,    0,   66,    2, 0x0a /* Public */,
       5,    1,   67,    2, 0x0a /* Public */,
       7,    0,   70,    2, 0x0a /* Public */,
       8,    0,   71,    2, 0x0a /* Public */,
       9,    0,   72,    2, 0x0a /* Public */,
      10,    1,   73,    2, 0x0a /* Public */,
      12,    0,   76,    2, 0x0a /* Public */,
      13,    1,   77,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   14,

 // properties: name, type, flags
      15, QMetaType::QString, 0x00195103,
      16, QMetaType::Bool, 0x00095003,

       0        // eod
};

void SKGGraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SKGGraphicsView *_t = static_cast<SKGGraphicsView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->resized(); break;
        case 1: _t->onZoom(); break;
        case 2: _t->onPrint(); break;
        case 3: _t->exportInFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->onExport(); break;
        case 5: _t->onCopy(); break;
        case 6: _t->onSwitchToolBarVisibility(); break;
        case 7: _t->setAntialiasing((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->initializeZoom(); break;
        case 9: _t->showMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SKGGraphicsView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SKGGraphicsView::resized)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SKGGraphicsView *_t = static_cast<SKGGraphicsView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->getState(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isToolBarVisible(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SKGGraphicsView *_t = static_cast<SKGGraphicsView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setState(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setToolBarVisible(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject SKGGraphicsView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_SKGGraphicsView.data,
      qt_meta_data_SKGGraphicsView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SKGGraphicsView::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void SKGGraphicsView::resized()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
