/****************************************************************************
** Meta object code from reading C++ file 'skggraphicsview.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/skrooge-2.10.5/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.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_SKGGraphicsView_t {
    QByteArrayData data[33];
    char stringdata0[378];
};
#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, 8), // "setScene"
QT_MOC_LITERAL(4, 34, 15), // "QGraphicsScene*"
QT_MOC_LITERAL(5, 50, 6), // "iScene"
QT_MOC_LITERAL(6, 57, 12), // "graphicsView"
QT_MOC_LITERAL(7, 70, 14), // "QGraphicsView*"
QT_MOC_LITERAL(8, 85, 17), // "setToolBarVisible"
QT_MOC_LITERAL(9, 103, 11), // "iVisibility"
QT_MOC_LITERAL(10, 115, 16), // "isToolBarVisible"
QT_MOC_LITERAL(11, 132, 16), // "addToolbarWidget"
QT_MOC_LITERAL(12, 149, 8), // "QWidget*"
QT_MOC_LITERAL(13, 158, 7), // "iWidget"
QT_MOC_LITERAL(14, 166, 8), // "getState"
QT_MOC_LITERAL(15, 175, 8), // "setState"
QT_MOC_LITERAL(16, 184, 6), // "iState"
QT_MOC_LITERAL(17, 191, 17), // "getContextualMenu"
QT_MOC_LITERAL(18, 209, 6), // "QMenu*"
QT_MOC_LITERAL(19, 216, 6), // "onZoom"
QT_MOC_LITERAL(20, 223, 7), // "onPrint"
QT_MOC_LITERAL(21, 231, 12), // "exportInFile"
QT_MOC_LITERAL(22, 244, 9), // "iFileName"
QT_MOC_LITERAL(23, 254, 8), // "onExport"
QT_MOC_LITERAL(24, 263, 6), // "onCopy"
QT_MOC_LITERAL(25, 270, 25), // "onSwitchToolBarVisibility"
QT_MOC_LITERAL(26, 296, 15), // "setAntialiasing"
QT_MOC_LITERAL(27, 312, 13), // "iAntialiasing"
QT_MOC_LITERAL(28, 326, 14), // "initializeZoom"
QT_MOC_LITERAL(29, 341, 8), // "showMenu"
QT_MOC_LITERAL(30, 350, 4), // "iPos"
QT_MOC_LITERAL(31, 355, 5), // "state"
QT_MOC_LITERAL(32, 361, 16) // "m_toolBarVisible"

    },
    "SKGGraphicsView\0resized\0\0setScene\0"
    "QGraphicsScene*\0iScene\0graphicsView\0"
    "QGraphicsView*\0setToolBarVisible\0"
    "iVisibility\0isToolBarVisible\0"
    "addToolbarWidget\0QWidget*\0iWidget\0"
    "getState\0setState\0iState\0getContextualMenu\0"
    "QMenu*\0onZoom\0onPrint\0exportInFile\0"
    "iFileName\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
      18,   14, // methods
       2,  136, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

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

 // slots: name, argc, parameters, tag, flags
       3,    1,  105,    2, 0x0a /* Public */,
       6,    0,  108,    2, 0x0a /* Public */,
       8,    1,  109,    2, 0x0a /* Public */,
      10,    0,  112,    2, 0x0a /* Public */,
      11,    1,  113,    2, 0x0a /* Public */,
      14,    0,  116,    2, 0x0a /* Public */,
      15,    1,  117,    2, 0x0a /* Public */,
      17,    0,  120,    2, 0x0a /* Public */,
      19,    0,  121,    2, 0x0a /* Public */,
      20,    0,  122,    2, 0x0a /* Public */,
      21,    1,  123,    2, 0x0a /* Public */,
      23,    0,  126,    2, 0x0a /* Public */,
      24,    0,  127,    2, 0x0a /* Public */,
      25,    0,  128,    2, 0x0a /* Public */,
      26,    1,  129,    2, 0x0a /* Public */,
      28,    0,  132,    2, 0x0a /* Public */,
      29,    1,  133,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4,    5,
    0x80000000 | 7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Bool,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,   16,
    0x80000000 | 18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   27,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   30,

 // properties: name, type, flags
      31, QMetaType::QString, 0x00195103,
      32, 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->setScene((*reinterpret_cast< QGraphicsScene*(*)>(_a[1]))); break;
        case 2: { QGraphicsView* _r = _t->graphicsView();
            if (_a[0]) *reinterpret_cast< QGraphicsView**>(_a[0]) = std::move(_r); }  break;
        case 3: _t->setToolBarVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: { bool _r = _t->isToolBarVisible();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->addToolbarWidget((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 6: { QString _r = _t->getState();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setState((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: { QMenu* _r = _t->getContextualMenu();
            if (_a[0]) *reinterpret_cast< QMenu**>(_a[0]) = std::move(_r); }  break;
        case 9: _t->onZoom(); break;
        case 10: _t->onPrint(); break;
        case 11: _t->exportInFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->onExport(); break;
        case 13: _t->onCopy(); break;
        case 14: _t->onSwitchToolBarVisibility(); break;
        case 15: _t->setAntialiasing((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->initializeZoom(); break;
        case 17: _t->showMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SKGGraphicsView::*_t)();
            if (*reinterpret_cast<_t *>(func) == 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 < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#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
