/****************************************************************************
** Meta object code from reading C++ file 'sqleditor.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/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.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_SqlEditor_t {
    QByteArrayData data[95];
    char stringdata0[1232];
};
#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), // "errorsChecked"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 10), // "haveErrors"
QT_MOC_LITERAL(4, 36, 15), // "highlightSyntax"
QT_MOC_LITERAL(5, 52, 26), // "customContextMenuRequested"
QT_MOC_LITERAL(6, 79, 3), // "pos"
QT_MOC_LITERAL(7, 83, 16), // "updateUndoAction"
QT_MOC_LITERAL(8, 100, 7), // "enabled"
QT_MOC_LITERAL(9, 108, 16), // "updateRedoAction"
QT_MOC_LITERAL(10, 125, 16), // "updateCopyAction"
QT_MOC_LITERAL(11, 142, 14), // "deleteSelected"
QT_MOC_LITERAL(12, 157, 11), // "homePressed"
QT_MOC_LITERAL(13, 169, 21), // "Qt::KeyboardModifiers"
QT_MOC_LITERAL(14, 191, 9), // "modifiers"
QT_MOC_LITERAL(15, 201, 10), // "tabPressed"
QT_MOC_LITERAL(16, 212, 12), // "shiftPressed"
QT_MOC_LITERAL(17, 225, 16), // "backspacePressed"
QT_MOC_LITERAL(18, 242, 8), // "complete"
QT_MOC_LITERAL(19, 251, 16), // "completeSelected"
QT_MOC_LITERAL(20, 268, 22), // "checkForAutoCompletion"
QT_MOC_LITERAL(21, 291, 18), // "completerTypedText"
QT_MOC_LITERAL(22, 310, 4), // "text"
QT_MOC_LITERAL(23, 315, 25), // "completerBackspacePressed"
QT_MOC_LITERAL(24, 341, 20), // "completerLeftPressed"
QT_MOC_LITERAL(25, 362, 21), // "completerRightPressed"
QT_MOC_LITERAL(26, 384, 13), // "parseContents"
QT_MOC_LITERAL(27, 398, 35), // "scheduleQueryParserForSchemaR..."
QT_MOC_LITERAL(28, 434, 19), // "scheduleQueryParser"
QT_MOC_LITERAL(29, 454, 5), // "force"
QT_MOC_LITERAL(30, 460, 13), // "skipCompleter"
QT_MOC_LITERAL(31, 474, 25), // "updateLineNumberAreaWidth"
QT_MOC_LITERAL(32, 500, 20), // "updateLineNumberArea"
QT_MOC_LITERAL(33, 521, 4), // "rect"
QT_MOC_LITERAL(34, 526, 2), // "dy"
QT_MOC_LITERAL(35, 529, 11), // "cursorMoved"
QT_MOC_LITERAL(36, 541, 16), // "checkContentSize"
QT_MOC_LITERAL(37, 558, 9), // "formatSql"
QT_MOC_LITERAL(38, 568, 10), // "saveToFile"
QT_MOC_LITERAL(39, 579, 12), // "saveAsToFile"
QT_MOC_LITERAL(40, 592, 12), // "loadFromFile"
QT_MOC_LITERAL(41, 605, 10), // "deleteLine"
QT_MOC_LITERAL(42, 616, 13), // "moveBlockDown"
QT_MOC_LITERAL(43, 630, 9), // "deleteOld"
QT_MOC_LITERAL(44, 640, 11), // "moveBlockUp"
QT_MOC_LITERAL(45, 652, 13), // "copyBlockDown"
QT_MOC_LITERAL(46, 666, 11), // "copyBlockUp"
QT_MOC_LITERAL(47, 678, 4), // "find"
QT_MOC_LITERAL(48, 683, 8), // "findNext"
QT_MOC_LITERAL(49, 692, 12), // "findPrevious"
QT_MOC_LITERAL(50, 705, 7), // "replace"
QT_MOC_LITERAL(51, 713, 5), // "found"
QT_MOC_LITERAL(52, 719, 5), // "start"
QT_MOC_LITERAL(53, 725, 3), // "end"
QT_MOC_LITERAL(54, 729, 10), // "reachedEnd"
QT_MOC_LITERAL(55, 740, 10), // "changeFont"
QT_MOC_LITERAL(56, 751, 4), // "font"
QT_MOC_LITERAL(57, 756, 14), // "configModified"
QT_MOC_LITERAL(58, 771, 13), // "toggleComment"
QT_MOC_LITERAL(59, 785, 19), // "wordWrappingChanged"
QT_MOC_LITERAL(60, 805, 5), // "value"
QT_MOC_LITERAL(61, 811, 36), // "currentCursorContextDelayedHi..."
QT_MOC_LITERAL(62, 848, 23), // "fontSizeChangeRequested"
QT_MOC_LITERAL(63, 872, 5), // "delta"
QT_MOC_LITERAL(64, 878, 12), // "incrFontSize"
QT_MOC_LITERAL(65, 891, 12), // "decrFontSize"
QT_MOC_LITERAL(66, 904, 12), // "moveCursorTo"
QT_MOC_LITERAL(67, 917, 19), // "colorsConfigChanged"
QT_MOC_LITERAL(68, 937, 19), // "refreshValidObjects"
QT_MOC_LITERAL(69, 957, 6), // "Action"
QT_MOC_LITERAL(70, 964, 4), // "COPY"
QT_MOC_LITERAL(71, 969, 5), // "PASTE"
QT_MOC_LITERAL(72, 975, 3), // "CUT"
QT_MOC_LITERAL(73, 979, 4), // "UNDO"
QT_MOC_LITERAL(74, 984, 4), // "REDO"
QT_MOC_LITERAL(75, 989, 6), // "DELETE"
QT_MOC_LITERAL(76, 996, 10), // "SELECT_ALL"
QT_MOC_LITERAL(77, 1007, 10), // "FORMAT_SQL"
QT_MOC_LITERAL(78, 1018, 13), // "OPEN_SQL_FILE"
QT_MOC_LITERAL(79, 1032, 13), // "SAVE_SQL_FILE"
QT_MOC_LITERAL(80, 1046, 16), // "SAVE_AS_SQL_FILE"
QT_MOC_LITERAL(81, 1063, 11), // "DELETE_LINE"
QT_MOC_LITERAL(82, 1075, 8), // "COMPLETE"
QT_MOC_LITERAL(83, 1084, 15), // "MOVE_BLOCK_DOWN"
QT_MOC_LITERAL(84, 1100, 13), // "MOVE_BLOCK_UP"
QT_MOC_LITERAL(85, 1114, 15), // "COPY_BLOCK_DOWN"
QT_MOC_LITERAL(86, 1130, 13), // "COPY_BLOCK_UP"
QT_MOC_LITERAL(87, 1144, 4), // "FIND"
QT_MOC_LITERAL(88, 1149, 9), // "FIND_NEXT"
QT_MOC_LITERAL(89, 1159, 9), // "FIND_PREV"
QT_MOC_LITERAL(90, 1169, 7), // "REPLACE"
QT_MOC_LITERAL(91, 1177, 14), // "TOGGLE_COMMENT"
QT_MOC_LITERAL(92, 1192, 9), // "WORD_WRAP"
QT_MOC_LITERAL(93, 1202, 14), // "INCR_FONT_SIZE"
QT_MOC_LITERAL(94, 1217, 14) // "DECR_FONT_SIZE"

    },
    "SqlEditor\0errorsChecked\0\0haveErrors\0"
    "highlightSyntax\0customContextMenuRequested\0"
    "pos\0updateUndoAction\0enabled\0"
    "updateRedoAction\0updateCopyAction\0"
    "deleteSelected\0homePressed\0"
    "Qt::KeyboardModifiers\0modifiers\0"
    "tabPressed\0shiftPressed\0backspacePressed\0"
    "complete\0completeSelected\0"
    "checkForAutoCompletion\0completerTypedText\0"
    "text\0completerBackspacePressed\0"
    "completerLeftPressed\0completerRightPressed\0"
    "parseContents\0scheduleQueryParserForSchemaRefresh\0"
    "scheduleQueryParser\0force\0skipCompleter\0"
    "updateLineNumberAreaWidth\0"
    "updateLineNumberArea\0rect\0dy\0cursorMoved\0"
    "checkContentSize\0formatSql\0saveToFile\0"
    "saveAsToFile\0loadFromFile\0deleteLine\0"
    "moveBlockDown\0deleteOld\0moveBlockUp\0"
    "copyBlockDown\0copyBlockUp\0find\0findNext\0"
    "findPrevious\0replace\0found\0start\0end\0"
    "reachedEnd\0changeFont\0font\0configModified\0"
    "toggleComment\0wordWrappingChanged\0"
    "value\0currentCursorContextDelayedHighlight\0"
    "fontSizeChangeRequested\0delta\0"
    "incrFontSize\0decrFontSize\0moveCursorTo\0"
    "colorsConfigChanged\0refreshValidObjects\0"
    "Action\0COPY\0PASTE\0CUT\0UNDO\0REDO\0DELETE\0"
    "SELECT_ALL\0FORMAT_SQL\0OPEN_SQL_FILE\0"
    "SAVE_SQL_FILE\0SAVE_AS_SQL_FILE\0"
    "DELETE_LINE\0COMPLETE\0MOVE_BLOCK_DOWN\0"
    "MOVE_BLOCK_UP\0COPY_BLOCK_DOWN\0"
    "COPY_BLOCK_UP\0FIND\0FIND_NEXT\0FIND_PREV\0"
    "REPLACE\0TOGGLE_COMMENT\0WORD_WRAP\0"
    "INCR_FONT_SIZE\0DECR_FONT_SIZE"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SqlEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  284,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,  287,    2, 0x08 /* Private */,
       5,    1,  288,    2, 0x08 /* Private */,
       7,    1,  291,    2, 0x08 /* Private */,
       9,    1,  294,    2, 0x08 /* Private */,
      10,    1,  297,    2, 0x08 /* Private */,
      11,    0,  300,    2, 0x08 /* Private */,
      12,    1,  301,    2, 0x08 /* Private */,
      15,    1,  304,    2, 0x08 /* Private */,
      17,    0,  307,    2, 0x08 /* Private */,
      18,    0,  308,    2, 0x08 /* Private */,
      19,    0,  309,    2, 0x08 /* Private */,
      20,    0,  310,    2, 0x08 /* Private */,
      21,    1,  311,    2, 0x08 /* Private */,
      23,    0,  314,    2, 0x08 /* Private */,
      24,    0,  315,    2, 0x08 /* Private */,
      25,    0,  316,    2, 0x08 /* Private */,
      26,    0,  317,    2, 0x08 /* Private */,
      27,    0,  318,    2, 0x08 /* Private */,
      28,    2,  319,    2, 0x08 /* Private */,
      28,    1,  324,    2, 0x28 /* Private | MethodCloned */,
      28,    0,  327,    2, 0x28 /* Private | MethodCloned */,
      31,    0,  328,    2, 0x08 /* Private */,
      32,    2,  329,    2, 0x08 /* Private */,
      35,    0,  334,    2, 0x08 /* Private */,
      36,    0,  335,    2, 0x08 /* Private */,
      37,    0,  336,    2, 0x08 /* Private */,
      38,    0,  337,    2, 0x08 /* Private */,
      39,    0,  338,    2, 0x08 /* Private */,
      40,    0,  339,    2, 0x08 /* Private */,
      41,    0,  340,    2, 0x08 /* Private */,
      42,    1,  341,    2, 0x08 /* Private */,
      42,    0,  344,    2, 0x28 /* Private | MethodCloned */,
      44,    1,  345,    2, 0x08 /* Private */,
      44,    0,  348,    2, 0x28 /* Private | MethodCloned */,
      45,    0,  349,    2, 0x08 /* Private */,
      46,    0,  350,    2, 0x08 /* Private */,
      47,    0,  351,    2, 0x08 /* Private */,
      48,    0,  352,    2, 0x08 /* Private */,
      49,    0,  353,    2, 0x08 /* Private */,
      50,    0,  354,    2, 0x08 /* Private */,
      51,    2,  355,    2, 0x08 /* Private */,
      54,    0,  360,    2, 0x08 /* Private */,
      55,    1,  361,    2, 0x08 /* Private */,
      57,    0,  364,    2, 0x08 /* Private */,
      58,    0,  365,    2, 0x08 /* Private */,
      59,    1,  366,    2, 0x08 /* Private */,
      61,    0,  369,    2, 0x08 /* Private */,
      62,    1,  370,    2, 0x08 /* Private */,
      64,    0,  373,    2, 0x08 /* Private */,
      65,    0,  374,    2, 0x08 /* Private */,
      66,    1,  375,    2, 0x08 /* Private */,
      67,    0,  378,    2, 0x0a /* Public */,
      68,    0,  379,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool,   29,   30,
    QMetaType::Void, QMetaType::Bool,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect, QMetaType::Int,   33,   34,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   43,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   43,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   52,   53,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QVariant,   56,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QVariant,   60,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   63,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      69,   69, 0x0,   25,  385,

 // enum data: key, value
      70, uint(SqlEditor::COPY),
      71, uint(SqlEditor::PASTE),
      72, uint(SqlEditor::CUT),
      73, uint(SqlEditor::UNDO),
      74, uint(SqlEditor::REDO),
      75, uint(SqlEditor::DELETE),
      76, uint(SqlEditor::SELECT_ALL),
      77, uint(SqlEditor::FORMAT_SQL),
      78, uint(SqlEditor::OPEN_SQL_FILE),
      79, uint(SqlEditor::SAVE_SQL_FILE),
      80, uint(SqlEditor::SAVE_AS_SQL_FILE),
      81, uint(SqlEditor::DELETE_LINE),
      82, uint(SqlEditor::COMPLETE),
      83, uint(SqlEditor::MOVE_BLOCK_DOWN),
      84, uint(SqlEditor::MOVE_BLOCK_UP),
      85, uint(SqlEditor::COPY_BLOCK_DOWN),
      86, uint(SqlEditor::COPY_BLOCK_UP),
      87, uint(SqlEditor::FIND),
      88, uint(SqlEditor::FIND_NEXT),
      89, uint(SqlEditor::FIND_PREV),
      90, uint(SqlEditor::REPLACE),
      91, uint(SqlEditor::TOGGLE_COMMENT),
      92, uint(SqlEditor::WORD_WRAP),
      93, uint(SqlEditor::INCR_FONT_SIZE),
      94, uint(SqlEditor::DECR_FONT_SIZE),

       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->errorsChecked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->highlightSyntax(); break;
        case 2: _t->customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 3: _t->updateUndoAction((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->updateRedoAction((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->updateCopyAction((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->deleteSelected(); break;
        case 7: _t->homePressed((*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[1]))); break;
        case 8: _t->tabPressed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->backspacePressed(); break;
        case 10: _t->complete(); break;
        case 11: _t->completeSelected(); break;
        case 12: _t->checkForAutoCompletion(); break;
        case 13: _t->completerTypedText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->completerBackspacePressed(); break;
        case 15: _t->completerLeftPressed(); break;
        case 16: _t->completerRightPressed(); break;
        case 17: _t->parseContents(); break;
        case 18: _t->scheduleQueryParserForSchemaRefresh(); break;
        case 19: _t->scheduleQueryParser((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 20: _t->scheduleQueryParser((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->scheduleQueryParser(); break;
        case 22: _t->updateLineNumberAreaWidth(); break;
        case 23: _t->updateLineNumberArea((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 24: _t->cursorMoved(); break;
        case 25: _t->checkContentSize(); break;
        case 26: _t->formatSql(); break;
        case 27: _t->saveToFile(); break;
        case 28: _t->saveAsToFile(); break;
        case 29: _t->loadFromFile(); break;
        case 30: _t->deleteLine(); break;
        case 31: _t->moveBlockDown((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 32: _t->moveBlockDown(); break;
        case 33: _t->moveBlockUp((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 34: _t->moveBlockUp(); break;
        case 35: _t->copyBlockDown(); break;
        case 36: _t->copyBlockUp(); break;
        case 37: _t->find(); break;
        case 38: _t->findNext(); break;
        case 39: _t->findPrevious(); break;
        case 40: _t->replace(); break;
        case 41: _t->found((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 42: _t->reachedEnd(); break;
        case 43: _t->changeFont((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        case 44: _t->configModified(); break;
        case 45: _t->toggleComment(); break;
        case 46: _t->wordWrappingChanged((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        case 47: _t->currentCursorContextDelayedHighlight(); break;
        case 48: _t->fontSizeChangeRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 49: _t->incrFontSize(); break;
        case 50: _t->decrFontSize(); break;
        case 51: _t->moveCursorTo((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 52: _t->colorsConfigChanged(); break;
        case 53: _t->refreshValidObjects(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SqlEditor::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqlEditor::errorsChecked)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SqlEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QPlainTextEdit::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);
    if (!strcmp(_clname, "ExtActionContainer"))
        return static_cast< ExtActionContainer*>(this);
    return QPlainTextEdit::qt_metacast(_clname);
}

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

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