/****************************************************************************
** Meta object code from reading C++ file 'playlistwidget.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/plugins/mediaplayer/playlistwidget.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playlistwidget.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__PlayListWidget[] = {

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

 // signals: signature, parameters, type, tag, flags
      25,   20,   19,   19, 0x05,
      52,   20,   19,   19, 0x05,
      87,   80,   19,   19, 0x05,
     116,  113,   19,   19, 0x05,

 // slots: signature, parameters, type, tag, flags
     145,   19,  133,   19, 0x0a,
     152,   19,   19,   19, 0x0a,
     163,   19,   19,   19, 0x0a,
     183,  179,   19,   19, 0x08,
     239,  233,   19,   19, 0x08,
     270,  266,   19,   19, 0x08,
     294,   19,   19,   19, 0x08,
     308,   19,   19,   19, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_kt__PlayListWidget[] = {
    "kt::PlayListWidget\0\0file\0"
    "fileSelected(MediaFileRef)\0"
    "doubleClicked(MediaFileRef)\0random\0"
    "randomModeActivated(bool)\0on\0"
    "enableNext(bool)\0QModelIndex\0play()\0"
    "addMedia()\0clearPlayList()\0s,d\0"
    "onSelectionChanged(QItemSelection,QItemSelection)\0"
    "index\0doubleClicked(QModelIndex)\0pos\0"
    "showContextMenu(QPoint)\0removeFiles()\0"
    "onItemsDropped()\0"
};

void kt::PlayListWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        PlayListWidget *_t = static_cast<PlayListWidget *>(_o);
        switch (_id) {
        case 0: _t->fileSelected((*reinterpret_cast< const MediaFileRef(*)>(_a[1]))); break;
        case 1: _t->doubleClicked((*reinterpret_cast< const MediaFileRef(*)>(_a[1]))); break;
        case 2: _t->randomModeActivated((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->enableNext((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: { QModelIndex _r = _t->play();
            if (_a[0]) *reinterpret_cast< QModelIndex*>(_a[0]) = _r; }  break;
        case 5: _t->addMedia(); break;
        case 6: _t->clearPlayList(); break;
        case 7: _t->onSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 8: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 9: _t->showContextMenu((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
        case 10: _t->removeFiles(); break;
        case 11: _t->onItemsDropped(); break;
        default: ;
        }
    }
}

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

const QMetaObject kt::PlayListWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_kt__PlayListWidget,
      qt_meta_data_kt__PlayListWidget, &staticMetaObjectExtraData }
};

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

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

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

int kt::PlayListWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void kt::PlayListWidget::fileSelected(const MediaFileRef & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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