/****************************************************************************
** Meta object code from reading C++ file 'LogController.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 "../../../../mgba-0.10.5/src/platform/qt/LogController.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'LogController.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_QGBA__LogController_t {
    QByteArrayData data[19];
    char stringdata0[193];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QGBA__LogController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QGBA__LogController_t qt_meta_stringdata_QGBA__LogController = {
    {
QT_MOC_LITERAL(0, 0, 19), // "QGBA::LogController"
QT_MOC_LITERAL(1, 20, 9), // "logPosted"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 5), // "level"
QT_MOC_LITERAL(4, 37, 8), // "category"
QT_MOC_LITERAL(5, 46, 3), // "log"
QT_MOC_LITERAL(6, 50, 9), // "levelsSet"
QT_MOC_LITERAL(7, 60, 6), // "levels"
QT_MOC_LITERAL(8, 67, 13), // "levelsEnabled"
QT_MOC_LITERAL(9, 81, 14), // "levelsDisabled"
QT_MOC_LITERAL(10, 96, 7), // "postLog"
QT_MOC_LITERAL(11, 104, 6), // "string"
QT_MOC_LITERAL(12, 111, 9), // "setLevels"
QT_MOC_LITERAL(13, 121, 12), // "enableLevels"
QT_MOC_LITERAL(14, 134, 13), // "disableLevels"
QT_MOC_LITERAL(15, 148, 11), // "clearLevels"
QT_MOC_LITERAL(16, 160, 9), // "logToFile"
QT_MOC_LITERAL(17, 170, 11), // "logToStdout"
QT_MOC_LITERAL(18, 182, 10) // "setLogFile"

    },
    "QGBA::LogController\0logPosted\0\0level\0"
    "category\0log\0levelsSet\0levels\0"
    "levelsEnabled\0levelsDisabled\0postLog\0"
    "string\0setLevels\0enableLevels\0"
    "disableLevels\0clearLevels\0logToFile\0"
    "logToStdout\0setLogFile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QGBA__LogController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,  104,    2, 0x06 /* Public */,
       6,    1,  111,    2, 0x06 /* Public */,
       8,    1,  114,    2, 0x06 /* Public */,
       9,    1,  117,    2, 0x06 /* Public */,
       6,    2,  120,    2, 0x06 /* Public */,
       8,    2,  125,    2, 0x06 /* Public */,
       9,    2,  130,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    3,  135,    2, 0x0a /* Public */,
      12,    1,  142,    2, 0x0a /* Public */,
      13,    1,  145,    2, 0x0a /* Public */,
      14,    1,  148,    2, 0x0a /* Public */,
      12,    2,  151,    2, 0x0a /* Public */,
      13,    2,  156,    2, 0x0a /* Public */,
      14,    2,  161,    2, 0x0a /* Public */,
      15,    1,  166,    2, 0x0a /* Public */,
      16,    1,  169,    2, 0x0a /* Public */,
      17,    1,  172,    2, 0x0a /* Public */,
      18,    1,  175,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString,    3,    4,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString,    3,    4,   11,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    4,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QString,    2,

       0        // eod
};

void QGBA::LogController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LogController *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->logPosted((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->levelsSet((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->levelsEnabled((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->levelsDisabled((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->levelsSet((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->levelsEnabled((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->levelsDisabled((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->postLog((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 8: _t->setLevels((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->enableLevels((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->disableLevels((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setLevels((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->enableLevels((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 13: _t->disableLevels((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->clearLevels((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->logToFile((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->logToStdout((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->setLogFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LogController::*)(int , int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogController::logPosted)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (LogController::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogController::levelsSet)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (LogController::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogController::levelsEnabled)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (LogController::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogController::levelsDisabled)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (LogController::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogController::levelsSet)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (LogController::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogController::levelsEnabled)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (LogController::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LogController::levelsDisabled)) {
                *result = 6;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QGBA::LogController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QGBA__LogController.data,
    qt_meta_data_QGBA__LogController,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QGBA::LogController::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QGBA__LogController.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void QGBA::LogController::logPosted(int _t1, int _t2, const QString & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QGBA::LogController::levelsSet(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void QGBA::LogController::levelsDisabled(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QGBA::LogController::levelsSet(int _t1, int _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);
}

// SIGNAL 5
void QGBA::LogController::levelsEnabled(int _t1, int _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, 5, _a);
}

// SIGNAL 6
void QGBA::LogController::levelsDisabled(int _t1, int _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, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
