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

#include "../../../../src/kexi-3.0.1/src/widget/undo/kundo2group.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kundo2group.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_KUndo2Group_t {
    QByteArrayData data[20];
    char stringdata0[221];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KUndo2Group_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KUndo2Group_t qt_meta_stringdata_KUndo2Group = {
    {
QT_MOC_LITERAL(0, 0, 11), // "KUndo2Group"
QT_MOC_LITERAL(1, 12, 18), // "activeStackChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 13), // "KUndo2QStack*"
QT_MOC_LITERAL(4, 46, 5), // "stack"
QT_MOC_LITERAL(5, 52, 12), // "indexChanged"
QT_MOC_LITERAL(6, 65, 3), // "idx"
QT_MOC_LITERAL(7, 69, 12), // "cleanChanged"
QT_MOC_LITERAL(8, 82, 5), // "clean"
QT_MOC_LITERAL(9, 88, 14), // "canUndoChanged"
QT_MOC_LITERAL(10, 103, 7), // "canUndo"
QT_MOC_LITERAL(11, 111, 14), // "canRedoChanged"
QT_MOC_LITERAL(12, 126, 7), // "canRedo"
QT_MOC_LITERAL(13, 134, 15), // "undoTextChanged"
QT_MOC_LITERAL(14, 150, 14), // "undoActionText"
QT_MOC_LITERAL(15, 165, 15), // "redoTextChanged"
QT_MOC_LITERAL(16, 181, 14), // "redoActionText"
QT_MOC_LITERAL(17, 196, 4), // "undo"
QT_MOC_LITERAL(18, 201, 4), // "redo"
QT_MOC_LITERAL(19, 206, 14) // "setActiveStack"

    },
    "KUndo2Group\0activeStackChanged\0\0"
    "KUndo2QStack*\0stack\0indexChanged\0idx\0"
    "cleanChanged\0clean\0canUndoChanged\0"
    "canUndo\0canRedoChanged\0canRedo\0"
    "undoTextChanged\0undoActionText\0"
    "redoTextChanged\0redoActionText\0undo\0"
    "redo\0setActiveStack"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KUndo2Group[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,
       7,    1,   70,    2, 0x06 /* Public */,
       9,    1,   73,    2, 0x06 /* Public */,
      11,    1,   76,    2, 0x06 /* Public */,
      13,    1,   79,    2, 0x06 /* Public */,
      15,    1,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    0,   85,    2, 0x0a /* Public */,
      18,    0,   86,    2, 0x0a /* Public */,
      19,    1,   87,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString,   16,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,

       0        // eod
};

void KUndo2Group::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KUndo2Group *_t = static_cast<KUndo2Group *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activeStackChanged((*reinterpret_cast< KUndo2QStack*(*)>(_a[1]))); break;
        case 1: _t->indexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->cleanChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->canUndoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->canRedoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->undoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->redoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->undo(); break;
        case 8: _t->redo(); break;
        case 9: _t->setActiveStack((*reinterpret_cast< KUndo2QStack*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KUndo2Group::*_t)(KUndo2QStack * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KUndo2Group::activeStackChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KUndo2Group::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KUndo2Group::indexChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KUndo2Group::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KUndo2Group::cleanChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KUndo2Group::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KUndo2Group::canUndoChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KUndo2Group::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KUndo2Group::canRedoChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KUndo2Group::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KUndo2Group::undoTextChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KUndo2Group::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KUndo2Group::redoTextChanged)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KUndo2Group::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KUndo2Group.data,
      qt_meta_data_KUndo2Group,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KUndo2Group::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KUndo2Group.stringdata0))
        return static_cast<void*>(const_cast< KUndo2Group*>(this));
    return QObject::qt_metacast(_clname);
}

int KUndo2Group::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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;
    }
    return _id;
}

// SIGNAL 0
void KUndo2Group::activeStackChanged(KUndo2QStack * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KUndo2Group::indexChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KUndo2Group::cleanChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KUndo2Group::canUndoChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KUndo2Group::canRedoChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KUndo2Group::undoTextChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KUndo2Group::redoTextChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_END_MOC_NAMESPACE
