/****************************************************************************
** Meta object code from reading C++ file 'shareprovider.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/plasma-workspace-5.8.9/dataengines/share/shareprovider.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'shareprovider.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_ShareProvider_t {
    QByteArrayData data[27];
    char stringdata0[261];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ShareProvider_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ShareProvider_t qt_meta_stringdata_ShareProvider = {
    {
QT_MOC_LITERAL(0, 0, 13), // "ShareProvider"
QT_MOC_LITERAL(1, 14, 14), // "readyToPublish"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 8), // "finished"
QT_MOC_LITERAL(4, 39, 3), // "url"
QT_MOC_LITERAL(5, 43, 13), // "finishedError"
QT_MOC_LITERAL(6, 57, 3), // "msg"
QT_MOC_LITERAL(7, 61, 7), // "publish"
QT_MOC_LITERAL(8, 69, 8), // "parseXML"
QT_MOC_LITERAL(9, 78, 3), // "key"
QT_MOC_LITERAL(10, 82, 4), // "data"
QT_MOC_LITERAL(11, 87, 12), // "addQueryItem"
QT_MOC_LITERAL(12, 100, 5), // "value"
QT_MOC_LITERAL(13, 106, 11), // "addPostItem"
QT_MOC_LITERAL(14, 118, 11), // "contentType"
QT_MOC_LITERAL(15, 130, 7), // "success"
QT_MOC_LITERAL(16, 138, 5), // "error"
QT_MOC_LITERAL(17, 144, 10), // "redirected"
QT_MOC_LITERAL(18, 155, 9), // "KIO::Job*"
QT_MOC_LITERAL(19, 165, 3), // "job"
QT_MOC_LITERAL(20, 169, 4), // "from"
QT_MOC_LITERAL(21, 174, 19), // "mimetypeJobFinished"
QT_MOC_LITERAL(22, 194, 5), // "KJob*"
QT_MOC_LITERAL(23, 200, 8), // "openFile"
QT_MOC_LITERAL(24, 209, 19), // "finishedContentData"
QT_MOC_LITERAL(25, 229, 15), // "finishedPublish"
QT_MOC_LITERAL(26, 245, 15) // "readPublishData"

    },
    "ShareProvider\0readyToPublish\0\0finished\0"
    "url\0finishedError\0msg\0publish\0parseXML\0"
    "key\0data\0addQueryItem\0value\0addPostItem\0"
    "contentType\0success\0error\0redirected\0"
    "KIO::Job*\0job\0from\0mimetypeJobFinished\0"
    "KJob*\0openFile\0finishedContentData\0"
    "finishedPublish\0readPublishData"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ShareProvider[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    1,   90,    2, 0x06 /* Public */,
       5,    1,   93,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   96,    2, 0x0a /* Public */,
       8,    2,   97,    2, 0x0a /* Public */,
      11,    2,  102,    2, 0x0a /* Public */,
      13,    3,  107,    2, 0x0a /* Public */,
      15,    1,  114,    2, 0x0a /* Public */,
      16,    1,  117,    2, 0x0a /* Public */,
      17,    2,  120,    2, 0x0a /* Public */,
      21,    1,  125,    2, 0x09 /* Protected */,
      23,    1,  128,    2, 0x09 /* Protected */,
      24,    2,  131,    2, 0x09 /* Protected */,
      25,    1,  136,    2, 0x09 /* Protected */,
      26,    2,  139,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::QString,    6,

 // slots: parameters
    QMetaType::Void,
    QMetaType::QString, QMetaType::QString, QMetaType::QString,    9,   10,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    9,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    9,   12,   14,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, 0x80000000 | 18, QMetaType::QUrl,   19,   20,
    QMetaType::Void, 0x80000000 | 22,   19,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void, 0x80000000 | 18, QMetaType::QByteArray,   19,   10,
    QMetaType::Void, 0x80000000 | 22,   19,
    QMetaType::Void, 0x80000000 | 18, QMetaType::QByteArray,   19,   10,

       0        // eod
};

void ShareProvider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ShareProvider *_t = static_cast<ShareProvider *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->readyToPublish(); break;
        case 1: _t->finished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->finishedError((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->publish(); break;
        case 4: { QString _r = _t->parseXML((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->addQueryItem((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->addPostItem((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 7: _t->success((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->redirected((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 10: _t->mimetypeJobFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 11: _t->openFile((*reinterpret_cast< KIO::Job*(*)>(_a[1]))); break;
        case 12: _t->finishedContentData((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
        case 13: _t->finishedPublish((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 14: _t->readPublishData((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ShareProvider::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShareProvider::readyToPublish)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ShareProvider::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShareProvider::finished)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ShareProvider::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShareProvider::finishedError)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject ShareProvider::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ShareProvider.data,
      qt_meta_data_ShareProvider,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void ShareProvider::finished(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void ShareProvider::finishedError(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
