/****************************************************************************
** Meta object code from reading C++ file 'KonquerorAdaptor.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/konqueror-17.12.3/src/KonquerorAdaptor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KonquerorAdaptor.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_KonquerorAdaptor_t {
    QByteArrayData data[23];
    char stringdata0[313];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KonquerorAdaptor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KonquerorAdaptor_t qt_meta_stringdata_KonquerorAdaptor = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KonquerorAdaptor"
QT_MOC_LITERAL(1, 17, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 33, 22), // "org.kde.Konqueror.Main"
QT_MOC_LITERAL(3, 56, 20), // "reparseConfiguration"
QT_MOC_LITERAL(4, 77, 0), // ""
QT_MOC_LITERAL(5, 78, 10), // "addToCombo"
QT_MOC_LITERAL(6, 89, 3), // "url"
QT_MOC_LITERAL(7, 93, 12), // "QDBusMessage"
QT_MOC_LITERAL(8, 106, 3), // "msg"
QT_MOC_LITERAL(9, 110, 15), // "removeFromCombo"
QT_MOC_LITERAL(10, 126, 12), // "comboCleared"
QT_MOC_LITERAL(11, 139, 17), // "openBrowserWindow"
QT_MOC_LITERAL(12, 157, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(13, 173, 10), // "startup_id"
QT_MOC_LITERAL(14, 184, 15), // "createNewWindow"
QT_MOC_LITERAL(15, 200, 8), // "mimetype"
QT_MOC_LITERAL(16, 209, 8), // "tempFile"
QT_MOC_LITERAL(17, 218, 28), // "createNewWindowWithSelection"
QT_MOC_LITERAL(18, 247, 13), // "filesToSelect"
QT_MOC_LITERAL(19, 261, 10), // "getWindows"
QT_MOC_LITERAL(20, 272, 22), // "QList<QDBusObjectPath>"
QT_MOC_LITERAL(21, 295, 4), // "urls"
QT_MOC_LITERAL(22, 300, 12) // "windowForTab"

    },
    "KonquerorAdaptor\0D-Bus Interface\0"
    "org.kde.Konqueror.Main\0reparseConfiguration\0"
    "\0addToCombo\0url\0QDBusMessage\0msg\0"
    "removeFromCombo\0comboCleared\0"
    "openBrowserWindow\0QDBusObjectPath\0"
    "startup_id\0createNewWindow\0mimetype\0"
    "tempFile\0createNewWindowWithSelection\0"
    "filesToSelect\0getWindows\0"
    "QList<QDBusObjectPath>\0urls\0windowForTab"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KonquerorAdaptor[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   66,    4, 0x06 /* Public */,
       5,    2,   67,    4, 0x06 /* Public */,
       9,    2,   72,    4, 0x06 /* Public */,
      10,    1,   77,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    2,   80,    4, 0x0a /* Public */,
      14,    4,   85,    4, 0x0a /* Public */,
      17,    3,   94,    4, 0x0a /* Public */,
      19,    0,  101,    4, 0x0a /* Public */,
      21,    0,  102,    4, 0x0a /* Public */,
      22,    0,  103,    4, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 7,    6,    8,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 7,    6,    8,
    QMetaType::Void, 0x80000000 | 7,    8,

 // slots: parameters
    0x80000000 | 12, QMetaType::QString, QMetaType::QByteArray,    6,   13,
    0x80000000 | 12, QMetaType::QString, QMetaType::QString, QMetaType::QByteArray, QMetaType::Bool,    6,   15,   13,   16,
    0x80000000 | 12, QMetaType::QString, QMetaType::QStringList, QMetaType::QByteArray,    6,   18,   13,
    0x80000000 | 20,
    QMetaType::QStringList,
    0x80000000 | 12,

       0        // eod
};

void KonquerorAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KonquerorAdaptor *_t = static_cast<KonquerorAdaptor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->reparseConfiguration(); break;
        case 1: _t->addToCombo((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break;
        case 2: _t->removeFromCombo((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break;
        case 3: _t->comboCleared((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        case 4: { QDBusObjectPath _r = _t->openBrowserWindow((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusObjectPath*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusObjectPath _r = _t->createNewWindow((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QDBusObjectPath*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusObjectPath _r = _t->createNewWindowWithSelection((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusObjectPath*>(_a[0]) = std::move(_r); }  break;
        case 7: { QList<QDBusObjectPath> _r = _t->getWindows();
            if (_a[0]) *reinterpret_cast< QList<QDBusObjectPath>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QStringList _r = _t->urls();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusObjectPath _r = _t->windowForTab();
            if (_a[0]) *reinterpret_cast< QDBusObjectPath*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KonquerorAdaptor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KonquerorAdaptor::reparseConfiguration)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KonquerorAdaptor::*_t)(const QString & , const QDBusMessage & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KonquerorAdaptor::addToCombo)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KonquerorAdaptor::*_t)(const QString & , const QDBusMessage & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KonquerorAdaptor::removeFromCombo)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KonquerorAdaptor::*_t)(const QDBusMessage & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KonquerorAdaptor::comboCleared)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KonquerorAdaptor::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KonquerorAdaptor.data,
      qt_meta_data_KonquerorAdaptor,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KonquerorAdaptor::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void KonquerorAdaptor::reparseConfiguration()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KonquerorAdaptor::addToCombo(const QString & _t1, const QDBusMessage & _t2)
{
    void *_a[] = { 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 KonquerorAdaptor::removeFromCombo(const QString & _t1, const QDBusMessage & _t2)
{
    void *_a[] = { 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 KonquerorAdaptor::comboCleared(const QDBusMessage & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
