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

#include "../../../../../client/plugins/src/upload/upload.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'upload.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_Upload[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      26,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: signature, parameters, type, tag, flags
      12,    8,    7,    7, 0x05,
      38,    8,    7,    7, 0x05,
      64,    8,    7,    7, 0x05,
      91,    8,    7,    7, 0x05,

 // slots: signature, parameters, type, tag, flags
     120,  115,    7,    7, 0x0a,
     140,  115,    7,    7, 0x0a,
     162,  158,    7,    7, 0x0a,
     188,  115,    7,    7, 0x08,
     213,    7,    7,    7, 0x08,
     229,  115,    7,    7, 0x08,
     253,  115,    7,    7, 0x08,
     277,  115,    7,    7, 0x08,
     299,  115,    7,    7, 0x08,
     324,  115,    7,    7, 0x08,
     374,  353,    7,    7, 0x08,
     410,    7,    7,    7, 0x08,
     433,  353,    7,    7, 0x08,
     465,    7,    7,    7, 0x08,
     484,  353,    7,    7, 0x08,
     514,    7,    7,    7, 0x08,
     531,  353,    7,    7, 0x08,
     570,    7,    7,    7, 0x08,
     602,  596,    7,    7, 0x08,
     653,  646,    7,    7, 0x08,
     683,    7,    7,    7, 0x08,
     721,  712,  707,    7, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Upload[] = {
    "Upload\0\0map\0toCreateTask(QVariantMap)\0"
    "toResumeTask(QVariantMap)\0"
    "toCheckOffset(QVariantMap)\0"
    "toStopTask(QVariantMap)\0task\0"
    "append(QVariantMap)\0stop(QVariantMap)\0"
    "ctx\0selectServer(QVariantMap)\0"
    "prepareTask(QVariantMap)\0startNextTask()\0"
    "createTask(QVariantMap)\0resumeTask(QVariantMap)\0"
    "stopTask(QVariantMap)\0checkOffset(QVariantMap)\0"
    "uploadMultiPart(QVariantMap)\0"
    "bytesSent,bytesTotal\0"
    "onCreateTaskProgress(qint64,qint64)\0"
    "onCreateTaskFinished()\0"
    "onOffsetProgress(qint64,qint64)\0"
    "onOffsetFinished()\0onTaskProgress(qint64,qint64)\0"
    "onTaskFinished()\0"
    "onTaskMultiPartProgress(qint64,qint64)\0"
    "onTaskMultiPartFinished()\0error\0"
    "onNetworkError(QNetworkReply::NetworkError)\0"
    "errors\0onSslErrors(QList<QSslError>)\0"
    "onListServerRetrieved()\0bool\0filePath\0"
    "stopped(QString)\0"
};

void Upload::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Upload *_t = static_cast<Upload *>(_o);
        switch (_id) {
        case 0: _t->toCreateTask((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 1: _t->toResumeTask((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 2: _t->toCheckOffset((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 3: _t->toStopTask((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 4: _t->append((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 5: _t->stop((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 6: _t->selectServer((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 7: _t->prepareTask((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 8: _t->startNextTask(); break;
        case 9: _t->createTask((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 10: _t->resumeTask((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 11: _t->stopTask((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 12: _t->checkOffset((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 13: _t->uploadMultiPart((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 14: _t->onCreateTaskProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 15: _t->onCreateTaskFinished(); break;
        case 16: _t->onOffsetProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 17: _t->onOffsetFinished(); break;
        case 18: _t->onTaskProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 19: _t->onTaskFinished(); break;
        case 20: _t->onTaskMultiPartProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 21: _t->onTaskMultiPartFinished(); break;
        case 22: _t->onNetworkError((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
        case 23: _t->onSslErrors((*reinterpret_cast< QList<QSslError>(*)>(_a[1]))); break;
        case 24: _t->onListServerRetrieved(); break;
        case 25: { bool _r = _t->stopped((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Upload::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Upload::staticMetaObject = {
    { &UploadInterface::staticMetaObject, qt_meta_stringdata_Upload,
      qt_meta_data_Upload, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Upload::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Upload::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Upload))
        return static_cast<void*>(const_cast< Upload*>(this));
    if (!strcmp(_clname, "id.go.lkpp.uploader/0.0.1"))
        return static_cast< UploadInterface*>(const_cast< Upload*>(this));
    return UploadInterface::qt_metacast(_clname);
}

int Upload::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = UploadInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    return _id;
}

// SIGNAL 0
void Upload::toCreateTask(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Upload::toResumeTask(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Upload::toCheckOffset(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Upload::toStopTask(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
