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

#include <memory>
#include "parstore.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'parstore.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_ParStore_t {
    QByteArrayData data[26];
    char stringdata0[265];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ParStore_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ParStore_t qt_meta_stringdata_ParStore = {
    {
QT_MOC_LITERAL(0, 0, 8), // "ParStore"
QT_MOC_LITERAL(1, 9, 5), // "store"
QT_MOC_LITERAL(2, 15, 0), // ""
QT_MOC_LITERAL(3, 16, 2), // "ix"
QT_MOC_LITERAL(4, 19, 5), // "empty"
QT_MOC_LITERAL(5, 25, 7), // "restore"
QT_MOC_LITERAL(6, 33, 14), // "mapJumpToGroup"
QT_MOC_LITERAL(7, 48, 8), // "QAction*"
QT_MOC_LITERAL(8, 57, 6), // "action"
QT_MOC_LITERAL(9, 64, 12), // "mapNRepGroup"
QT_MOC_LITERAL(10, 77, 13), // "updateRunOnce"
QT_MOC_LITERAL(11, 91, 8), // "location"
QT_MOC_LITERAL(12, 100, 6), // "choice"
QT_MOC_LITERAL(13, 107, 10), // "updateNRep"
QT_MOC_LITERAL(14, 118, 4), // "nrep"
QT_MOC_LITERAL(15, 123, 11), // "addLocation"
QT_MOC_LITERAL(16, 135, 14), // "removeLocation"
QT_MOC_LITERAL(17, 150, 16), // "mapRestoreSignal"
QT_MOC_LITERAL(18, 167, 14), // "mapStoreSignal"
QT_MOC_LITERAL(19, 182, 12), // "setDispState"
QT_MOC_LITERAL(20, 195, 8), // "selected"
QT_MOC_LITERAL(21, 204, 16), // "requestDispState"
QT_MOC_LITERAL(22, 221, 18), // "showLocContextMenu"
QT_MOC_LITERAL(23, 240, 3), // "pos"
QT_MOC_LITERAL(24, 244, 17), // "updateOnlyPattern"
QT_MOC_LITERAL(25, 262, 2) // "on"

    },
    "ParStore\0store\0\0ix\0empty\0restore\0"
    "mapJumpToGroup\0QAction*\0action\0"
    "mapNRepGroup\0updateRunOnce\0location\0"
    "choice\0updateNRep\0nrep\0addLocation\0"
    "removeLocation\0mapRestoreSignal\0"
    "mapStoreSignal\0setDispState\0selected\0"
    "requestDispState\0showLocContextMenu\0"
    "pos\0updateOnlyPattern\0on"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ParStore[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   84,    2, 0x06 /* Public */,
       5,    1,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   92,    2, 0x0a /* Public */,
       9,    1,   95,    2, 0x0a /* Public */,
      10,    2,   98,    2, 0x0a /* Public */,
      13,    2,  103,    2, 0x0a /* Public */,
      15,    0,  108,    2, 0x0a /* Public */,
      16,    1,  109,    2, 0x0a /* Public */,
      17,    0,  112,    2, 0x0a /* Public */,
      18,    0,  113,    2, 0x0a /* Public */,
      19,    2,  114,    2, 0x0a /* Public */,
      21,    2,  119,    2, 0x0a /* Public */,
      22,    1,  124,    2, 0x0a /* Public */,
      24,    1,  127,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::Int,    3,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   11,   12,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   11,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,   20,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,   20,
    QMetaType::Void, QMetaType::QPoint,   23,
    QMetaType::Void, QMetaType::Bool,   25,

       0        // eod
};

void ParStore::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ParStore *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->store((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->restore((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->mapJumpToGroup((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 3: _t->mapNRepGroup((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 4: _t->updateRunOnce((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->updateNRep((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->addLocation(); break;
        case 7: _t->removeLocation((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->mapRestoreSignal(); break;
        case 9: _t->mapStoreSignal(); break;
        case 10: _t->setDispState((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->requestDispState((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->showLocContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 13: _t->updateOnlyPattern((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ParStore::*)(int , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ParStore::store)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ParStore::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ParStore::restore)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ParStore::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_ParStore.data,
    qt_meta_data_ParStore,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int ParStore::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void ParStore::store(int _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void ParStore::restore(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
