/****************************************************************************
** Meta object code from reading C++ file 'KexiRelationsTableContainer.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/relations/KexiRelationsTableContainer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiRelationsTableContainer.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_KexiRelationsTableContainer_t {
    QByteArrayData data[18];
    char stringdata0[237];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiRelationsTableContainer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiRelationsTableContainer_t qt_meta_stringdata_KexiRelationsTableContainer = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KexiRelationsTableContainer"
QT_MOC_LITERAL(1, 28, 5), // "moved"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 28), // "KexiRelationsTableContainer*"
QT_MOC_LITERAL(4, 64, 7), // "endDrag"
QT_MOC_LITERAL(5, 72, 8), // "gotFocus"
QT_MOC_LITERAL(6, 81, 18), // "contextMenuRequest"
QT_MOC_LITERAL(7, 100, 3), // "pos"
QT_MOC_LITERAL(8, 104, 19), // "fieldsDoubleClicked"
QT_MOC_LITERAL(9, 124, 22), // "KDbTableOrQuerySchema&"
QT_MOC_LITERAL(10, 147, 12), // "tableOrQuery"
QT_MOC_LITERAL(11, 160, 10), // "fieldNames"
QT_MOC_LITERAL(12, 171, 8), // "setFocus"
QT_MOC_LITERAL(13, 180, 10), // "unsetFocus"
QT_MOC_LITERAL(14, 191, 15), // "slotContextMenu"
QT_MOC_LITERAL(15, 207, 1), // "p"
QT_MOC_LITERAL(16, 209, 23), // "slotFieldsDoubleClicked"
QT_MOC_LITERAL(17, 233, 3) // "idx"

    },
    "KexiRelationsTableContainer\0moved\0\0"
    "KexiRelationsTableContainer*\0endDrag\0"
    "gotFocus\0contextMenuRequest\0pos\0"
    "fieldsDoubleClicked\0KDbTableOrQuerySchema&\0"
    "tableOrQuery\0fieldNames\0setFocus\0"
    "unsetFocus\0slotContextMenu\0p\0"
    "slotFieldsDoubleClicked\0idx"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiRelationsTableContainer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       4,    0,   67,    2, 0x06 /* Public */,
       5,    0,   68,    2, 0x06 /* Public */,
       6,    1,   69,    2, 0x06 /* Public */,
       8,    2,   72,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,   77,    2, 0x0a /* Public */,
      13,    0,   78,    2, 0x0a /* Public */,
       1,    0,   79,    2, 0x09 /* Protected */,
      14,    1,   80,    2, 0x09 /* Protected */,
      16,    1,   83,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,    7,
    QMetaType::Void, 0x80000000 | 9, QMetaType::QStringList,   10,   11,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   15,
    QMetaType::Void, QMetaType::QModelIndex,   17,

       0        // eod
};

void KexiRelationsTableContainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiRelationsTableContainer *_t = static_cast<KexiRelationsTableContainer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->moved((*reinterpret_cast< KexiRelationsTableContainer*(*)>(_a[1]))); break;
        case 1: _t->endDrag(); break;
        case 2: _t->gotFocus(); break;
        case 3: _t->contextMenuRequest((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 4: _t->fieldsDoubleClicked((*reinterpret_cast< KDbTableOrQuerySchema(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 5: _t->setFocus(); break;
        case 6: _t->unsetFocus(); break;
        case 7: _t->moved(); break;
        case 8: _t->slotContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 9: _t->slotFieldsDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KexiRelationsTableContainer* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiRelationsTableContainer::*_t)(KexiRelationsTableContainer * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsTableContainer::moved)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiRelationsTableContainer::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsTableContainer::endDrag)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiRelationsTableContainer::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsTableContainer::gotFocus)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KexiRelationsTableContainer::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsTableContainer::contextMenuRequest)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KexiRelationsTableContainer::*_t)(KDbTableOrQuerySchema & , const QStringList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsTableContainer::fieldsDoubleClicked)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject KexiRelationsTableContainer::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_KexiRelationsTableContainer.data,
      qt_meta_data_KexiRelationsTableContainer,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiRelationsTableContainer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

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

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

// SIGNAL 2
void KexiRelationsTableContainer::gotFocus()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

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

// SIGNAL 4
void KexiRelationsTableContainer::fieldsDoubleClicked(KDbTableOrQuerySchema & _t1, const QStringList & _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, 4, _a);
}
QT_END_MOC_NAMESPACE
