/****************************************************************************
** Meta object code from reading C++ file 'kexidataawarepropertyset.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/dataviewcommon/kexidataawarepropertyset.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexidataawarepropertyset.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_KexiDataAwarePropertySet_t {
    QByteArrayData data[28];
    char stringdata0[352];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiDataAwarePropertySet_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiDataAwarePropertySet_t qt_meta_stringdata_KexiDataAwarePropertySet = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KexiDataAwarePropertySet"
QT_MOC_LITERAL(1, 25, 13), // "recordDeleted"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 14), // "recordInserted"
QT_MOC_LITERAL(4, 55, 15), // "propertyChanged"
QT_MOC_LITERAL(5, 71, 13), // "KPropertySet&"
QT_MOC_LITERAL(6, 85, 3), // "set"
QT_MOC_LITERAL(7, 89, 10), // "KProperty&"
QT_MOC_LITERAL(8, 100, 8), // "property"
QT_MOC_LITERAL(9, 109, 23), // "eraseCurrentPropertySet"
QT_MOC_LITERAL(10, 133, 5), // "clear"
QT_MOC_LITERAL(11, 139, 6), // "record"
QT_MOC_LITERAL(12, 146, 13), // "KPropertySet*"
QT_MOC_LITERAL(13, 160, 6), // "newOne"
QT_MOC_LITERAL(14, 167, 7), // "eraseAt"
QT_MOC_LITERAL(15, 175, 11), // "slotDataSet"
QT_MOC_LITERAL(16, 187, 17), // "KDbTableViewData*"
QT_MOC_LITERAL(17, 205, 4), // "data"
QT_MOC_LITERAL(18, 210, 17), // "slotRecordDeleted"
QT_MOC_LITERAL(19, 228, 18), // "slotRecordsDeleted"
QT_MOC_LITERAL(20, 247, 10), // "QList<int>"
QT_MOC_LITERAL(21, 258, 7), // "records"
QT_MOC_LITERAL(22, 266, 18), // "slotRecordInserted"
QT_MOC_LITERAL(23, 285, 14), // "KDbRecordData*"
QT_MOC_LITERAL(24, 300, 7), // "repaint"
QT_MOC_LITERAL(25, 308, 16), // "slotCellSelected"
QT_MOC_LITERAL(26, 325, 6), // "column"
QT_MOC_LITERAL(27, 332, 19) // "slotReloadRequested"

    },
    "KexiDataAwarePropertySet\0recordDeleted\0"
    "\0recordInserted\0propertyChanged\0"
    "KPropertySet&\0set\0KProperty&\0property\0"
    "eraseCurrentPropertySet\0clear\0record\0"
    "KPropertySet*\0newOne\0eraseAt\0slotDataSet\0"
    "KDbTableViewData*\0data\0slotRecordDeleted\0"
    "slotRecordsDeleted\0QList<int>\0records\0"
    "slotRecordInserted\0KDbRecordData*\0"
    "repaint\0slotCellSelected\0column\0"
    "slotReloadRequested"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiDataAwarePropertySet[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x06 /* Public */,
       3,    0,   85,    2, 0x06 /* Public */,
       4,    2,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   91,    2, 0x0a /* Public */,
      10,    0,   92,    2, 0x0a /* Public */,
       6,    3,   93,    2, 0x0a /* Public */,
       6,    2,  100,    2, 0x2a /* Public | MethodCloned */,
      14,    1,  105,    2, 0x0a /* Public */,
      15,    1,  108,    2, 0x09 /* Protected */,
      18,    0,  111,    2, 0x09 /* Protected */,
      19,    1,  112,    2, 0x09 /* Protected */,
      22,    3,  115,    2, 0x09 /* Protected */,
      25,    2,  122,    2, 0x09 /* Protected */,
      27,    0,  127,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7,    6,    8,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 12, QMetaType::Bool,   11,    6,   13,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 12,   11,    6,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, 0x80000000 | 23, QMetaType::Int, QMetaType::Bool,   17,   11,   24,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   11,   26,
    QMetaType::Void,

       0        // eod
};

void KexiDataAwarePropertySet::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiDataAwarePropertySet *_t = static_cast<KexiDataAwarePropertySet *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->recordDeleted(); break;
        case 1: _t->recordInserted(); break;
        case 2: _t->propertyChanged((*reinterpret_cast< KPropertySet(*)>(_a[1])),(*reinterpret_cast< KProperty(*)>(_a[2]))); break;
        case 3: _t->eraseCurrentPropertySet(); break;
        case 4: _t->clear(); break;
        case 5: _t->set((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< KPropertySet*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 6: _t->set((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< KPropertySet*(*)>(_a[2]))); break;
        case 7: _t->eraseAt((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->slotDataSet((*reinterpret_cast< KDbTableViewData*(*)>(_a[1]))); break;
        case 9: _t->slotRecordDeleted(); break;
        case 10: _t->slotRecordsDeleted((*reinterpret_cast< const QList<int>(*)>(_a[1]))); break;
        case 11: _t->slotRecordInserted((*reinterpret_cast< KDbRecordData*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 12: _t->slotCellSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 13: _t->slotReloadRequested(); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KPropertySet* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KPropertySet* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDbTableViewData* >(); break;
            }
            break;
        case 10:
            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 (KexiDataAwarePropertySet::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiDataAwarePropertySet::recordDeleted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiDataAwarePropertySet::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiDataAwarePropertySet::recordInserted)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiDataAwarePropertySet::*_t)(KPropertySet & , KProperty & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiDataAwarePropertySet::propertyChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KexiDataAwarePropertySet::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KexiDataAwarePropertySet.data,
      qt_meta_data_KexiDataAwarePropertySet,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void KexiDataAwarePropertySet::recordDeleted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void KexiDataAwarePropertySet::recordInserted()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void KexiDataAwarePropertySet::propertyChanged(KPropertySet & _t1, KProperty & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_END_MOC_NAMESPACE
