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

#include "../../../src/kmailtransport-17.12.3/src/kmailtransport/transportmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'transportmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_MailTransport__TransportManager_t {
    QByteArrayData data[24];
    char stringdata0[360];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MailTransport__TransportManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MailTransport__TransportManager_t qt_meta_stringdata_MailTransport__TransportManager = {
    {
QT_MOC_LITERAL(0, 0, 31), // "MailTransport::TransportManager"
QT_MOC_LITERAL(1, 32, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 48, 28), // "org.kde.pim.TransportManager"
QT_MOC_LITERAL(3, 77, 17), // "transportsChanged"
QT_MOC_LITERAL(4, 95, 0), // ""
QT_MOC_LITERAL(5, 96, 16), // "changesCommitted"
QT_MOC_LITERAL(6, 113, 16), // "passwordsChanged"
QT_MOC_LITERAL(7, 130, 16), // "transportRemoved"
QT_MOC_LITERAL(8, 147, 2), // "id"
QT_MOC_LITERAL(9, 150, 4), // "name"
QT_MOC_LITERAL(10, 155, 16), // "transportRenamed"
QT_MOC_LITERAL(11, 172, 7), // "oldName"
QT_MOC_LITERAL(12, 180, 7), // "newName"
QT_MOC_LITERAL(13, 188, 21), // "slotTransportsChanged"
QT_MOC_LITERAL(14, 210, 16), // "slotWalletOpened"
QT_MOC_LITERAL(15, 227, 7), // "success"
QT_MOC_LITERAL(16, 235, 7), // "isEmpty"
QT_MOC_LITERAL(17, 243, 12), // "transportIds"
QT_MOC_LITERAL(18, 256, 12), // "QVector<int>"
QT_MOC_LITERAL(19, 269, 14), // "transportNames"
QT_MOC_LITERAL(20, 284, 20), // "defaultTransportName"
QT_MOC_LITERAL(21, 305, 18), // "defaultTransportId"
QT_MOC_LITERAL(22, 324, 19), // "setDefaultTransport"
QT_MOC_LITERAL(23, 344, 15) // "removeTransport"

    },
    "MailTransport::TransportManager\0"
    "D-Bus Interface\0org.kde.pim.TransportManager\0"
    "transportsChanged\0\0changesCommitted\0"
    "passwordsChanged\0transportRemoved\0id\0"
    "name\0transportRenamed\0oldName\0newName\0"
    "slotTransportsChanged\0slotWalletOpened\0"
    "success\0isEmpty\0transportIds\0QVector<int>\0"
    "transportNames\0defaultTransportName\0"
    "defaultTransportId\0setDefaultTransport\0"
    "removeTransport"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MailTransport__TransportManager[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   86,    4, 0x46 /* Public | isScriptable */,
       5,    0,   87,    4, 0x46 /* Public | isScriptable */,
       6,    0,   88,    4, 0x06 /* Public */,
       7,    2,   89,    4, 0x06 /* Public */,
      10,    3,   94,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  101,    4, 0x08 /* Private */,
      14,    1,  102,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      16,    0,  105,    4, 0x42 /* Public | isScriptable */,
      17,    0,  106,    4, 0x42 /* Public | isScriptable */,
      19,    0,  107,    4, 0x42 /* Public | isScriptable */,
      20,    0,  108,    4, 0x42 /* Public | isScriptable */,
      21,    0,  109,    4, 0x42 /* Public | isScriptable */,
      22,    1,  110,    4, 0x42 /* Public | isScriptable */,
      23,    1,  113,    4, 0x42 /* Public | isScriptable */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    8,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::QString,    8,   11,   12,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   15,

 // methods: parameters
    QMetaType::Bool,
    0x80000000 | 18,
    QMetaType::QStringList,
    QMetaType::QString,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,    8,

       0        // eod
};

void MailTransport::TransportManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TransportManager *_t = static_cast<TransportManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->transportsChanged(); break;
        case 1: _t->changesCommitted(); break;
        case 2: _t->passwordsChanged(); break;
        case 3: _t->transportRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->transportRenamed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 5: _t->d->slotTransportsChanged(); break;
        case 6: _t->d->slotWalletOpened((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: { bool _r = _t->isEmpty();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: { QVector<int> _r = _t->transportIds();
            if (_a[0]) *reinterpret_cast< QVector<int>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QStringList _r = _t->transportNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 10: { QString _r = _t->defaultTransportName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 11: { int _r = _t->defaultTransportId();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->setDefaultTransport((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->removeTransport((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TransportManager::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportManager::transportsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TransportManager::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportManager::changesCommitted)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TransportManager::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportManager::passwordsChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TransportManager::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportManager::transportRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TransportManager::*_t)(int , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportManager::transportRenamed)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject MailTransport::TransportManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_MailTransport__TransportManager.data,
      qt_meta_data_MailTransport__TransportManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void MailTransport::TransportManager::transportsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void MailTransport::TransportManager::changesCommitted()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void MailTransport::TransportManager::passwordsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void MailTransport::TransportManager::transportRemoved(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void MailTransport::TransportManager::transportRenamed(int _t1, const QString & _t2, const QString & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
