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

#include "../../../knewstuff/knewstuff3/core/installation.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'installation.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.6. 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_KNS3__Installation[] = {

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

 // signals: signature, parameters, type, tag, flags
      26,   20,   19,   19, 0x05,
      66,   19,   19,   19, 0x05,
     103,   95,   19,   19, 0x05,
     145,  137,   19,   19, 0x05,

 // slots: signature, parameters, type, tag, flags
     171,   20,   19,   19, 0x0a,
     208,   20,   19,   19, 0x0a,
     237,   20,   19,   19, 0x0a,
     275,  268,   19,   19, 0x0a,
     313,  309,   19,   19, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_KNS3__Installation[] = {
    "KNS3::Installation\0\0entry\0"
    "signalEntryChanged(KNS3::EntryInternal)\0"
    "signalInstallationFinished()\0message\0"
    "signalInstallationFailed(QString)\0"
    "payload\0signalPayloadLoaded(KUrl)\0"
    "downloadPayload(KNS3::EntryInternal)\0"
    "install(KNS3::EntryInternal)\0"
    "uninstall(KNS3::EntryInternal)\0result\0"
    "slotInstallationVerification(int)\0job\0"
    "slotPayloadResult(KJob*)\0"
};

void KNS3::Installation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Installation *_t = static_cast<Installation *>(_o);
        switch (_id) {
        case 0: _t->signalEntryChanged((*reinterpret_cast< const KNS3::EntryInternal(*)>(_a[1]))); break;
        case 1: _t->signalInstallationFinished(); break;
        case 2: _t->signalInstallationFailed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->signalPayloadLoaded((*reinterpret_cast< KUrl(*)>(_a[1]))); break;
        case 4: _t->downloadPayload((*reinterpret_cast< const KNS3::EntryInternal(*)>(_a[1]))); break;
        case 5: _t->install((*reinterpret_cast< KNS3::EntryInternal(*)>(_a[1]))); break;
        case 6: _t->uninstall((*reinterpret_cast< KNS3::EntryInternal(*)>(_a[1]))); break;
        case 7: _t->slotInstallationVerification((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->slotPayloadResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KNS3::Installation::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KNS3::Installation::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KNS3__Installation,
      qt_meta_data_KNS3__Installation, &staticMetaObjectExtraData }
};

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

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

void *KNS3::Installation::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KNS3__Installation))
        return static_cast<void*>(const_cast< Installation*>(this));
    return QObject::qt_metacast(_clname);
}

int KNS3::Installation::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void KNS3::Installation::signalEntryChanged(const KNS3::EntryInternal & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KNS3::Installation::signalInstallationFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

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

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