/****************************************************************************
** Meta object code from reading C++ file 'qgpgme_eventloopinteractor.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/gpgmepp-16.08.2/src/qgpgme/qgpgme_eventloopinteractor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qgpgme_eventloopinteractor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_QGpgME__EventLoopInteractor_t {
    QByteArrayData data[18];
    char stringdata0[257];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QGpgME__EventLoopInteractor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QGpgME__EventLoopInteractor_t qt_meta_stringdata_QGpgME__EventLoopInteractor = {
    {
QT_MOC_LITERAL(0, 0, 27), // "QGpgME::EventLoopInteractor"
QT_MOC_LITERAL(1, 28, 24), // "nextTrustItemEventSignal"
QT_MOC_LITERAL(2, 53, 0), // ""
QT_MOC_LITERAL(3, 54, 15), // "GpgME::Context*"
QT_MOC_LITERAL(4, 70, 7), // "context"
QT_MOC_LITERAL(5, 78, 16), // "GpgME::TrustItem"
QT_MOC_LITERAL(6, 95, 4), // "item"
QT_MOC_LITERAL(7, 100, 18), // "nextKeyEventSignal"
QT_MOC_LITERAL(8, 119, 10), // "GpgME::Key"
QT_MOC_LITERAL(9, 130, 3), // "key"
QT_MOC_LITERAL(10, 134, 24), // "operationDoneEventSignal"
QT_MOC_LITERAL(11, 159, 12), // "GpgME::Error"
QT_MOC_LITERAL(12, 172, 1), // "e"
QT_MOC_LITERAL(13, 174, 25), // "operationStartEventSignal"
QT_MOC_LITERAL(14, 200, 14), // "aboutToDestroy"
QT_MOC_LITERAL(15, 215, 17), // "slotWriteActivity"
QT_MOC_LITERAL(16, 233, 6), // "socket"
QT_MOC_LITERAL(17, 240, 16) // "slotReadActivity"

    },
    "QGpgME::EventLoopInteractor\0"
    "nextTrustItemEventSignal\0\0GpgME::Context*\0"
    "context\0GpgME::TrustItem\0item\0"
    "nextKeyEventSignal\0GpgME::Key\0key\0"
    "operationDoneEventSignal\0GpgME::Error\0"
    "e\0operationStartEventSignal\0aboutToDestroy\0"
    "slotWriteActivity\0socket\0slotReadActivity"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QGpgME__EventLoopInteractor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   49,    2, 0x06 /* Public */,
       7,    2,   54,    2, 0x06 /* Public */,
      10,    2,   59,    2, 0x06 /* Public */,
      13,    1,   64,    2, 0x06 /* Public */,
      14,    0,   67,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,   68,    2, 0x09 /* Protected */,
      17,    1,   71,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 8,    4,    9,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 11,    4,   12,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int,   16,

       0        // eod
};

void QGpgME::EventLoopInteractor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EventLoopInteractor *_t = static_cast<EventLoopInteractor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->nextTrustItemEventSignal((*reinterpret_cast< GpgME::Context*(*)>(_a[1])),(*reinterpret_cast< const GpgME::TrustItem(*)>(_a[2]))); break;
        case 1: _t->nextKeyEventSignal((*reinterpret_cast< GpgME::Context*(*)>(_a[1])),(*reinterpret_cast< const GpgME::Key(*)>(_a[2]))); break;
        case 2: _t->operationDoneEventSignal((*reinterpret_cast< GpgME::Context*(*)>(_a[1])),(*reinterpret_cast< const GpgME::Error(*)>(_a[2]))); break;
        case 3: _t->operationStartEventSignal((*reinterpret_cast< GpgME::Context*(*)>(_a[1]))); break;
        case 4: _t->aboutToDestroy(); break;
        case 5: _t->slotWriteActivity((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->slotReadActivity((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (EventLoopInteractor::*_t)(GpgME::Context * , const GpgME::TrustItem & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EventLoopInteractor::nextTrustItemEventSignal)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (EventLoopInteractor::*_t)(GpgME::Context * , const GpgME::Key & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EventLoopInteractor::nextKeyEventSignal)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (EventLoopInteractor::*_t)(GpgME::Context * , const GpgME::Error & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EventLoopInteractor::operationDoneEventSignal)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (EventLoopInteractor::*_t)(GpgME::Context * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EventLoopInteractor::operationStartEventSignal)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (EventLoopInteractor::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EventLoopInteractor::aboutToDestroy)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject QGpgME::EventLoopInteractor::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QGpgME__EventLoopInteractor.data,
      qt_meta_data_QGpgME__EventLoopInteractor,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QGpgME::EventLoopInteractor::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QGpgME__EventLoopInteractor.stringdata0))
        return static_cast<void*>(const_cast< EventLoopInteractor*>(this));
    if (!strcmp(_clname, "GpgME::EventLoopInteractor"))
        return static_cast< GpgME::EventLoopInteractor*>(const_cast< EventLoopInteractor*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void QGpgME::EventLoopInteractor::nextTrustItemEventSignal(GpgME::Context * _t1, const GpgME::TrustItem & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QGpgME::EventLoopInteractor::nextKeyEventSignal(GpgME::Context * _t1, const GpgME::Key & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QGpgME::EventLoopInteractor::operationDoneEventSignal(GpgME::Context * _t1, const GpgME::Error & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QGpgME::EventLoopInteractor::operationStartEventSignal(GpgME::Context * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QGpgME::EventLoopInteractor::aboutToDestroy()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
