/****************************************************************************
** Meta object code from reading C++ file 'dbmanagerimpl.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/coreSQLiteStudio/services/impl/dbmanagerimpl.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbmanagerimpl.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_DbManagerImpl_t {
    QByteArrayData data[18];
    char stringdata0[238];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DbManagerImpl_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DbManagerImpl_t qt_meta_stringdata_DbManagerImpl = {
    {
QT_MOC_LITERAL(0, 0, 13), // "DbManagerImpl"
QT_MOC_LITERAL(1, 14, 15), // "dbConnectedSlot"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 18), // "dbDisconnectedSlot"
QT_MOC_LITERAL(4, 50, 19), // "dbAboutToDisconnect"
QT_MOC_LITERAL(5, 70, 5), // "bool&"
QT_MOC_LITERAL(6, 76, 4), // "deny"
QT_MOC_LITERAL(7, 81, 13), // "aboutToUnload"
QT_MOC_LITERAL(8, 95, 7), // "Plugin*"
QT_MOC_LITERAL(9, 103, 6), // "plugin"
QT_MOC_LITERAL(10, 110, 11), // "PluginType*"
QT_MOC_LITERAL(11, 122, 4), // "type"
QT_MOC_LITERAL(12, 127, 6), // "loaded"
QT_MOC_LITERAL(13, 134, 24), // "notifyDatabasesAreLoaded"
QT_MOC_LITERAL(14, 159, 27), // "scanForNewDatabasesInConfig"
QT_MOC_LITERAL(15, 187, 31), // "rescanInvalidDatabasesForPlugin"
QT_MOC_LITERAL(16, 219, 9), // "DbPlugin*"
QT_MOC_LITERAL(17, 229, 8) // "dbPlugin"

    },
    "DbManagerImpl\0dbConnectedSlot\0\0"
    "dbDisconnectedSlot\0dbAboutToDisconnect\0"
    "bool&\0deny\0aboutToUnload\0Plugin*\0"
    "plugin\0PluginType*\0type\0loaded\0"
    "notifyDatabasesAreLoaded\0"
    "scanForNewDatabasesInConfig\0"
    "rescanInvalidDatabasesForPlugin\0"
    "DbPlugin*\0dbPlugin"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DbManagerImpl[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x08 /* Private */,
       3,    0,   55,    2, 0x08 /* Private */,
       4,    1,   56,    2, 0x08 /* Private */,
       7,    2,   59,    2, 0x08 /* Private */,
      12,    2,   64,    2, 0x08 /* Private */,
      13,    0,   69,    2, 0x0a /* Public */,
      14,    0,   70,    2, 0x0a /* Public */,
      15,    1,   71,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 10,    9,   11,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 10,    9,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,

       0        // eod
};

void DbManagerImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DbManagerImpl *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->dbConnectedSlot(); break;
        case 1: _t->dbDisconnectedSlot(); break;
        case 2: _t->dbAboutToDisconnect((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->aboutToUnload((*reinterpret_cast< Plugin*(*)>(_a[1])),(*reinterpret_cast< PluginType*(*)>(_a[2]))); break;
        case 4: _t->loaded((*reinterpret_cast< Plugin*(*)>(_a[1])),(*reinterpret_cast< PluginType*(*)>(_a[2]))); break;
        case 5: _t->notifyDatabasesAreLoaded(); break;
        case 6: _t->scanForNewDatabasesInConfig(); break;
        case 7: _t->rescanInvalidDatabasesForPlugin((*reinterpret_cast< DbPlugin*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DbManagerImpl::staticMetaObject = { {
    QMetaObject::SuperData::link<DbManager::staticMetaObject>(),
    qt_meta_stringdata_DbManagerImpl.data,
    qt_meta_data_DbManagerImpl,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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