/****************************************************************************
** Meta object code from reading C++ file 'KexiRelationsView.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/KexiRelationsView.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiRelationsView.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_KexiRelationsView_t {
    QByteArrayData data[39];
    char stringdata0[625];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiRelationsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiRelationsView_t qt_meta_stringdata_KexiRelationsView = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KexiRelationsView"
QT_MOC_LITERAL(1, 18, 10), // "tableAdded"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 15), // "KDbTableSchema*"
QT_MOC_LITERAL(4, 46, 1), // "t"
QT_MOC_LITERAL(5, 48, 11), // "tableHidden"
QT_MOC_LITERAL(6, 60, 20), // "tablePositionChanged"
QT_MOC_LITERAL(7, 81, 28), // "KexiRelationsTableContainer*"
QT_MOC_LITERAL(8, 110, 21), // "aboutConnectionRemove"
QT_MOC_LITERAL(9, 132, 24), // "KexiRelationsConnection*"
QT_MOC_LITERAL(10, 157, 12), // "appendFields"
QT_MOC_LITERAL(11, 170, 22), // "KDbTableOrQuerySchema&"
QT_MOC_LITERAL(12, 193, 12), // "tableOrQuery"
QT_MOC_LITERAL(13, 206, 10), // "fieldNames"
QT_MOC_LITERAL(14, 217, 8), // "addTable"
QT_MOC_LITERAL(15, 226, 4), // "rect"
QT_MOC_LITERAL(16, 231, 13), // "addConnection"
QT_MOC_LITERAL(17, 245, 16), // "SourceConnection"
QT_MOC_LITERAL(18, 262, 4), // "conn"
QT_MOC_LITERAL(19, 267, 20), // "removeSelectedObject"
QT_MOC_LITERAL(20, 288, 5), // "clear"
QT_MOC_LITERAL(21, 294, 20), // "removeAllConnections"
QT_MOC_LITERAL(22, 315, 19), // "hideAllTablesExcept"
QT_MOC_LITERAL(23, 335, 23), // "QList<KDbTableSchema*>*"
QT_MOC_LITERAL(24, 359, 6), // "tables"
QT_MOC_LITERAL(25, 366, 12), // "slotAddTable"
QT_MOC_LITERAL(26, 379, 17), // "tableViewGotFocus"
QT_MOC_LITERAL(27, 397, 22), // "connectionViewGotFocus"
QT_MOC_LITERAL(28, 420, 17), // "emptyAreaGotFocus"
QT_MOC_LITERAL(29, 438, 23), // "tableContextMenuRequest"
QT_MOC_LITERAL(30, 462, 3), // "pos"
QT_MOC_LITERAL(31, 466, 28), // "connectionContextMenuRequest"
QT_MOC_LITERAL(32, 495, 27), // "emptyAreaContextMenuRequest"
QT_MOC_LITERAL(33, 523, 20), // "appendSelectedFields"
QT_MOC_LITERAL(34, 544, 17), // "openSelectedTable"
QT_MOC_LITERAL(35, 562, 19), // "designSelectedTable"
QT_MOC_LITERAL(36, 582, 15), // "slotTableHidden"
QT_MOC_LITERAL(37, 598, 5), // "table"
QT_MOC_LITERAL(38, 604, 20) // "aboutToShowPopupMenu"

    },
    "KexiRelationsView\0tableAdded\0\0"
    "KDbTableSchema*\0t\0tableHidden\0"
    "tablePositionChanged\0KexiRelationsTableContainer*\0"
    "aboutConnectionRemove\0KexiRelationsConnection*\0"
    "appendFields\0KDbTableOrQuerySchema&\0"
    "tableOrQuery\0fieldNames\0addTable\0rect\0"
    "addConnection\0SourceConnection\0conn\0"
    "removeSelectedObject\0clear\0"
    "removeAllConnections\0hideAllTablesExcept\0"
    "QList<KDbTableSchema*>*\0tables\0"
    "slotAddTable\0tableViewGotFocus\0"
    "connectionViewGotFocus\0emptyAreaGotFocus\0"
    "tableContextMenuRequest\0pos\0"
    "connectionContextMenuRequest\0"
    "emptyAreaContextMenuRequest\0"
    "appendSelectedFields\0openSelectedTable\0"
    "designSelectedTable\0slotTableHidden\0"
    "table\0aboutToShowPopupMenu"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiRelationsView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x06 /* Public */,
       5,    1,  137,    2, 0x06 /* Public */,
       6,    1,  140,    2, 0x06 /* Public */,
       8,    1,  143,    2, 0x06 /* Public */,
      10,    2,  146,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    2,  151,    2, 0x0a /* Public */,
      14,    1,  156,    2, 0x2a /* Public | MethodCloned */,
      16,    1,  159,    2, 0x0a /* Public */,
      19,    0,  162,    2, 0x0a /* Public */,
      20,    0,  163,    2, 0x0a /* Public */,
      21,    0,  164,    2, 0x0a /* Public */,
      22,    1,  165,    2, 0x0a /* Public */,
      25,    0,  168,    2, 0x09 /* Protected */,
      26,    0,  169,    2, 0x09 /* Protected */,
      27,    0,  170,    2, 0x09 /* Protected */,
      28,    0,  171,    2, 0x09 /* Protected */,
      29,    1,  172,    2, 0x09 /* Protected */,
      31,    1,  175,    2, 0x09 /* Protected */,
      32,    1,  178,    2, 0x09 /* Protected */,
      33,    0,  181,    2, 0x09 /* Protected */,
      34,    0,  182,    2, 0x09 /* Protected */,
      35,    0,  183,    2, 0x09 /* Protected */,
      36,    1,  184,    2, 0x09 /* Protected */,
      38,    0,  187,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void, 0x80000000 | 11, QMetaType::QStringList,   12,   13,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QRect,    4,   15,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   30,
    QMetaType::Void, QMetaType::QPoint,   30,
    QMetaType::Void, QMetaType::QPoint,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,   37,
    QMetaType::Void,

       0        // eod
};

void KexiRelationsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiRelationsView *_t = static_cast<KexiRelationsView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->tableAdded((*reinterpret_cast< KDbTableSchema*(*)>(_a[1]))); break;
        case 1: _t->tableHidden((*reinterpret_cast< KDbTableSchema*(*)>(_a[1]))); break;
        case 2: _t->tablePositionChanged((*reinterpret_cast< KexiRelationsTableContainer*(*)>(_a[1]))); break;
        case 3: _t->aboutConnectionRemove((*reinterpret_cast< KexiRelationsConnection*(*)>(_a[1]))); break;
        case 4: _t->appendFields((*reinterpret_cast< KDbTableOrQuerySchema(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 5: _t->addTable((*reinterpret_cast< KDbTableSchema*(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2]))); break;
        case 6: _t->addTable((*reinterpret_cast< KDbTableSchema*(*)>(_a[1]))); break;
        case 7: _t->addConnection((*reinterpret_cast< const SourceConnection(*)>(_a[1]))); break;
        case 8: _t->removeSelectedObject(); break;
        case 9: { bool _r = _t->clear();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 10: _t->removeAllConnections(); break;
        case 11: _t->hideAllTablesExcept((*reinterpret_cast< QList<KDbTableSchema*>*(*)>(_a[1]))); break;
        case 12: _t->slotAddTable(); break;
        case 13: _t->tableViewGotFocus(); break;
        case 14: _t->connectionViewGotFocus(); break;
        case 15: _t->emptyAreaGotFocus(); break;
        case 16: _t->tableContextMenuRequest((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 17: _t->connectionContextMenuRequest((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 18: _t->emptyAreaContextMenuRequest((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 19: _t->appendSelectedFields(); break;
        case 20: _t->openSelectedTable(); break;
        case 21: _t->designSelectedTable(); break;
        case 22: _t->slotTableHidden((*reinterpret_cast< KDbTableSchema*(*)>(_a[1]))); break;
        case 23: _t->aboutToShowPopupMenu(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            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 (KexiRelationsView::*_t)(KDbTableSchema * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsView::tableAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiRelationsView::*_t)(KDbTableSchema * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsView::tableHidden)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiRelationsView::*_t)(KexiRelationsTableContainer * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsView::tablePositionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KexiRelationsView::*_t)(KexiRelationsConnection * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsView::aboutConnectionRemove)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KexiRelationsView::*_t)(KDbTableOrQuerySchema & , const QStringList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRelationsView::appendFields)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject KexiRelationsView::staticMetaObject = {
    { &KexiView::staticMetaObject, qt_meta_stringdata_KexiRelationsView.data,
      qt_meta_data_KexiRelationsView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiRelationsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KexiView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    return _id;
}

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

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

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

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

// SIGNAL 4
void KexiRelationsView::appendFields(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
