/****************************************************************************
** Meta object code from reading C++ file 'kexidataawareview.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/kexidataawareview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexidataawareview.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_KexiDataAwareView_t {
    QByteArrayData data[31];
    char stringdata0[498];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiDataAwareView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiDataAwareView_t qt_meta_stringdata_KexiDataAwareView = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KexiDataAwareView"
QT_MOC_LITERAL(1, 18, 16), // "deleteAllRecords"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 19), // "deleteCurrentRecord"
QT_MOC_LITERAL(4, 56, 29), // "deleteAndStartEditCurrentCell"
QT_MOC_LITERAL(5, 86, 22), // "startEditOrToggleValue"
QT_MOC_LITERAL(6, 109, 19), // "acceptRecordEditing"
QT_MOC_LITERAL(7, 129, 19), // "cancelRecordEditing"
QT_MOC_LITERAL(8, 149, 13), // "sortAscending"
QT_MOC_LITERAL(9, 163, 14), // "sortDescending"
QT_MOC_LITERAL(10, 178, 13), // "copySelection"
QT_MOC_LITERAL(11, 192, 12), // "cutSelection"
QT_MOC_LITERAL(12, 205, 5), // "paste"
QT_MOC_LITERAL(13, 211, 19), // "slotGoToFirstRecord"
QT_MOC_LITERAL(14, 231, 21), // "slotGoToPreviusRecord"
QT_MOC_LITERAL(15, 253, 18), // "slotGoToNextRecord"
QT_MOC_LITERAL(16, 272, 18), // "slotGoToLastRecord"
QT_MOC_LITERAL(17, 291, 17), // "slotGoToNewRecord"
QT_MOC_LITERAL(18, 309, 23), // "isDataEditingInProgress"
QT_MOC_LITERAL(19, 333, 15), // "saveDataChanges"
QT_MOC_LITERAL(20, 349, 8), // "tristate"
QT_MOC_LITERAL(21, 358, 17), // "cancelDataChanges"
QT_MOC_LITERAL(22, 376, 16), // "slotCellSelected"
QT_MOC_LITERAL(23, 393, 6), // "record"
QT_MOC_LITERAL(24, 400, 6), // "column"
QT_MOC_LITERAL(25, 407, 13), // "reloadActions"
QT_MOC_LITERAL(26, 421, 23), // "slotUpdateRecordActions"
QT_MOC_LITERAL(27, 445, 27), // "slotUpdateSaveCancelActions"
QT_MOC_LITERAL(28, 473, 11), // "slotClosing"
QT_MOC_LITERAL(29, 485, 5), // "bool*"
QT_MOC_LITERAL(30, 491, 6) // "cancel"

    },
    "KexiDataAwareView\0deleteAllRecords\0\0"
    "deleteCurrentRecord\0deleteAndStartEditCurrentCell\0"
    "startEditOrToggleValue\0acceptRecordEditing\0"
    "cancelRecordEditing\0sortAscending\0"
    "sortDescending\0copySelection\0cutSelection\0"
    "paste\0slotGoToFirstRecord\0"
    "slotGoToPreviusRecord\0slotGoToNextRecord\0"
    "slotGoToLastRecord\0slotGoToNewRecord\0"
    "isDataEditingInProgress\0saveDataChanges\0"
    "tristate\0cancelDataChanges\0slotCellSelected\0"
    "record\0column\0reloadActions\0"
    "slotUpdateRecordActions\0"
    "slotUpdateSaveCancelActions\0slotClosing\0"
    "bool*\0cancel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiDataAwareView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  134,    2, 0x0a /* Public */,
       3,    0,  135,    2, 0x0a /* Public */,
       4,    0,  136,    2, 0x0a /* Public */,
       5,    0,  137,    2, 0x0a /* Public */,
       6,    0,  138,    2, 0x0a /* Public */,
       7,    0,  139,    2, 0x0a /* Public */,
       8,    0,  140,    2, 0x0a /* Public */,
       9,    0,  141,    2, 0x0a /* Public */,
      10,    0,  142,    2, 0x0a /* Public */,
      11,    0,  143,    2, 0x0a /* Public */,
      12,    0,  144,    2, 0x0a /* Public */,
      13,    0,  145,    2, 0x0a /* Public */,
      14,    0,  146,    2, 0x0a /* Public */,
      15,    0,  147,    2, 0x0a /* Public */,
      16,    0,  148,    2, 0x0a /* Public */,
      17,    0,  149,    2, 0x0a /* Public */,
      18,    0,  150,    2, 0x0a /* Public */,
      19,    0,  151,    2, 0x0a /* Public */,
      21,    0,  152,    2, 0x0a /* Public */,
      22,    2,  153,    2, 0x09 /* Protected */,
      25,    0,  158,    2, 0x09 /* Protected */,
      26,    1,  159,    2, 0x09 /* Protected */,
      27,    0,  162,    2, 0x09 /* Protected */,
      28,    1,  163,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    0x80000000 | 20,
    0x80000000 | 20,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   23,   24,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 29,   30,

       0        // eod
};

void KexiDataAwareView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiDataAwareView *_t = static_cast<KexiDataAwareView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->deleteAllRecords(); break;
        case 1: _t->deleteCurrentRecord(); break;
        case 2: _t->deleteAndStartEditCurrentCell(); break;
        case 3: _t->startEditOrToggleValue(); break;
        case 4: { bool _r = _t->acceptRecordEditing();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->cancelRecordEditing();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: _t->sortAscending(); break;
        case 7: _t->sortDescending(); break;
        case 8: _t->copySelection(); break;
        case 9: _t->cutSelection(); break;
        case 10: _t->paste(); break;
        case 11: _t->slotGoToFirstRecord(); break;
        case 12: _t->slotGoToPreviusRecord(); break;
        case 13: _t->slotGoToNextRecord(); break;
        case 14: _t->slotGoToLastRecord(); break;
        case 15: _t->slotGoToNewRecord(); break;
        case 16: { bool _r = _t->isDataEditingInProgress();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 17: { tristate _r = _t->saveDataChanges();
            if (_a[0]) *reinterpret_cast< tristate*>(_a[0]) = _r; }  break;
        case 18: { tristate _r = _t->cancelDataChanges();
            if (_a[0]) *reinterpret_cast< tristate*>(_a[0]) = _r; }  break;
        case 19: _t->slotCellSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 20: _t->reloadActions(); break;
        case 21: _t->slotUpdateRecordActions((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 22: _t->slotUpdateSaveCancelActions(); break;
        case 23: _t->slotClosing((*reinterpret_cast< bool*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KexiDataAwareView::staticMetaObject = {
    { &KexiView::staticMetaObject, qt_meta_stringdata_KexiDataAwareView.data,
      qt_meta_data_KexiDataAwareView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiDataAwareView::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
