/****************************************************************************
** Meta object code from reading C++ file 'editorwindow.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/editorwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editorwindow.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_EditorWindow_t {
    QByteArrayData data[55];
    char stringdata0[828];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditorWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditorWindow_t qt_meta_stringdata_EditorWindow = {
    {
QT_MOC_LITERAL(0, 0, 12), // "EditorWindow"
QT_MOC_LITERAL(1, 13, 9), // "execQuery"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 7), // "explain"
QT_MOC_LITERAL(4, 32, 13), // "QueryExecMode"
QT_MOC_LITERAL(5, 46, 18), // "querySelectionMode"
QT_MOC_LITERAL(6, 65, 12), // "execOneQuery"
QT_MOC_LITERAL(7, 78, 14), // "execAllQueries"
QT_MOC_LITERAL(8, 93, 12), // "explainQuery"
QT_MOC_LITERAL(9, 106, 9), // "dbChanged"
QT_MOC_LITERAL(10, 116, 19), // "executionSuccessful"
QT_MOC_LITERAL(11, 136, 15), // "executionFailed"
QT_MOC_LITERAL(12, 152, 9), // "errorText"
QT_MOC_LITERAL(13, 162, 23), // "storeExecutionInHistory"
QT_MOC_LITERAL(14, 186, 24), // "updateResultsDisplayMode"
QT_MOC_LITERAL(15, 211, 6), // "prevDb"
QT_MOC_LITERAL(16, 218, 6), // "nextDb"
QT_MOC_LITERAL(17, 225, 11), // "showNextTab"
QT_MOC_LITERAL(18, 237, 11), // "showPrevTab"
QT_MOC_LITERAL(19, 249, 17), // "focusResultsBelow"
QT_MOC_LITERAL(20, 267, 16), // "focusEditorAbove"
QT_MOC_LITERAL(21, 284, 20), // "historyEntrySelected"
QT_MOC_LITERAL(22, 305, 11), // "QModelIndex"
QT_MOC_LITERAL(23, 317, 7), // "current"
QT_MOC_LITERAL(24, 325, 8), // "previous"
QT_MOC_LITERAL(25, 334, 21), // "historyEntryActivated"
QT_MOC_LITERAL(26, 356, 24), // "deleteSelectedSqlHistory"
QT_MOC_LITERAL(27, 381, 12), // "clearHistory"
QT_MOC_LITERAL(28, 394, 30), // "sqlHistoryContextMenuRequested"
QT_MOC_LITERAL(29, 425, 3), // "pos"
QT_MOC_LITERAL(30, 429, 13), // "exportResults"
QT_MOC_LITERAL(31, 443, 19), // "createViewFromQuery"
QT_MOC_LITERAL(32, 463, 11), // "updateState"
QT_MOC_LITERAL(33, 475, 26), // "checkTextChangedForSession"
QT_MOC_LITERAL(34, 502, 30), // "queryHighlightingConfigChanged"
QT_MOC_LITERAL(35, 533, 7), // "enabled"
QT_MOC_LITERAL(36, 541, 21), // "refreshValidDbObjects"
QT_MOC_LITERAL(37, 563, 6), // "Action"
QT_MOC_LITERAL(38, 570, 10), // "EXEC_QUERY"
QT_MOC_LITERAL(39, 581, 14), // "EXEC_ONE_QUERY"
QT_MOC_LITERAL(40, 596, 16), // "EXEC_ALL_QUERIES"
QT_MOC_LITERAL(41, 613, 13), // "EXPLAIN_QUERY"
QT_MOC_LITERAL(42, 627, 14), // "RESULTS_IN_TAB"
QT_MOC_LITERAL(43, 642, 13), // "RESULTS_BELOW"
QT_MOC_LITERAL(44, 656, 10), // "CURRENT_DB"
QT_MOC_LITERAL(45, 667, 7), // "NEXT_DB"
QT_MOC_LITERAL(46, 675, 7), // "PREV_DB"
QT_MOC_LITERAL(47, 683, 13), // "SHOW_NEXT_TAB"
QT_MOC_LITERAL(48, 697, 13), // "SHOW_PREV_TAB"
QT_MOC_LITERAL(49, 711, 19), // "FOCUS_RESULTS_BELOW"
QT_MOC_LITERAL(50, 731, 18), // "FOCUS_EDITOR_ABOVE"
QT_MOC_LITERAL(51, 750, 13), // "CLEAR_HISTORY"
QT_MOC_LITERAL(52, 764, 14), // "EXPORT_RESULTS"
QT_MOC_LITERAL(53, 779, 22), // "CREATE_VIEW_FROM_QUERY"
QT_MOC_LITERAL(54, 802, 25) // "DELETE_SINGLE_HISTORY_SQL"

    },
    "EditorWindow\0execQuery\0\0explain\0"
    "QueryExecMode\0querySelectionMode\0"
    "execOneQuery\0execAllQueries\0explainQuery\0"
    "dbChanged\0executionSuccessful\0"
    "executionFailed\0errorText\0"
    "storeExecutionInHistory\0"
    "updateResultsDisplayMode\0prevDb\0nextDb\0"
    "showNextTab\0showPrevTab\0focusResultsBelow\0"
    "focusEditorAbove\0historyEntrySelected\0"
    "QModelIndex\0current\0previous\0"
    "historyEntryActivated\0deleteSelectedSqlHistory\0"
    "clearHistory\0sqlHistoryContextMenuRequested\0"
    "pos\0exportResults\0createViewFromQuery\0"
    "updateState\0checkTextChangedForSession\0"
    "queryHighlightingConfigChanged\0enabled\0"
    "refreshValidDbObjects\0Action\0EXEC_QUERY\0"
    "EXEC_ONE_QUERY\0EXEC_ALL_QUERIES\0"
    "EXPLAIN_QUERY\0RESULTS_IN_TAB\0RESULTS_BELOW\0"
    "CURRENT_DB\0NEXT_DB\0PREV_DB\0SHOW_NEXT_TAB\0"
    "SHOW_PREV_TAB\0FOCUS_RESULTS_BELOW\0"
    "FOCUS_EDITOR_ABOVE\0CLEAR_HISTORY\0"
    "EXPORT_RESULTS\0CREATE_VIEW_FROM_QUERY\0"
    "DELETE_SINGLE_HISTORY_SQL"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditorWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,  154,    2, 0x08 /* Private */,
       1,    1,  159,    2, 0x28 /* Private | MethodCloned */,
       1,    0,  162,    2, 0x28 /* Private | MethodCloned */,
       6,    0,  163,    2, 0x08 /* Private */,
       7,    0,  164,    2, 0x08 /* Private */,
       8,    0,  165,    2, 0x08 /* Private */,
       9,    0,  166,    2, 0x08 /* Private */,
      10,    0,  167,    2, 0x08 /* Private */,
      11,    1,  168,    2, 0x08 /* Private */,
      13,    0,  171,    2, 0x08 /* Private */,
      14,    0,  172,    2, 0x08 /* Private */,
      15,    0,  173,    2, 0x08 /* Private */,
      16,    0,  174,    2, 0x08 /* Private */,
      17,    0,  175,    2, 0x08 /* Private */,
      18,    0,  176,    2, 0x08 /* Private */,
      19,    0,  177,    2, 0x08 /* Private */,
      20,    0,  178,    2, 0x08 /* Private */,
      21,    2,  179,    2, 0x08 /* Private */,
      25,    1,  184,    2, 0x08 /* Private */,
      26,    0,  187,    2, 0x08 /* Private */,
      27,    0,  188,    2, 0x08 /* Private */,
      28,    1,  189,    2, 0x08 /* Private */,
      30,    0,  192,    2, 0x08 /* Private */,
      31,    0,  193,    2, 0x08 /* Private */,
      32,    0,  194,    2, 0x08 /* Private */,
      33,    0,  195,    2, 0x08 /* Private */,
      34,    1,  196,    2, 0x08 /* Private */,
      36,    0,  199,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22, 0x80000000 | 22,   23,   24,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QVariant,   35,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      37,   37, 0x0,   17,  205,

 // enum data: key, value
      38, uint(EditorWindow::EXEC_QUERY),
      39, uint(EditorWindow::EXEC_ONE_QUERY),
      40, uint(EditorWindow::EXEC_ALL_QUERIES),
      41, uint(EditorWindow::EXPLAIN_QUERY),
      42, uint(EditorWindow::RESULTS_IN_TAB),
      43, uint(EditorWindow::RESULTS_BELOW),
      44, uint(EditorWindow::CURRENT_DB),
      45, uint(EditorWindow::NEXT_DB),
      46, uint(EditorWindow::PREV_DB),
      47, uint(EditorWindow::SHOW_NEXT_TAB),
      48, uint(EditorWindow::SHOW_PREV_TAB),
      49, uint(EditorWindow::FOCUS_RESULTS_BELOW),
      50, uint(EditorWindow::FOCUS_EDITOR_ABOVE),
      51, uint(EditorWindow::CLEAR_HISTORY),
      52, uint(EditorWindow::EXPORT_RESULTS),
      53, uint(EditorWindow::CREATE_VIEW_FROM_QUERY),
      54, uint(EditorWindow::DELETE_SINGLE_HISTORY_SQL),

       0        // eod
};

void EditorWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EditorWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->execQuery((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< QueryExecMode(*)>(_a[2]))); break;
        case 1: _t->execQuery((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->execQuery(); break;
        case 3: _t->execOneQuery(); break;
        case 4: _t->execAllQueries(); break;
        case 5: _t->explainQuery(); break;
        case 6: _t->dbChanged(); break;
        case 7: _t->executionSuccessful(); break;
        case 8: _t->executionFailed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->storeExecutionInHistory(); break;
        case 10: _t->updateResultsDisplayMode(); break;
        case 11: _t->prevDb(); break;
        case 12: _t->nextDb(); break;
        case 13: _t->showNextTab(); break;
        case 14: _t->showPrevTab(); break;
        case 15: _t->focusResultsBelow(); break;
        case 16: _t->focusEditorAbove(); break;
        case 17: _t->historyEntrySelected((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 18: _t->historyEntryActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 19: _t->deleteSelectedSqlHistory(); break;
        case 20: _t->clearHistory(); break;
        case 21: _t->sqlHistoryContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 22: _t->exportResults(); break;
        case 23: _t->createViewFromQuery(); break;
        case 24: _t->updateState(); break;
        case 25: _t->checkTextChangedForSession(); break;
        case 26: _t->queryHighlightingConfigChanged((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        case 27: _t->refreshValidDbObjects(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EditorWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<MdiChild::staticMetaObject>(),
    qt_meta_stringdata_EditorWindow.data,
    qt_meta_data_EditorWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int EditorWindow::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 < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 28;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
