/****************************************************************************
** Meta object code from reading C++ file 'functionseditor.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/functionseditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'functionseditor.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_FunctionsEditor_t {
    QByteArrayData data[35];
    char stringdata0[395];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FunctionsEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FunctionsEditor_t qt_meta_stringdata_FunctionsEditor = {
    {
QT_MOC_LITERAL(0, 0, 15), // "FunctionsEditor"
QT_MOC_LITERAL(1, 16, 6), // "commit"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 8), // "rollback"
QT_MOC_LITERAL(4, 33, 11), // "newFunction"
QT_MOC_LITERAL(5, 45, 14), // "deleteFunction"
QT_MOC_LITERAL(6, 60, 14), // "updateModified"
QT_MOC_LITERAL(7, 75, 11), // "updateState"
QT_MOC_LITERAL(8, 87, 26), // "updateCurrentFunctionState"
QT_MOC_LITERAL(9, 114, 16), // "functionSelected"
QT_MOC_LITERAL(10, 131, 14), // "QItemSelection"
QT_MOC_LITERAL(11, 146, 8), // "selected"
QT_MOC_LITERAL(12, 155, 10), // "deselected"
QT_MOC_LITERAL(13, 166, 14), // "addFunctionArg"
QT_MOC_LITERAL(14, 181, 15), // "editFunctionArg"
QT_MOC_LITERAL(15, 197, 14), // "delFunctionArg"
QT_MOC_LITERAL(16, 212, 17), // "moveFunctionArgUp"
QT_MOC_LITERAL(17, 230, 19), // "moveFunctionArgDown"
QT_MOC_LITERAL(18, 250, 15), // "updateArgsState"
QT_MOC_LITERAL(19, 266, 11), // "applyFilter"
QT_MOC_LITERAL(20, 278, 5), // "value"
QT_MOC_LITERAL(21, 284, 4), // "help"
QT_MOC_LITERAL(22, 289, 10), // "changeFont"
QT_MOC_LITERAL(23, 300, 4), // "font"
QT_MOC_LITERAL(24, 305, 6), // "Action"
QT_MOC_LITERAL(25, 312, 6), // "COMMIT"
QT_MOC_LITERAL(26, 319, 8), // "ROLLBACK"
QT_MOC_LITERAL(27, 328, 3), // "ADD"
QT_MOC_LITERAL(28, 332, 6), // "DELETE"
QT_MOC_LITERAL(29, 339, 7), // "ARG_ADD"
QT_MOC_LITERAL(30, 347, 8), // "ARG_EDIT"
QT_MOC_LITERAL(31, 356, 7), // "ARG_DEL"
QT_MOC_LITERAL(32, 364, 11), // "ARG_MOVE_UP"
QT_MOC_LITERAL(33, 376, 13), // "ARG_MOVE_DOWN"
QT_MOC_LITERAL(34, 390, 4) // "HELP"

    },
    "FunctionsEditor\0commit\0\0rollback\0"
    "newFunction\0deleteFunction\0updateModified\0"
    "updateState\0updateCurrentFunctionState\0"
    "functionSelected\0QItemSelection\0"
    "selected\0deselected\0addFunctionArg\0"
    "editFunctionArg\0delFunctionArg\0"
    "moveFunctionArgUp\0moveFunctionArgDown\0"
    "updateArgsState\0applyFilter\0value\0"
    "help\0changeFont\0font\0Action\0COMMIT\0"
    "ROLLBACK\0ADD\0DELETE\0ARG_ADD\0ARG_EDIT\0"
    "ARG_DEL\0ARG_MOVE_UP\0ARG_MOVE_DOWN\0"
    "HELP"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FunctionsEditor[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x08 /* Private */,
       3,    0,  100,    2, 0x08 /* Private */,
       4,    0,  101,    2, 0x08 /* Private */,
       5,    0,  102,    2, 0x08 /* Private */,
       6,    0,  103,    2, 0x08 /* Private */,
       7,    0,  104,    2, 0x08 /* Private */,
       8,    0,  105,    2, 0x08 /* Private */,
       9,    2,  106,    2, 0x08 /* Private */,
      13,    0,  111,    2, 0x08 /* Private */,
      14,    0,  112,    2, 0x08 /* Private */,
      15,    0,  113,    2, 0x08 /* Private */,
      16,    0,  114,    2, 0x08 /* Private */,
      17,    0,  115,    2, 0x08 /* Private */,
      18,    0,  116,    2, 0x08 /* Private */,
      19,    1,  117,    2, 0x08 /* Private */,
      21,    0,  120,    2, 0x08 /* Private */,
      22,    1,  121,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10, 0x80000000 | 10,   11,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QVariant,   23,

 // enums: name, alias, flags, count, data
      24,   24, 0x0,   10,  129,

 // enum data: key, value
      25, uint(FunctionsEditor::COMMIT),
      26, uint(FunctionsEditor::ROLLBACK),
      27, uint(FunctionsEditor::ADD),
      28, uint(FunctionsEditor::DELETE),
      29, uint(FunctionsEditor::ARG_ADD),
      30, uint(FunctionsEditor::ARG_EDIT),
      31, uint(FunctionsEditor::ARG_DEL),
      32, uint(FunctionsEditor::ARG_MOVE_UP),
      33, uint(FunctionsEditor::ARG_MOVE_DOWN),
      34, uint(FunctionsEditor::HELP),

       0        // eod
};

void FunctionsEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FunctionsEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->commit(); break;
        case 1: _t->rollback(); break;
        case 2: _t->newFunction(); break;
        case 3: _t->deleteFunction(); break;
        case 4: _t->updateModified(); break;
        case 5: _t->updateState(); break;
        case 6: _t->updateCurrentFunctionState(); break;
        case 7: _t->functionSelected((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 8: _t->addFunctionArg(); break;
        case 9: _t->editFunctionArg(); break;
        case 10: _t->delFunctionArg(); break;
        case 11: _t->moveFunctionArgUp(); break;
        case 12: _t->moveFunctionArgDown(); break;
        case 13: { bool _r = _t->updateArgsState();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->applyFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->help(); break;
        case 16: _t->changeFont((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FunctionsEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<MdiChild::staticMetaObject>(),
    qt_meta_stringdata_FunctionsEditor.data,
    qt_meta_data_FunctionsEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int FunctionsEditor::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 < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
