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

#include <memory>
#include "../../sqliteman-1.2.2/sqliteman/sqleditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sqleditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_SqlEditor_t {
    QByteArrayData data[31];
    char stringdata0[486];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SqlEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SqlEditor_t qt_meta_stringdata_SqlEditor = {
    {
QT_MOC_LITERAL(0, 0, 9), // "SqlEditor"
QT_MOC_LITERAL(1, 10, 13), // "showSqlResult"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 7), // "command"
QT_MOC_LITERAL(4, 33, 14), // "sqlScriptStart"
QT_MOC_LITERAL(5, 48, 19), // "showSqlScriptResult"
QT_MOC_LITERAL(6, 68, 4), // "line"
QT_MOC_LITERAL(7, 73, 9), // "buildTree"
QT_MOC_LITERAL(8, 83, 15), // "rebuildViewTree"
QT_MOC_LITERAL(9, 99, 6), // "schema"
QT_MOC_LITERAL(10, 106, 4), // "name"
QT_MOC_LITERAL(11, 111, 24), // "action_Run_SQL_triggered"
QT_MOC_LITERAL(12, 136, 27), // "actionRun_Explain_triggered"
QT_MOC_LITERAL(13, 164, 29), // "actionRun_as_Script_triggered"
QT_MOC_LITERAL(14, 194, 21), // "action_Open_triggered"
QT_MOC_LITERAL(15, 216, 21), // "action_Save_triggered"
QT_MOC_LITERAL(16, 238, 20), // "action_New_triggered"
QT_MOC_LITERAL(17, 259, 23), // "actionSave_As_triggered"
QT_MOC_LITERAL(18, 283, 26), // "actionCreateView_triggered"
QT_MOC_LITERAL(19, 310, 33), // "sqlTextEdit_cursorPositionCha..."
QT_MOC_LITERAL(20, 344, 15), // "documentChanged"
QT_MOC_LITERAL(21, 360, 5), // "state"
QT_MOC_LITERAL(22, 366, 6), // "cancel"
QT_MOC_LITERAL(23, 373, 22), // "actionSearch_triggered"
QT_MOC_LITERAL(24, 396, 22), // "searchEdit_textChanged"
QT_MOC_LITERAL(25, 419, 4), // "text"
QT_MOC_LITERAL(26, 424, 12), // "findPrevious"
QT_MOC_LITERAL(27, 437, 8), // "findNext"
QT_MOC_LITERAL(28, 446, 18), // "externalFileChange"
QT_MOC_LITERAL(29, 465, 4), // "path"
QT_MOC_LITERAL(30, 470, 15) // "scriptCancelled"

    },
    "SqlEditor\0showSqlResult\0\0command\0"
    "sqlScriptStart\0showSqlScriptResult\0"
    "line\0buildTree\0rebuildViewTree\0schema\0"
    "name\0action_Run_SQL_triggered\0"
    "actionRun_Explain_triggered\0"
    "actionRun_as_Script_triggered\0"
    "action_Open_triggered\0action_Save_triggered\0"
    "action_New_triggered\0actionSave_As_triggered\0"
    "actionCreateView_triggered\0"
    "sqlTextEdit_cursorPositionChanged\0"
    "documentChanged\0state\0cancel\0"
    "actionSearch_triggered\0searchEdit_textChanged\0"
    "text\0findPrevious\0findNext\0"
    "externalFileChange\0path\0scriptCancelled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SqlEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x06 /* Public */,
       4,    0,  127,    2, 0x06 /* Public */,
       5,    1,  128,    2, 0x06 /* Public */,
       7,    0,  131,    2, 0x06 /* Public */,
       8,    2,  132,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  137,    2, 0x08 /* Private */,
      12,    0,  138,    2, 0x08 /* Private */,
      13,    0,  139,    2, 0x08 /* Private */,
      14,    0,  140,    2, 0x08 /* Private */,
      15,    0,  141,    2, 0x08 /* Private */,
      16,    0,  142,    2, 0x08 /* Private */,
      17,    0,  143,    2, 0x08 /* Private */,
      18,    0,  144,    2, 0x08 /* Private */,
      19,    2,  145,    2, 0x08 /* Private */,
      20,    1,  150,    2, 0x08 /* Private */,
      22,    0,  153,    2, 0x08 /* Private */,
      23,    0,  154,    2, 0x08 /* Private */,
      24,    1,  155,    2, 0x08 /* Private */,
      26,    0,  158,    2, 0x08 /* Private */,
      27,    0,  159,    2, 0x08 /* Private */,
      28,    1,  160,    2, 0x08 /* Private */,
      30,    0,  163,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    9,   10,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::Bool,   21,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void,

       0        // eod
};

void SqlEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SqlEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->showSqlResult((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: _t->sqlScriptStart(); break;
        case 2: _t->showSqlScriptResult((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: _t->buildTree(); break;
        case 4: _t->rebuildViewTree((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 5: _t->action_Run_SQL_triggered(); break;
        case 6: _t->actionRun_Explain_triggered(); break;
        case 7: _t->actionRun_as_Script_triggered(); break;
        case 8: _t->action_Open_triggered(); break;
        case 9: _t->action_Save_triggered(); break;
        case 10: _t->action_New_triggered(); break;
        case 11: _t->actionSave_As_triggered(); break;
        case 12: _t->actionCreateView_triggered(); break;
        case 13: _t->sqlTextEdit_cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->documentChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->cancel(); break;
        case 16: _t->actionSearch_triggered(); break;
        case 17: _t->searchEdit_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->findPrevious(); break;
        case 19: _t->findNext(); break;
        case 20: _t->externalFileChange((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 21: _t->scriptCancelled(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SqlEditor::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlEditor::showSqlResult)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SqlEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlEditor::sqlScriptStart)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SqlEditor::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlEditor::showSqlScriptResult)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (SqlEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlEditor::buildTree)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (SqlEditor::*)(QString , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlEditor::rebuildViewTree)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SqlEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_SqlEditor.data,
    qt_meta_data_SqlEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void SqlEditor::showSqlResult(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void SqlEditor::showSqlScriptResult(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void SqlEditor::rebuildViewTree(QString _t1, QString _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
