/****************************************************************************
** Meta object code from reading C++ file 'KDbTableViewData.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/kdb-3.0.2/src/views/KDbTableViewData.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KDbTableViewData.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_KDbTableViewData_t {
    QByteArrayData data[27];
    char stringdata0[355];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDbTableViewData_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDbTableViewData_t qt_meta_stringdata_KDbTableViewData = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KDbTableViewData"
QT_MOC_LITERAL(1, 17, 10), // "destroying"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 17), // "aboutToChangeCell"
QT_MOC_LITERAL(4, 47, 14), // "KDbRecordData*"
QT_MOC_LITERAL(5, 62, 6), // "record"
QT_MOC_LITERAL(6, 69, 6), // "colnum"
QT_MOC_LITERAL(7, 76, 9), // "QVariant*"
QT_MOC_LITERAL(8, 86, 8), // "newValue"
QT_MOC_LITERAL(9, 95, 14), // "KDbResultInfo*"
QT_MOC_LITERAL(10, 110, 6), // "result"
QT_MOC_LITERAL(11, 117, 19), // "aboutToInsertRecord"
QT_MOC_LITERAL(12, 137, 7), // "repaint"
QT_MOC_LITERAL(13, 145, 19), // "aboutToUpdateRecord"
QT_MOC_LITERAL(14, 165, 20), // "KDbRecordEditBuffer*"
QT_MOC_LITERAL(15, 186, 6), // "buffer"
QT_MOC_LITERAL(16, 193, 13), // "recordUpdated"
QT_MOC_LITERAL(17, 207, 14), // "recordInserted"
QT_MOC_LITERAL(18, 222, 5), // "index"
QT_MOC_LITERAL(19, 228, 19), // "aboutToDeleteRecord"
QT_MOC_LITERAL(20, 248, 13), // "recordDeleted"
QT_MOC_LITERAL(21, 262, 14), // "recordsDeleted"
QT_MOC_LITERAL(22, 277, 10), // "QList<int>"
QT_MOC_LITERAL(23, 288, 15), // "recordsToDelete"
QT_MOC_LITERAL(24, 304, 15), // "reloadRequested"
QT_MOC_LITERAL(25, 320, 22), // "recordRepaintRequested"
QT_MOC_LITERAL(26, 343, 11) // "deleteLater"

    },
    "KDbTableViewData\0destroying\0\0"
    "aboutToChangeCell\0KDbRecordData*\0"
    "record\0colnum\0QVariant*\0newValue\0"
    "KDbResultInfo*\0result\0aboutToInsertRecord\0"
    "repaint\0aboutToUpdateRecord\0"
    "KDbRecordEditBuffer*\0buffer\0recordUpdated\0"
    "recordInserted\0index\0aboutToDeleteRecord\0"
    "recordDeleted\0recordsDeleted\0QList<int>\0"
    "recordsToDelete\0reloadRequested\0"
    "recordRepaintRequested\0deleteLater"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDbTableViewData[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    4,   80,    2, 0x06 /* Public */,
      11,    3,   89,    2, 0x06 /* Public */,
      13,    3,   96,    2, 0x06 /* Public */,
      16,    1,  103,    2, 0x06 /* Public */,
      17,    2,  106,    2, 0x06 /* Public */,
      17,    3,  111,    2, 0x06 /* Public */,
      19,    3,  118,    2, 0x06 /* Public */,
      20,    0,  125,    2, 0x06 /* Public */,
      21,    1,  126,    2, 0x06 /* Public */,
      24,    0,  129,    2, 0x06 /* Public */,
      25,    1,  130,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      26,    0,  133,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int, 0x80000000 | 7, 0x80000000 | 9,    5,    6,    8,   10,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 9, QMetaType::Bool,    5,   10,   12,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 14, 0x80000000 | 9,    5,   15,   10,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Bool,    2,   12,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int, QMetaType::Bool,    2,   18,   12,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 9, QMetaType::Bool,    5,   10,   12,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KDbTableViewData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KDbTableViewData *_t = static_cast<KDbTableViewData *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->destroying(); break;
        case 1: _t->aboutToChangeCell((*reinterpret_cast< KDbRecordData*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QVariant*(*)>(_a[3])),(*reinterpret_cast< KDbResultInfo*(*)>(_a[4]))); break;
        case 2: _t->aboutToInsertRecord((*reinterpret_cast< KDbRecordData*(*)>(_a[1])),(*reinterpret_cast< KDbResultInfo*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 3: _t->aboutToUpdateRecord((*reinterpret_cast< KDbRecordData*(*)>(_a[1])),(*reinterpret_cast< KDbRecordEditBuffer*(*)>(_a[2])),(*reinterpret_cast< KDbResultInfo*(*)>(_a[3]))); break;
        case 4: _t->recordUpdated((*reinterpret_cast< KDbRecordData*(*)>(_a[1]))); break;
        case 5: _t->recordInserted((*reinterpret_cast< KDbRecordData*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->recordInserted((*reinterpret_cast< KDbRecordData*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 7: _t->aboutToDeleteRecord((*reinterpret_cast< KDbRecordData*(*)>(_a[1])),(*reinterpret_cast< KDbResultInfo*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 8: _t->recordDeleted(); break;
        case 9: _t->recordsDeleted((*reinterpret_cast< const QList<int>(*)>(_a[1]))); break;
        case 10: _t->reloadRequested(); break;
        case 11: _t->recordRepaintRequested((*reinterpret_cast< KDbRecordData*(*)>(_a[1]))); break;
        case 12: _t->deleteLater(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KDbTableViewData::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::destroying)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * , int , QVariant * , KDbResultInfo * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::aboutToChangeCell)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * , KDbResultInfo * , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::aboutToInsertRecord)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * , KDbRecordEditBuffer * , KDbResultInfo * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::aboutToUpdateRecord)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::recordUpdated)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::recordInserted)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * , int , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::recordInserted)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * , KDbResultInfo * , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::aboutToDeleteRecord)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::recordDeleted)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(const QList<int> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::recordsDeleted)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::reloadRequested)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (KDbTableViewData::*_t)(KDbRecordData * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDbTableViewData::recordRepaintRequested)) {
                *result = 11;
                return;
            }
        }
    }
}

const QMetaObject KDbTableViewData::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDbTableViewData.data,
      qt_meta_data_KDbTableViewData,  qt_static_metacall, nullptr, nullptr}
};


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

void *KDbTableViewData::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KDbTableViewData.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "KDbTableViewDataBase"))
        return static_cast< KDbTableViewDataBase*>(this);
    return QObject::qt_metacast(_clname);
}

int KDbTableViewData::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void KDbTableViewData::destroying()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KDbTableViewData::aboutToChangeCell(KDbRecordData * _t1, int _t2, QVariant * _t3, KDbResultInfo * _t4)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KDbTableViewData::aboutToInsertRecord(KDbRecordData * _t1, KDbResultInfo * _t2, bool _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KDbTableViewData::aboutToUpdateRecord(KDbRecordData * _t1, KDbRecordEditBuffer * _t2, KDbResultInfo * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KDbTableViewData::recordUpdated(KDbRecordData * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KDbTableViewData::recordInserted(KDbRecordData * _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KDbTableViewData::recordInserted(KDbRecordData * _t1, int _t2, bool _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void KDbTableViewData::aboutToDeleteRecord(KDbRecordData * _t1, KDbResultInfo * _t2, bool _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void KDbTableViewData::recordDeleted()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KDbTableViewData::recordsDeleted(const QList<int> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void KDbTableViewData::reloadRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KDbTableViewData::recordRepaintRequested(KDbRecordData * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
