/****************************************************************************
** Meta object code from reading C++ file 'NewstuffModel.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/marble-17.04.3/src/lib/marble/NewstuffModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'NewstuffModel.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_Marble__NewstuffModel_t {
    QByteArrayData data[31];
    char stringdata0[426];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__NewstuffModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__NewstuffModel_t qt_meta_stringdata_Marble__NewstuffModel = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Marble::NewstuffModel"
QT_MOC_LITERAL(1, 22, 12), // "countChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 15), // "providerChanged"
QT_MOC_LITERAL(4, 52, 22), // "targetDirectoryChanged"
QT_MOC_LITERAL(5, 75, 19), // "registryFileChanged"
QT_MOC_LITERAL(6, 95, 22), // "installationProgressed"
QT_MOC_LITERAL(7, 118, 13), // "newstuffindex"
QT_MOC_LITERAL(8, 132, 8), // "progress"
QT_MOC_LITERAL(9, 141, 20), // "installationFinished"
QT_MOC_LITERAL(10, 162, 18), // "installationFailed"
QT_MOC_LITERAL(11, 181, 5), // "error"
QT_MOC_LITERAL(12, 187, 22), // "uninstallationFinished"
QT_MOC_LITERAL(13, 210, 7), // "install"
QT_MOC_LITERAL(14, 218, 5), // "index"
QT_MOC_LITERAL(15, 224, 9), // "uninstall"
QT_MOC_LITERAL(16, 234, 6), // "cancel"
QT_MOC_LITERAL(17, 241, 14), // "updateProgress"
QT_MOC_LITERAL(18, 256, 13), // "bytesReceived"
QT_MOC_LITERAL(19, 270, 10), // "bytesTotal"
QT_MOC_LITERAL(20, 281, 12), // "retrieveData"
QT_MOC_LITERAL(21, 294, 12), // "mapInstalled"
QT_MOC_LITERAL(22, 307, 10), // "exitStatus"
QT_MOC_LITERAL(23, 318, 14), // "mapUninstalled"
QT_MOC_LITERAL(24, 333, 14), // "contentsListed"
QT_MOC_LITERAL(25, 348, 18), // "handleProviderData"
QT_MOC_LITERAL(26, 367, 14), // "QNetworkReply*"
QT_MOC_LITERAL(27, 382, 5), // "count"
QT_MOC_LITERAL(28, 388, 8), // "provider"
QT_MOC_LITERAL(29, 397, 15), // "targetDirectory"
QT_MOC_LITERAL(30, 413, 12) // "registryFile"

    },
    "Marble::NewstuffModel\0countChanged\0\0"
    "providerChanged\0targetDirectoryChanged\0"
    "registryFileChanged\0installationProgressed\0"
    "newstuffindex\0progress\0installationFinished\0"
    "installationFailed\0error\0"
    "uninstallationFinished\0install\0index\0"
    "uninstall\0cancel\0updateProgress\0"
    "bytesReceived\0bytesTotal\0retrieveData\0"
    "mapInstalled\0exitStatus\0mapUninstalled\0"
    "contentsListed\0handleProviderData\0"
    "QNetworkReply*\0count\0provider\0"
    "targetDirectory\0registryFile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__NewstuffModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      17,   14, // methods
       4,  144, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x06 /* Public */,
       3,    0,  100,    2, 0x06 /* Public */,
       4,    0,  101,    2, 0x06 /* Public */,
       5,    0,  102,    2, 0x06 /* Public */,
       6,    2,  103,    2, 0x06 /* Public */,
       9,    1,  108,    2, 0x06 /* Public */,
      10,    2,  111,    2, 0x06 /* Public */,
      12,    1,  116,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,  119,    2, 0x0a /* Public */,
      15,    1,  122,    2, 0x0a /* Public */,
      16,    1,  125,    2, 0x0a /* Public */,
      17,    2,  128,    2, 0x08 /* Private */,
      20,    0,  133,    2, 0x08 /* Private */,
      21,    1,  134,    2, 0x08 /* Private */,
      23,    0,  137,    2, 0x08 /* Private */,
      24,    1,  138,    2, 0x08 /* Private */,
      25,    1,  141,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QReal,    7,    8,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    7,   11,
    QMetaType::Void, QMetaType::Int,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,   18,   19,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   22,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   22,
    QMetaType::Void, 0x80000000 | 26,    2,

 // properties: name, type, flags
      27, QMetaType::Int, 0x00495001,
      28, QMetaType::QString, 0x00495103,
      29, QMetaType::QString, 0x00495103,
      30, QMetaType::QString, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,

       0        // eod
};

void Marble::NewstuffModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NewstuffModel *_t = static_cast<NewstuffModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->providerChanged(); break;
        case 2: _t->targetDirectoryChanged(); break;
        case 3: _t->registryFileChanged(); break;
        case 4: _t->installationProgressed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 5: _t->installationFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->installationFailed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->uninstallationFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->install((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->uninstall((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->cancel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->updateProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 12: _t->retrieveData(); break;
        case 13: _t->mapInstalled((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->mapUninstalled(); break;
        case 15: _t->contentsListed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->d->handleProviderData((*reinterpret_cast< QNetworkReply*(*)>(_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 (NewstuffModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::countChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (NewstuffModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::providerChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (NewstuffModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::targetDirectoryChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (NewstuffModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::registryFileChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (NewstuffModel::*_t)(int , qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::installationProgressed)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (NewstuffModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::installationFinished)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (NewstuffModel::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::installationFailed)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (NewstuffModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NewstuffModel::uninstallationFinished)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        NewstuffModel *_t = static_cast<NewstuffModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->provider(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->targetDirectory(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->registryFile(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        NewstuffModel *_t = static_cast<NewstuffModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setProvider(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setTargetDirectory(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setRegistryFile(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::NewstuffModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_Marble__NewstuffModel.data,
      qt_meta_data_Marble__NewstuffModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Marble::NewstuffModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__NewstuffModel.stringdata0))
        return static_cast<void*>(const_cast< NewstuffModel*>(this));
    return QAbstractListModel::qt_metacast(_clname);
}

int Marble::NewstuffModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Marble::NewstuffModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Marble::NewstuffModel::providerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Marble::NewstuffModel::targetDirectoryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Marble::NewstuffModel::registryFileChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void Marble::NewstuffModel::installationProgressed(int _t1, qreal _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, 4, _a);
}

// SIGNAL 5
void Marble::NewstuffModel::installationFinished(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Marble::NewstuffModel::installationFailed(int _t1, const QString & _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, 6, _a);
}

// SIGNAL 7
void Marble::NewstuffModel::uninstallationFinished(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_END_MOC_NAMESPACE
