/****************************************************************************
** Meta object code from reading C++ file 'collationseditor.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/collationseditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'collationseditor.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_CollationsEditor_t {
    QByteArrayData data[24];
    char stringdata0[249];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CollationsEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CollationsEditor_t qt_meta_stringdata_CollationsEditor = {
    {
QT_MOC_LITERAL(0, 0, 16), // "CollationsEditor"
QT_MOC_LITERAL(1, 17, 4), // "help"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 6), // "commit"
QT_MOC_LITERAL(4, 30, 8), // "rollback"
QT_MOC_LITERAL(5, 39, 12), // "newCollation"
QT_MOC_LITERAL(6, 52, 15), // "deleteCollation"
QT_MOC_LITERAL(7, 68, 11), // "updateState"
QT_MOC_LITERAL(8, 80, 27), // "updateCurrentCollationState"
QT_MOC_LITERAL(9, 108, 17), // "collationSelected"
QT_MOC_LITERAL(10, 126, 14), // "QItemSelection"
QT_MOC_LITERAL(11, 141, 8), // "selected"
QT_MOC_LITERAL(12, 150, 10), // "deselected"
QT_MOC_LITERAL(13, 161, 14), // "updateModified"
QT_MOC_LITERAL(14, 176, 11), // "applyFilter"
QT_MOC_LITERAL(15, 188, 5), // "value"
QT_MOC_LITERAL(16, 194, 10), // "changeFont"
QT_MOC_LITERAL(17, 205, 4), // "font"
QT_MOC_LITERAL(18, 210, 6), // "Action"
QT_MOC_LITERAL(19, 217, 6), // "COMMIT"
QT_MOC_LITERAL(20, 224, 8), // "ROLLBACK"
QT_MOC_LITERAL(21, 233, 3), // "ADD"
QT_MOC_LITERAL(22, 237, 6), // "DELETE"
QT_MOC_LITERAL(23, 244, 4) // "HELP"

    },
    "CollationsEditor\0help\0\0commit\0rollback\0"
    "newCollation\0deleteCollation\0updateState\0"
    "updateCurrentCollationState\0"
    "collationSelected\0QItemSelection\0"
    "selected\0deselected\0updateModified\0"
    "applyFilter\0value\0changeFont\0font\0"
    "Action\0COMMIT\0ROLLBACK\0ADD\0DELETE\0"
    "HELP"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CollationsEditor[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x08 /* Private */,
       3,    0,   70,    2, 0x08 /* Private */,
       4,    0,   71,    2, 0x08 /* Private */,
       5,    0,   72,    2, 0x08 /* Private */,
       6,    0,   73,    2, 0x08 /* Private */,
       7,    0,   74,    2, 0x08 /* Private */,
       8,    0,   75,    2, 0x08 /* Private */,
       9,    2,   76,    2, 0x08 /* Private */,
      13,    0,   81,    2, 0x08 /* Private */,
      14,    1,   82,    2, 0x08 /* Private */,
      16,    1,   85,    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::QString,   15,
    QMetaType::Void, QMetaType::QVariant,   17,

 // enums: name, alias, flags, count, data
      18,   18, 0x0,    5,   93,

 // enum data: key, value
      19, uint(CollationsEditor::COMMIT),
      20, uint(CollationsEditor::ROLLBACK),
      21, uint(CollationsEditor::ADD),
      22, uint(CollationsEditor::DELETE),
      23, uint(CollationsEditor::HELP),

       0        // eod
};

void CollationsEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CollationsEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->help(); break;
        case 1: _t->commit(); break;
        case 2: _t->rollback(); break;
        case 3: _t->newCollation(); break;
        case 4: _t->deleteCollation(); break;
        case 5: _t->updateState(); break;
        case 6: _t->updateCurrentCollationState(); break;
        case 7: _t->collationSelected((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 8: _t->updateModified(); break;
        case 9: _t->applyFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _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 CollationsEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<MdiChild::staticMetaObject>(),
    qt_meta_stringdata_CollationsEditor.data,
    qt_meta_data_CollationsEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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