/****************************************************************************
** Meta object code from reading C++ file 'codesnippeteditor.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/codesnippeteditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'codesnippeteditor.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_CodeSnippetEditor_t {
    QByteArrayData data[29];
    char stringdata0[320];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CodeSnippetEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CodeSnippetEditor_t qt_meta_stringdata_CodeSnippetEditor = {
    {
QT_MOC_LITERAL(0, 0, 17), // "CodeSnippetEditor"
QT_MOC_LITERAL(1, 18, 6), // "commit"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 8), // "rollback"
QT_MOC_LITERAL(4, 35, 10), // "newSnippet"
QT_MOC_LITERAL(5, 46, 13), // "deleteSnippet"
QT_MOC_LITERAL(6, 60, 13), // "moveSnippetUp"
QT_MOC_LITERAL(7, 74, 15), // "moveSnippetDown"
QT_MOC_LITERAL(8, 90, 14), // "updateModified"
QT_MOC_LITERAL(9, 105, 25), // "updateCurrentSnippetState"
QT_MOC_LITERAL(10, 131, 11), // "updateState"
QT_MOC_LITERAL(11, 143, 15), // "snippetSelected"
QT_MOC_LITERAL(12, 159, 14), // "QItemSelection"
QT_MOC_LITERAL(13, 174, 8), // "selected"
QT_MOC_LITERAL(14, 183, 10), // "deselected"
QT_MOC_LITERAL(15, 194, 11), // "applyFilter"
QT_MOC_LITERAL(16, 206, 5), // "value"
QT_MOC_LITERAL(17, 212, 10), // "changeFont"
QT_MOC_LITERAL(18, 223, 4), // "font"
QT_MOC_LITERAL(19, 228, 29), // "clearAssistantShortcutPressed"
QT_MOC_LITERAL(20, 258, 4), // "help"
QT_MOC_LITERAL(21, 263, 6), // "Action"
QT_MOC_LITERAL(22, 270, 6), // "COMMIT"
QT_MOC_LITERAL(23, 277, 8), // "ROLLBACK"
QT_MOC_LITERAL(24, 286, 3), // "ADD"
QT_MOC_LITERAL(25, 290, 6), // "DELETE"
QT_MOC_LITERAL(26, 297, 7), // "MOVE_UP"
QT_MOC_LITERAL(27, 305, 9), // "MOVE_DOWN"
QT_MOC_LITERAL(28, 315, 4) // "HELP"

    },
    "CodeSnippetEditor\0commit\0\0rollback\0"
    "newSnippet\0deleteSnippet\0moveSnippetUp\0"
    "moveSnippetDown\0updateModified\0"
    "updateCurrentSnippetState\0updateState\0"
    "snippetSelected\0QItemSelection\0selected\0"
    "deselected\0applyFilter\0value\0changeFont\0"
    "font\0clearAssistantShortcutPressed\0"
    "help\0Action\0COMMIT\0ROLLBACK\0ADD\0DELETE\0"
    "MOVE_UP\0MOVE_DOWN\0HELP"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CodeSnippetEditor[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x08 /* Private */,
       3,    0,   85,    2, 0x08 /* Private */,
       4,    0,   86,    2, 0x08 /* Private */,
       5,    0,   87,    2, 0x08 /* Private */,
       6,    0,   88,    2, 0x08 /* Private */,
       7,    0,   89,    2, 0x08 /* Private */,
       8,    0,   90,    2, 0x08 /* Private */,
       9,    0,   91,    2, 0x08 /* Private */,
      10,    0,   92,    2, 0x08 /* Private */,
      11,    2,   93,    2, 0x08 /* Private */,
      15,    1,   98,    2, 0x08 /* Private */,
      17,    1,  101,    2, 0x08 /* Private */,
      19,    0,  104,    2, 0x08 /* Private */,
      20,    0,  105,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12, 0x80000000 | 12,   13,   14,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QVariant,   18,
    QMetaType::Void,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      21,   21, 0x0,    7,  111,

 // enum data: key, value
      22, uint(CodeSnippetEditor::COMMIT),
      23, uint(CodeSnippetEditor::ROLLBACK),
      24, uint(CodeSnippetEditor::ADD),
      25, uint(CodeSnippetEditor::DELETE),
      26, uint(CodeSnippetEditor::MOVE_UP),
      27, uint(CodeSnippetEditor::MOVE_DOWN),
      28, uint(CodeSnippetEditor::HELP),

       0        // eod
};

void CodeSnippetEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CodeSnippetEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->commit(); break;
        case 1: _t->rollback(); break;
        case 2: _t->newSnippet(); break;
        case 3: _t->deleteSnippet(); break;
        case 4: _t->moveSnippetUp(); break;
        case 5: _t->moveSnippetDown(); break;
        case 6: _t->updateModified(); break;
        case 7: _t->updateCurrentSnippetState(); break;
        case 8: _t->updateState(); break;
        case 9: _t->snippetSelected((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 10: _t->applyFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->changeFont((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        case 12: _t->clearAssistantShortcutPressed(); break;
        case 13: _t->help(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject CodeSnippetEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<MdiChild::staticMetaObject>(),
    qt_meta_stringdata_CodeSnippetEditor.data,
    qt_meta_data_CodeSnippetEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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