/****************************************************************************
** Meta object code from reading C++ file 'FdoSecretsPlugin.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 "../../../../../keepassxc/src/fdosecrets/FdoSecretsPlugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'FdoSecretsPlugin.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_FdoSecretsPlugin_t {
    QByteArrayData data[13];
    char stringdata0[206];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FdoSecretsPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FdoSecretsPlugin_t qt_meta_stringdata_FdoSecretsPlugin = {
    {
QT_MOC_LITERAL(0, 0, 16), // "FdoSecretsPlugin"
QT_MOC_LITERAL(1, 17, 5), // "error"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 3), // "msg"
QT_MOC_LITERAL(4, 28, 24), // "requestSwitchToDatabases"
QT_MOC_LITERAL(5, 53, 23), // "requestShowNotification"
QT_MOC_LITERAL(6, 77, 5), // "title"
QT_MOC_LITERAL(7, 83, 13), // "msTimeoutHint"
QT_MOC_LITERAL(8, 97, 20), // "secretServiceStarted"
QT_MOC_LITERAL(9, 118, 20), // "secretServiceStopped"
QT_MOC_LITERAL(10, 139, 28), // "emitRequestSwitchToDatabases"
QT_MOC_LITERAL(11, 168, 27), // "emitRequestShowNotification"
QT_MOC_LITERAL(12, 196, 9) // "emitError"

    },
    "FdoSecretsPlugin\0error\0\0msg\0"
    "requestSwitchToDatabases\0"
    "requestShowNotification\0title\0"
    "msTimeoutHint\0secretServiceStarted\0"
    "secretServiceStopped\0emitRequestSwitchToDatabases\0"
    "emitRequestShowNotification\0emitError"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FdoSecretsPlugin[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    0,   62,    2, 0x06 /* Public */,
       5,    3,   63,    2, 0x06 /* Public */,
       8,    0,   70,    2, 0x06 /* Public */,
       9,    0,   71,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   72,    2, 0x0a /* Public */,
      11,    2,   73,    2, 0x0a /* Public */,
      11,    1,   78,    2, 0x2a /* Public | MethodCloned */,
      12,    1,   81,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Int,    3,    6,    7,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    6,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,

       0        // eod
};

void FdoSecretsPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FdoSecretsPlugin *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->requestSwitchToDatabases(); break;
        case 2: _t->requestShowNotification((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 3: _t->secretServiceStarted(); break;
        case 4: _t->secretServiceStopped(); break;
        case 5: _t->emitRequestSwitchToDatabases(); break;
        case 6: _t->emitRequestShowNotification((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->emitRequestShowNotification((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->emitError((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (FdoSecretsPlugin::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FdoSecretsPlugin::error)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (FdoSecretsPlugin::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FdoSecretsPlugin::requestSwitchToDatabases)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (FdoSecretsPlugin::*)(const QString & , const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FdoSecretsPlugin::requestShowNotification)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (FdoSecretsPlugin::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FdoSecretsPlugin::secretServiceStarted)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (FdoSecretsPlugin::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FdoSecretsPlugin::secretServiceStopped)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FdoSecretsPlugin::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_FdoSecretsPlugin.data,
    qt_meta_data_FdoSecretsPlugin,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *FdoSecretsPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_FdoSecretsPlugin.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ISettingsPage"))
        return static_cast< ISettingsPage*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void FdoSecretsPlugin::error(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void FdoSecretsPlugin::requestSwitchToDatabases()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void FdoSecretsPlugin::requestShowNotification(const QString & _t1, const QString & _t2, int _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, 2, _a);
}

// SIGNAL 3
void FdoSecretsPlugin::secretServiceStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void FdoSecretsPlugin::secretServiceStopped()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
