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

#include "../../src/ktorrent-5.1.0/ktorrent/tools/queuemanagerwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'queuemanagerwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_kt__QueueManagerWidget_t {
    QByteArrayData data[21];
    char stringdata0[270];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__QueueManagerWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__QueueManagerWidget_t qt_meta_stringdata_kt__QueueManagerWidget = {
    {
QT_MOC_LITERAL(0, 0, 22), // "kt::QueueManagerWidget"
QT_MOC_LITERAL(1, 23, 14), // "onTorrentAdded"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 21), // "bt::TorrentInterface*"
QT_MOC_LITERAL(4, 61, 2), // "tc"
QT_MOC_LITERAL(5, 64, 16), // "onTorrentRemoved"
QT_MOC_LITERAL(6, 81, 13), // "moveUpClicked"
QT_MOC_LITERAL(7, 95, 15), // "moveDownClicked"
QT_MOC_LITERAL(8, 111, 14), // "moveTopClicked"
QT_MOC_LITERAL(9, 126, 17), // "moveBottomClicked"
QT_MOC_LITERAL(10, 144, 17), // "searchTextChanged"
QT_MOC_LITERAL(11, 162, 1), // "t"
QT_MOC_LITERAL(12, 164, 10), // "showSearch"
QT_MOC_LITERAL(13, 175, 2), // "on"
QT_MOC_LITERAL(14, 178, 13), // "showDownloads"
QT_MOC_LITERAL(15, 192, 11), // "showUploads"
QT_MOC_LITERAL(16, 204, 13), // "showNotQueued"
QT_MOC_LITERAL(17, 218, 16), // "selectionChanged"
QT_MOC_LITERAL(18, 235, 14), // "QItemSelection"
QT_MOC_LITERAL(19, 250, 8), // "selected"
QT_MOC_LITERAL(20, 259, 10) // "deselected"

    },
    "kt::QueueManagerWidget\0onTorrentAdded\0"
    "\0bt::TorrentInterface*\0tc\0onTorrentRemoved\0"
    "moveUpClicked\0moveDownClicked\0"
    "moveTopClicked\0moveBottomClicked\0"
    "searchTextChanged\0t\0showSearch\0on\0"
    "showDownloads\0showUploads\0showNotQueued\0"
    "selectionChanged\0QItemSelection\0"
    "selected\0deselected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__QueueManagerWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x0a /* Public */,
       5,    1,   77,    2, 0x0a /* Public */,
       6,    0,   80,    2, 0x08 /* Private */,
       7,    0,   81,    2, 0x08 /* Private */,
       8,    0,   82,    2, 0x08 /* Private */,
       9,    0,   83,    2, 0x08 /* Private */,
      10,    1,   84,    2, 0x08 /* Private */,
      12,    1,   87,    2, 0x08 /* Private */,
      14,    1,   90,    2, 0x08 /* Private */,
      15,    1,   93,    2, 0x08 /* Private */,
      16,    1,   96,    2, 0x08 /* Private */,
      17,    2,   99,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, 0x80000000 | 18, 0x80000000 | 18,   19,   20,

       0        // eod
};

void kt::QueueManagerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QueueManagerWidget *_t = static_cast<QueueManagerWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->onTorrentAdded((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 1: _t->onTorrentRemoved((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 2: _t->moveUpClicked(); break;
        case 3: _t->moveDownClicked(); break;
        case 4: _t->moveTopClicked(); break;
        case 5: _t->moveBottomClicked(); break;
        case 6: _t->searchTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->showSearch((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->showDownloads((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->showUploads((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->showNotQueued((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObject kt::QueueManagerWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_kt__QueueManagerWidget.data,
      qt_meta_data_kt__QueueManagerWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *kt::QueueManagerWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_kt__QueueManagerWidget.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int kt::QueueManagerWidget::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
