/****************************************************************************
** Meta object code from reading C++ file 'kig_part.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/kig-17.12.3/kig/kig_part.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kig_part.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_SetCoordinateSystemAction_t {
    QByteArrayData data[4];
    char stringdata0[47];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SetCoordinateSystemAction_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SetCoordinateSystemAction_t qt_meta_stringdata_SetCoordinateSystemAction = {
    {
QT_MOC_LITERAL(0, 0, 25), // "SetCoordinateSystemAction"
QT_MOC_LITERAL(1, 26, 13), // "slotActivated"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 5) // "index"

    },
    "SetCoordinateSystemAction\0slotActivated\0"
    "\0index"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SetCoordinateSystemAction[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,

       0        // eod
};

void SetCoordinateSystemAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SetCoordinateSystemAction *_t = static_cast<SetCoordinateSystemAction *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotActivated((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject SetCoordinateSystemAction::staticMetaObject = {
    { &KSelectAction::staticMetaObject, qt_meta_stringdata_SetCoordinateSystemAction.data,
      qt_meta_data_SetCoordinateSystemAction,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SetCoordinateSystemAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KSelectAction::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KigPart_t {
    QByteArrayData data[24];
    char stringdata0[334];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KigPart_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KigPart_t qt_meta_stringdata_KigPart = {
    {
QT_MOC_LITERAL(0, 0, 7), // "KigPart"
QT_MOC_LITERAL(1, 8, 14), // "recenterScreen"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 10), // "fileSaveAs"
QT_MOC_LITERAL(4, 35, 8), // "fileSave"
QT_MOC_LITERAL(5, 44, 9), // "filePrint"
QT_MOC_LITERAL(6, 54, 16), // "filePrintPreview"
QT_MOC_LITERAL(7, 71, 13), // "slotSelectAll"
QT_MOC_LITERAL(8, 85, 15), // "slotDeselectAll"
QT_MOC_LITERAL(9, 101, 19), // "slotInvertSelection"
QT_MOC_LITERAL(10, 121, 17), // "unplugActionLists"
QT_MOC_LITERAL(11, 139, 15), // "plugActionLists"
QT_MOC_LITERAL(12, 155, 13), // "deleteObjects"
QT_MOC_LITERAL(13, 169, 18), // "cancelConstruction"
QT_MOC_LITERAL(14, 188, 22), // "repeatLastConstruction"
QT_MOC_LITERAL(15, 211, 10), // "showHidden"
QT_MOC_LITERAL(16, 222, 8), // "newMacro"
QT_MOC_LITERAL(17, 231, 9), // "editTypes"
QT_MOC_LITERAL(18, 241, 13), // "browseHistory"
QT_MOC_LITERAL(19, 255, 10), // "toggleGrid"
QT_MOC_LITERAL(20, 266, 10), // "toggleAxes"
QT_MOC_LITERAL(21, 277, 17), // "toggleNightVision"
QT_MOC_LITERAL(22, 295, 15), // "setHistoryClean"
QT_MOC_LITERAL(23, 311, 22) // "setCoordinatePrecision"

    },
    "KigPart\0recenterScreen\0\0fileSaveAs\0"
    "fileSave\0filePrint\0filePrintPreview\0"
    "slotSelectAll\0slotDeselectAll\0"
    "slotInvertSelection\0unplugActionLists\0"
    "plugActionLists\0deleteObjects\0"
    "cancelConstruction\0repeatLastConstruction\0"
    "showHidden\0newMacro\0editTypes\0"
    "browseHistory\0toggleGrid\0toggleAxes\0"
    "toggleNightVision\0setHistoryClean\0"
    "setCoordinatePrecision"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KigPart[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,  125,    2, 0x0a /* Public */,
       4,    0,  126,    2, 0x0a /* Public */,
       5,    0,  127,    2, 0x0a /* Public */,
       6,    0,  128,    2, 0x0a /* Public */,
       7,    0,  129,    2, 0x0a /* Public */,
       8,    0,  130,    2, 0x0a /* Public */,
       9,    0,  131,    2, 0x0a /* Public */,
      10,    0,  132,    2, 0x0a /* Public */,
      11,    0,  133,    2, 0x0a /* Public */,
      12,    0,  134,    2, 0x0a /* Public */,
      13,    0,  135,    2, 0x0a /* Public */,
      14,    0,  136,    2, 0x0a /* Public */,
      15,    0,  137,    2, 0x0a /* Public */,
      16,    0,  138,    2, 0x0a /* Public */,
      17,    0,  139,    2, 0x0a /* Public */,
      18,    0,  140,    2, 0x0a /* Public */,
      19,    0,  141,    2, 0x0a /* Public */,
      20,    0,  142,    2, 0x0a /* Public */,
      21,    0,  143,    2, 0x0a /* Public */,
      22,    1,  144,    2, 0x0a /* Public */,
      23,    0,  147,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,

       0        // eod
};

void KigPart::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KigPart *_t = static_cast<KigPart *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->recenterScreen(); break;
        case 1: _t->fileSaveAs(); break;
        case 2: _t->fileSave(); break;
        case 3: _t->filePrint(); break;
        case 4: _t->filePrintPreview(); break;
        case 5: _t->slotSelectAll(); break;
        case 6: _t->slotDeselectAll(); break;
        case 7: _t->slotInvertSelection(); break;
        case 8: _t->unplugActionLists(); break;
        case 9: _t->plugActionLists(); break;
        case 10: _t->deleteObjects(); break;
        case 11: _t->cancelConstruction(); break;
        case 12: _t->repeatLastConstruction(); break;
        case 13: _t->showHidden(); break;
        case 14: _t->newMacro(); break;
        case 15: _t->editTypes(); break;
        case 16: _t->browseHistory(); break;
        case 17: _t->toggleGrid(); break;
        case 18: _t->toggleAxes(); break;
        case 19: _t->toggleNightVision(); break;
        case 20: _t->setHistoryClean((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->setCoordinatePrecision(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KigPart::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KigPart::recenterScreen)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KigPart::staticMetaObject = {
    { &KParts::ReadWritePart::staticMetaObject, qt_meta_stringdata_KigPart.data,
      qt_meta_data_KigPart,  qt_static_metacall, nullptr, nullptr}
};


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

void *KigPart::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KigPart.stringdata0))
        return static_cast<void*>(this);
    return KParts::ReadWritePart::qt_metacast(_clname);
}

int KigPart::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KParts::ReadWritePart::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
    return _id;
}

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