/****************************************************************************
** Meta object code from reading C++ file 'viewdelegate.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 "../../src/ktorrent-4.3.1/ktorrent/view/viewdelegate.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'viewdelegate.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_kt__ViewDelegate[] = {

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

 // slots: signature, parameters, type, tag, flags
      21,   18,   17,   17, 0x0a,
      66,   59,   17,   17, 0x0a,
     113,   18,   17,   17, 0x08,
     155,  151,   17,   17, 0x08,
     181,  151,   17,   17, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_kt__ViewDelegate[] = {
    "kt::ViewDelegate\0\0tc\0"
    "closeExtenders(bt::TorrentInterface*)\0"
    "tc,ext\0closeExtender(bt::TorrentInterface*,Extender*)\0"
    "torrentRemoved(bt::TorrentInterface*)\0"
    "ext\0closeRequested(Extender*)\0"
    "resized(Extender*)\0"
};

void kt::ViewDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ViewDelegate *_t = static_cast<ViewDelegate *>(_o);
        switch (_id) {
        case 0: _t->closeExtenders((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 1: _t->closeExtender((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1])),(*reinterpret_cast< Extender*(*)>(_a[2]))); break;
        case 2: _t->torrentRemoved((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 3: _t->closeRequested((*reinterpret_cast< Extender*(*)>(_a[1]))); break;
        case 4: _t->resized((*reinterpret_cast< Extender*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData kt::ViewDelegate::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject kt::ViewDelegate::staticMetaObject = {
    { &QStyledItemDelegate::staticMetaObject, qt_meta_stringdata_kt__ViewDelegate,
      qt_meta_data_kt__ViewDelegate, &staticMetaObjectExtraData }
};

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

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

void *kt::ViewDelegate::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kt__ViewDelegate))
        return static_cast<void*>(const_cast< ViewDelegate*>(this));
    return QStyledItemDelegate::qt_metacast(_clname);
}

int kt::ViewDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStyledItemDelegate::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
