/****************************************************************************
** Meta object code from reading C++ file 'viewwindow.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/windows/viewwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'viewwindow.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_ViewWindow_t {
    QByteArrayData data[65];
    char stringdata0[886];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ViewWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ViewWindow_t qt_meta_stringdata_ViewWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "ViewWindow"
QT_MOC_LITERAL(1, 11, 11), // "refreshView"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 12), // "executeQuery"
QT_MOC_LITERAL(4, 37, 10), // "commitView"
QT_MOC_LITERAL(5, 48, 12), // "skipWarnings"
QT_MOC_LITERAL(6, 61, 23), // "loadDataAfterNextCommit"
QT_MOC_LITERAL(7, 85, 12), // "rollbackView"
QT_MOC_LITERAL(8, 98, 10), // "addTrigger"
QT_MOC_LITERAL(9, 109, 11), // "editTrigger"
QT_MOC_LITERAL(10, 121, 13), // "deleteTrigger"
QT_MOC_LITERAL(11, 135, 19), // "executionSuccessful"
QT_MOC_LITERAL(12, 155, 15), // "executionFailed"
QT_MOC_LITERAL(13, 171, 12), // "errorMessage"
QT_MOC_LITERAL(14, 184, 10), // "tabChanged"
QT_MOC_LITERAL(15, 195, 6), // "tabIdx"
QT_MOC_LITERAL(16, 202, 24), // "updateQueryToolbarStatus"
QT_MOC_LITERAL(17, 227, 28), // "changesSuccessfullyCommitted"
QT_MOC_LITERAL(18, 256, 21), // "changesFailedToCommit"
QT_MOC_LITERAL(19, 278, 9), // "errorCode"
QT_MOC_LITERAL(20, 288, 9), // "errorText"
QT_MOC_LITERAL(21, 298, 19), // "updateTriggersState"
QT_MOC_LITERAL(22, 318, 7), // "nextTab"
QT_MOC_LITERAL(23, 326, 7), // "prevTab"
QT_MOC_LITERAL(24, 334, 20), // "dbClosedFinalCleanup"
QT_MOC_LITERAL(25, 355, 18), // "checkIfViewDeleted"
QT_MOC_LITERAL(26, 374, 8), // "database"
QT_MOC_LITERAL(27, 383, 6), // "object"
QT_MOC_LITERAL(28, 390, 12), // "DbObjectType"
QT_MOC_LITERAL(29, 403, 4), // "type"
QT_MOC_LITERAL(30, 408, 29), // "updateOutputColumnsVisibility"
QT_MOC_LITERAL(31, 438, 9), // "addColumn"
QT_MOC_LITERAL(32, 448, 10), // "editColumn"
QT_MOC_LITERAL(33, 459, 9), // "delColumn"
QT_MOC_LITERAL(34, 469, 12), // "moveColumnUp"
QT_MOC_LITERAL(35, 482, 14), // "moveColumnDown"
QT_MOC_LITERAL(36, 497, 19), // "updateColumnButtons"
QT_MOC_LITERAL(37, 517, 21), // "generateOutputColumns"
QT_MOC_LITERAL(38, 539, 15), // "updateTabsOrder"
QT_MOC_LITERAL(39, 555, 24), // "triggerViewDoubleClicked"
QT_MOC_LITERAL(40, 580, 11), // "QModelIndex"
QT_MOC_LITERAL(41, 592, 3), // "idx"
QT_MOC_LITERAL(42, 596, 10), // "updateFont"
QT_MOC_LITERAL(43, 607, 9), // "dbChanged"
QT_MOC_LITERAL(44, 617, 20), // "handleObjectModified"
QT_MOC_LITERAL(45, 638, 3), // "Db*"
QT_MOC_LITERAL(46, 642, 2), // "db"
QT_MOC_LITERAL(47, 645, 15), // "refreshTriggers"
QT_MOC_LITERAL(48, 661, 6), // "Action"
QT_MOC_LITERAL(49, 668, 13), // "REFRESH_QUERY"
QT_MOC_LITERAL(50, 682, 12), // "COMMIT_QUERY"
QT_MOC_LITERAL(51, 695, 14), // "ROLLBACK_QUERY"
QT_MOC_LITERAL(52, 710, 10), // "ADD_COLUMN"
QT_MOC_LITERAL(53, 721, 11), // "EDIT_COLUMN"
QT_MOC_LITERAL(54, 733, 10), // "DEL_COLUMN"
QT_MOC_LITERAL(55, 744, 14), // "MOVE_COLUMN_UP"
QT_MOC_LITERAL(56, 759, 16), // "MOVE_COLUMN_DOWN"
QT_MOC_LITERAL(57, 776, 23), // "GENERATE_OUTPUT_COLUMNS"
QT_MOC_LITERAL(58, 800, 16), // "REFRESH_TRIGGERS"
QT_MOC_LITERAL(59, 817, 11), // "ADD_TRIGGER"
QT_MOC_LITERAL(60, 829, 12), // "EDIT_TRIGGER"
QT_MOC_LITERAL(61, 842, 11), // "DEL_TRIGGER"
QT_MOC_LITERAL(62, 854, 8), // "NEXT_TAB"
QT_MOC_LITERAL(63, 863, 8), // "PREV_TAB"
QT_MOC_LITERAL(64, 872, 13) // "EXECUTE_QUERY"

    },
    "ViewWindow\0refreshView\0\0executeQuery\0"
    "commitView\0skipWarnings\0loadDataAfterNextCommit\0"
    "rollbackView\0addTrigger\0editTrigger\0"
    "deleteTrigger\0executionSuccessful\0"
    "executionFailed\0errorMessage\0tabChanged\0"
    "tabIdx\0updateQueryToolbarStatus\0"
    "changesSuccessfullyCommitted\0"
    "changesFailedToCommit\0errorCode\0"
    "errorText\0updateTriggersState\0nextTab\0"
    "prevTab\0dbClosedFinalCleanup\0"
    "checkIfViewDeleted\0database\0object\0"
    "DbObjectType\0type\0updateOutputColumnsVisibility\0"
    "addColumn\0editColumn\0delColumn\0"
    "moveColumnUp\0moveColumnDown\0"
    "updateColumnButtons\0generateOutputColumns\0"
    "updateTabsOrder\0triggerViewDoubleClicked\0"
    "QModelIndex\0idx\0updateFont\0dbChanged\0"
    "handleObjectModified\0Db*\0db\0refreshTriggers\0"
    "Action\0REFRESH_QUERY\0COMMIT_QUERY\0"
    "ROLLBACK_QUERY\0ADD_COLUMN\0EDIT_COLUMN\0"
    "DEL_COLUMN\0MOVE_COLUMN_UP\0MOVE_COLUMN_DOWN\0"
    "GENERATE_OUTPUT_COLUMNS\0REFRESH_TRIGGERS\0"
    "ADD_TRIGGER\0EDIT_TRIGGER\0DEL_TRIGGER\0"
    "NEXT_TAB\0PREV_TAB\0EXECUTE_QUERY"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ViewWindow[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      34,   14, // methods
       0,    0, // properties
       1,  246, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    0,  184,    2, 0x08 /* Private */,
       3,    0,  185,    2, 0x08 /* Private */,
       4,    2,  186,    2, 0x08 /* Private */,
       4,    1,  191,    2, 0x28 /* Private | MethodCloned */,
       4,    0,  194,    2, 0x28 /* Private | MethodCloned */,
       7,    0,  195,    2, 0x08 /* Private */,
       8,    0,  196,    2, 0x08 /* Private */,
       9,    0,  197,    2, 0x08 /* Private */,
      10,    0,  198,    2, 0x08 /* Private */,
      11,    0,  199,    2, 0x08 /* Private */,
      12,    1,  200,    2, 0x08 /* Private */,
      14,    1,  203,    2, 0x08 /* Private */,
      16,    0,  206,    2, 0x08 /* Private */,
      17,    0,  207,    2, 0x08 /* Private */,
      18,    2,  208,    2, 0x08 /* Private */,
      21,    0,  213,    2, 0x08 /* Private */,
      22,    0,  214,    2, 0x08 /* Private */,
      23,    0,  215,    2, 0x08 /* Private */,
      24,    0,  216,    2, 0x08 /* Private */,
      25,    3,  217,    2, 0x08 /* Private */,
      30,    0,  224,    2, 0x08 /* Private */,
      31,    0,  225,    2, 0x08 /* Private */,
      32,    0,  226,    2, 0x08 /* Private */,
      33,    0,  227,    2, 0x08 /* Private */,
      34,    0,  228,    2, 0x08 /* Private */,
      35,    0,  229,    2, 0x08 /* Private */,
      36,    0,  230,    2, 0x08 /* Private */,
      37,    0,  231,    2, 0x08 /* Private */,
      38,    0,  232,    2, 0x08 /* Private */,
      39,    1,  233,    2, 0x08 /* Private */,
      42,    0,  236,    2, 0x08 /* Private */,
      43,    0,  237,    2, 0x08 /* Private */,
      44,    3,  238,    2, 0x08 /* Private */,
      47,    0,  245,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool,    5,    6,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   19,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 28,   26,   27,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 40,   41,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 45, QMetaType::QString, QMetaType::QString,   46,   26,   27,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      48,   48, 0x0,   16,  251,

 // enum data: key, value
      49, uint(ViewWindow::REFRESH_QUERY),
      50, uint(ViewWindow::COMMIT_QUERY),
      51, uint(ViewWindow::ROLLBACK_QUERY),
      52, uint(ViewWindow::ADD_COLUMN),
      53, uint(ViewWindow::EDIT_COLUMN),
      54, uint(ViewWindow::DEL_COLUMN),
      55, uint(ViewWindow::MOVE_COLUMN_UP),
      56, uint(ViewWindow::MOVE_COLUMN_DOWN),
      57, uint(ViewWindow::GENERATE_OUTPUT_COLUMNS),
      58, uint(ViewWindow::REFRESH_TRIGGERS),
      59, uint(ViewWindow::ADD_TRIGGER),
      60, uint(ViewWindow::EDIT_TRIGGER),
      61, uint(ViewWindow::DEL_TRIGGER),
      62, uint(ViewWindow::NEXT_TAB),
      63, uint(ViewWindow::PREV_TAB),
      64, uint(ViewWindow::EXECUTE_QUERY),

       0        // eod
};

void ViewWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ViewWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->refreshView(); break;
        case 1: _t->executeQuery(); break;
        case 2: _t->commitView((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->commitView((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->commitView(); break;
        case 5: _t->rollbackView(); break;
        case 6: _t->addTrigger(); break;
        case 7: _t->editTrigger(); break;
        case 8: _t->deleteTrigger(); break;
        case 9: _t->executionSuccessful(); break;
        case 10: _t->executionFailed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->tabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->updateQueryToolbarStatus(); break;
        case 13: _t->changesSuccessfullyCommitted(); break;
        case 14: _t->changesFailedToCommit((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: _t->updateTriggersState(); break;
        case 16: _t->nextTab(); break;
        case 17: _t->prevTab(); break;
        case 18: _t->dbClosedFinalCleanup(); break;
        case 19: _t->checkIfViewDeleted((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< DbObjectType(*)>(_a[3]))); break;
        case 20: _t->updateOutputColumnsVisibility(); break;
        case 21: _t->addColumn(); break;
        case 22: _t->editColumn(); break;
        case 23: _t->delColumn(); break;
        case 24: _t->moveColumnUp(); break;
        case 25: _t->moveColumnDown(); break;
        case 26: _t->updateColumnButtons(); break;
        case 27: _t->generateOutputColumns(); break;
        case 28: _t->updateTabsOrder(); break;
        case 29: _t->triggerViewDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 30: _t->updateFont(); break;
        case 31: _t->dbChanged(); break;
        case 32: _t->handleObjectModified((*reinterpret_cast< Db*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 33: _t->refreshTriggers(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 32:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Db* >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ViewWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<MdiChild::staticMetaObject>(),
    qt_meta_stringdata_ViewWindow.data,
    qt_meta_data_ViewWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *ViewWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ViewWindow.stringdata0))
        return static_cast<void*>(this);
    return MdiChild::qt_metacast(_clname);
}

int ViewWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MdiChild::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
