/****************************************************************************
** Meta object code from reading C++ file 'sqlqueryview.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../SQLiteStudio3/guiSQLiteStudio/datagrid/sqlqueryview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sqlqueryview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_SqlQueryView_t {
    QByteArrayData data[84];
    char stringdata0[1117];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SqlQueryView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SqlQueryView_t qt_meta_stringdata_SqlQueryView = {
    {
QT_MOC_LITERAL(0, 0, 12), // "SqlQueryView"
QT_MOC_LITERAL(1, 13, 20), // "contextMenuRequested"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 13), // "SqlQueryItem*"
QT_MOC_LITERAL(4, 49, 11), // "currentItem"
QT_MOC_LITERAL(5, 61, 20), // "QList<SqlQueryItem*>"
QT_MOC_LITERAL(6, 82, 13), // "selectedItems"
QT_MOC_LITERAL(7, 96, 19), // "requestForRowInsert"
QT_MOC_LITERAL(8, 116, 27), // "requestForMultipleRowInsert"
QT_MOC_LITERAL(9, 144, 19), // "requestForRowDelete"
QT_MOC_LITERAL(10, 164, 10), // "scrolledBy"
QT_MOC_LITERAL(11, 175, 2), // "dx"
QT_MOC_LITERAL(12, 178, 2), // "dy"
QT_MOC_LITERAL(13, 181, 27), // "updateCommitRollbackActions"
QT_MOC_LITERAL(14, 209, 7), // "enabled"
QT_MOC_LITERAL(15, 217, 26), // "customContextMenuRequested"
QT_MOC_LITERAL(16, 244, 3), // "pos"
QT_MOC_LITERAL(17, 248, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(18, 275, 14), // "openSortDialog"
QT_MOC_LITERAL(19, 290, 12), // "resetSorting"
QT_MOC_LITERAL(20, 303, 14), // "sortingUpdated"
QT_MOC_LITERAL(21, 318, 23), // "QueryExecutor::SortList"
QT_MOC_LITERAL(22, 342, 9), // "sortOrder"
QT_MOC_LITERAL(23, 352, 10), // "updateFont"
QT_MOC_LITERAL(24, 363, 13), // "itemActivated"
QT_MOC_LITERAL(25, 377, 11), // "QModelIndex"
QT_MOC_LITERAL(26, 389, 5), // "index"
QT_MOC_LITERAL(27, 395, 14), // "generateSelect"
QT_MOC_LITERAL(28, 410, 14), // "generateInsert"
QT_MOC_LITERAL(29, 425, 14), // "generateUpdate"
QT_MOC_LITERAL(30, 440, 14), // "generateDelete"
QT_MOC_LITERAL(31, 455, 11), // "editCurrent"
QT_MOC_LITERAL(32, 467, 26), // "toggleRowsHeightAdjustment"
QT_MOC_LITERAL(33, 494, 19), // "adjustRowToContents"
QT_MOC_LITERAL(34, 514, 7), // "section"
QT_MOC_LITERAL(35, 522, 23), // "fontSizeChangeRequested"
QT_MOC_LITERAL(36, 546, 5), // "delta"
QT_MOC_LITERAL(37, 552, 12), // "incrFontSize"
QT_MOC_LITERAL(38, 565, 12), // "decrFontSize"
QT_MOC_LITERAL(39, 578, 15), // "invertSelection"
QT_MOC_LITERAL(40, 594, 16), // "executionStarted"
QT_MOC_LITERAL(41, 611, 14), // "executionEnded"
QT_MOC_LITERAL(42, 626, 13), // "setCurrentRow"
QT_MOC_LITERAL(43, 640, 3), // "row"
QT_MOC_LITERAL(44, 644, 4), // "copy"
QT_MOC_LITERAL(45, 649, 14), // "copyWithHeader"
QT_MOC_LITERAL(46, 664, 5), // "paste"
QT_MOC_LITERAL(47, 670, 6), // "copyAs"
QT_MOC_LITERAL(48, 677, 7), // "pasteAs"
QT_MOC_LITERAL(49, 685, 7), // "setNull"
QT_MOC_LITERAL(50, 693, 5), // "erase"
QT_MOC_LITERAL(51, 699, 6), // "commit"
QT_MOC_LITERAL(52, 706, 8), // "rollback"
QT_MOC_LITERAL(53, 715, 15), // "selectiveCommit"
QT_MOC_LITERAL(54, 731, 17), // "selectiveRollback"
QT_MOC_LITERAL(55, 749, 15), // "openValueEditor"
QT_MOC_LITERAL(56, 765, 4), // "item"
QT_MOC_LITERAL(57, 770, 6), // "Action"
QT_MOC_LITERAL(58, 777, 4), // "COPY"
QT_MOC_LITERAL(59, 782, 16), // "COPY_WITH_HEADER"
QT_MOC_LITERAL(60, 799, 7), // "COPY_AS"
QT_MOC_LITERAL(61, 807, 5), // "PASTE"
QT_MOC_LITERAL(62, 813, 8), // "PASTE_AS"
QT_MOC_LITERAL(63, 822, 8), // "SET_NULL"
QT_MOC_LITERAL(64, 831, 5), // "ERASE"
QT_MOC_LITERAL(65, 837, 8), // "ROLLBACK"
QT_MOC_LITERAL(66, 846, 6), // "COMMIT"
QT_MOC_LITERAL(67, 853, 10), // "INSERT_ROW"
QT_MOC_LITERAL(68, 864, 20), // "INSERT_MULTIPLE_ROWS"
QT_MOC_LITERAL(69, 885, 10), // "DELETE_ROW"
QT_MOC_LITERAL(70, 896, 16), // "SELECTIVE_COMMIT"
QT_MOC_LITERAL(71, 913, 18), // "SELECTIVE_ROLLBACK"
QT_MOC_LITERAL(72, 932, 12), // "EDIT_CURRENT"
QT_MOC_LITERAL(73, 945, 17), // "OPEN_VALUE_EDITOR"
QT_MOC_LITERAL(74, 963, 11), // "SORT_DIALOG"
QT_MOC_LITERAL(75, 975, 13), // "RESET_SORTING"
QT_MOC_LITERAL(76, 989, 15), // "GENERATE_SELECT"
QT_MOC_LITERAL(77, 1005, 15), // "GENERATE_INSERT"
QT_MOC_LITERAL(78, 1021, 15), // "GENERATE_UPDATE"
QT_MOC_LITERAL(79, 1037, 15), // "GENERATE_DELETE"
QT_MOC_LITERAL(80, 1053, 16), // "INVERT_SELECTION"
QT_MOC_LITERAL(81, 1070, 16), // "ADJUST_ROWS_SIZE"
QT_MOC_LITERAL(82, 1087, 14), // "INCR_FONT_SIZE"
QT_MOC_LITERAL(83, 1102, 14) // "DECR_FONT_SIZE"

    },
    "SqlQueryView\0contextMenuRequested\0\0"
    "SqlQueryItem*\0currentItem\0"
    "QList<SqlQueryItem*>\0selectedItems\0"
    "requestForRowInsert\0requestForMultipleRowInsert\0"
    "requestForRowDelete\0scrolledBy\0dx\0dy\0"
    "updateCommitRollbackActions\0enabled\0"
    "customContextMenuRequested\0pos\0"
    "headerContextMenuRequested\0openSortDialog\0"
    "resetSorting\0sortingUpdated\0"
    "QueryExecutor::SortList\0sortOrder\0"
    "updateFont\0itemActivated\0QModelIndex\0"
    "index\0generateSelect\0generateInsert\0"
    "generateUpdate\0generateDelete\0editCurrent\0"
    "toggleRowsHeightAdjustment\0"
    "adjustRowToContents\0section\0"
    "fontSizeChangeRequested\0delta\0"
    "incrFontSize\0decrFontSize\0invertSelection\0"
    "executionStarted\0executionEnded\0"
    "setCurrentRow\0row\0copy\0copyWithHeader\0"
    "paste\0copyAs\0pasteAs\0setNull\0erase\0"
    "commit\0rollback\0selectiveCommit\0"
    "selectiveRollback\0openValueEditor\0"
    "item\0Action\0COPY\0COPY_WITH_HEADER\0"
    "COPY_AS\0PASTE\0PASTE_AS\0SET_NULL\0ERASE\0"
    "ROLLBACK\0COMMIT\0INSERT_ROW\0"
    "INSERT_MULTIPLE_ROWS\0DELETE_ROW\0"
    "SELECTIVE_COMMIT\0SELECTIVE_ROLLBACK\0"
    "EDIT_CURRENT\0OPEN_VALUE_EDITOR\0"
    "SORT_DIALOG\0RESET_SORTING\0GENERATE_SELECT\0"
    "GENERATE_INSERT\0GENERATE_UPDATE\0"
    "GENERATE_DELETE\0INVERT_SELECTION\0"
    "ADJUST_ROWS_SIZE\0INCR_FONT_SIZE\0"
    "DECR_FONT_SIZE"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SqlQueryView[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      40,   14, // methods
       0,    0, // properties
       1,  282, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,  214,    2, 0x06 /* Public */,
       7,    0,  219,    2, 0x06 /* Public */,
       8,    0,  220,    2, 0x06 /* Public */,
       9,    0,  221,    2, 0x06 /* Public */,
      10,    2,  222,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,  227,    2, 0x08 /* Private */,
      15,    1,  230,    2, 0x08 /* Private */,
      17,    1,  233,    2, 0x08 /* Private */,
      18,    0,  236,    2, 0x08 /* Private */,
      19,    0,  237,    2, 0x08 /* Private */,
      20,    1,  238,    2, 0x08 /* Private */,
      23,    0,  241,    2, 0x08 /* Private */,
      24,    1,  242,    2, 0x08 /* Private */,
      27,    0,  245,    2, 0x08 /* Private */,
      28,    0,  246,    2, 0x08 /* Private */,
      29,    0,  247,    2, 0x08 /* Private */,
      30,    0,  248,    2, 0x08 /* Private */,
      31,    0,  249,    2, 0x08 /* Private */,
      32,    1,  250,    2, 0x08 /* Private */,
      33,    1,  253,    2, 0x08 /* Private */,
      35,    1,  256,    2, 0x08 /* Private */,
      37,    0,  259,    2, 0x08 /* Private */,
      38,    0,  260,    2, 0x08 /* Private */,
      39,    0,  261,    2, 0x08 /* Private */,
      40,    0,  262,    2, 0x0a /* Public */,
      41,    0,  263,    2, 0x0a /* Public */,
      42,    1,  264,    2, 0x0a /* Public */,
      44,    0,  267,    2, 0x0a /* Public */,
      45,    0,  268,    2, 0x0a /* Public */,
      46,    0,  269,    2, 0x0a /* Public */,
      47,    0,  270,    2, 0x0a /* Public */,
      48,    0,  271,    2, 0x0a /* Public */,
      49,    0,  272,    2, 0x0a /* Public */,
      50,    0,  273,    2, 0x0a /* Public */,
      51,    0,  274,    2, 0x0a /* Public */,
      52,    0,  275,    2, 0x0a /* Public */,
      53,    0,  276,    2, 0x0a /* Public */,
      54,    0,  277,    2, 0x0a /* Public */,
      55,    1,  278,    2, 0x0a /* Public */,
      55,    0,  281,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   11,   12,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::QPoint,   16,
    QMetaType::Void, QMetaType::QPoint,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 25,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::Int,   34,
    QMetaType::Void, QMetaType::Int,   36,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   43,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,   56,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      57,   57, 0x0,   26,  287,

 // enum data: key, value
      58, uint(SqlQueryView::COPY),
      59, uint(SqlQueryView::COPY_WITH_HEADER),
      60, uint(SqlQueryView::COPY_AS),
      61, uint(SqlQueryView::PASTE),
      62, uint(SqlQueryView::PASTE_AS),
      63, uint(SqlQueryView::SET_NULL),
      64, uint(SqlQueryView::ERASE),
      65, uint(SqlQueryView::ROLLBACK),
      66, uint(SqlQueryView::COMMIT),
      67, uint(SqlQueryView::INSERT_ROW),
      68, uint(SqlQueryView::INSERT_MULTIPLE_ROWS),
      69, uint(SqlQueryView::DELETE_ROW),
      70, uint(SqlQueryView::SELECTIVE_COMMIT),
      71, uint(SqlQueryView::SELECTIVE_ROLLBACK),
      72, uint(SqlQueryView::EDIT_CURRENT),
      73, uint(SqlQueryView::OPEN_VALUE_EDITOR),
      74, uint(SqlQueryView::SORT_DIALOG),
      75, uint(SqlQueryView::RESET_SORTING),
      76, uint(SqlQueryView::GENERATE_SELECT),
      77, uint(SqlQueryView::GENERATE_INSERT),
      78, uint(SqlQueryView::GENERATE_UPDATE),
      79, uint(SqlQueryView::GENERATE_DELETE),
      80, uint(SqlQueryView::INVERT_SELECTION),
      81, uint(SqlQueryView::ADJUST_ROWS_SIZE),
      82, uint(SqlQueryView::INCR_FONT_SIZE),
      83, uint(SqlQueryView::DECR_FONT_SIZE),

       0        // eod
};

void SqlQueryView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SqlQueryView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->contextMenuRequested((*reinterpret_cast< SqlQueryItem*(*)>(_a[1])),(*reinterpret_cast< const QList<SqlQueryItem*>(*)>(_a[2]))); break;
        case 1: _t->requestForRowInsert(); break;
        case 2: _t->requestForMultipleRowInsert(); break;
        case 3: _t->requestForRowDelete(); break;
        case 4: _t->scrolledBy((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->updateCommitRollbackActions((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 7: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 8: _t->openSortDialog(); break;
        case 9: _t->resetSorting(); break;
        case 10: _t->sortingUpdated((*reinterpret_cast< const QueryExecutor::SortList(*)>(_a[1]))); break;
        case 11: _t->updateFont(); break;
        case 12: _t->itemActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 13: _t->generateSelect(); break;
        case 14: _t->generateInsert(); break;
        case 15: _t->generateUpdate(); break;
        case 16: _t->generateDelete(); break;
        case 17: _t->editCurrent(); break;
        case 18: _t->toggleRowsHeightAdjustment((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->adjustRowToContents((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->fontSizeChangeRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->incrFontSize(); break;
        case 22: _t->decrFontSize(); break;
        case 23: _t->invertSelection(); break;
        case 24: _t->executionStarted(); break;
        case 25: _t->executionEnded(); break;
        case 26: _t->setCurrentRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 27: _t->copy(); break;
        case 28: _t->copyWithHeader(); break;
        case 29: _t->paste(); break;
        case 30: _t->copyAs(); break;
        case 31: _t->pasteAs(); break;
        case 32: _t->setNull(); break;
        case 33: _t->erase(); break;
        case 34: _t->commit(); break;
        case 35: _t->rollback(); break;
        case 36: _t->selectiveCommit(); break;
        case 37: _t->selectiveRollback(); break;
        case 38: _t->openValueEditor((*reinterpret_cast< SqlQueryItem*(*)>(_a[1]))); break;
        case 39: _t->openValueEditor(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SqlQueryView::*)(SqlQueryItem * , const QList<SqlQueryItem*> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlQueryView::contextMenuRequested)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SqlQueryView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlQueryView::requestForRowInsert)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SqlQueryView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlQueryView::requestForMultipleRowInsert)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (SqlQueryView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlQueryView::requestForRowDelete)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (SqlQueryView::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlQueryView::scrolledBy)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SqlQueryView::staticMetaObject = { {
    QMetaObject::SuperData::link<QTableView::staticMetaObject>(),
    qt_meta_stringdata_SqlQueryView.data,
    qt_meta_data_SqlQueryView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *SqlQueryView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_SqlQueryView.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ExtActionContainer"))
        return static_cast< ExtActionContainer*>(this);
    return QTableView::qt_metacast(_clname);
}

int SqlQueryView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTableView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 40)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 40;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 40)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 40;
    }
    return _id;
}

// SIGNAL 0
void SqlQueryView::contextMenuRequested(SqlQueryItem * _t1, const QList<SqlQueryItem*> & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void SqlQueryView::requestForRowInsert()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void SqlQueryView::requestForMultipleRowInsert()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void SqlQueryView::requestForRowDelete()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void SqlQueryView::scrolledBy(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
