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

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

 // signals: signature, parameters, type, tag, flags
      13,   10,    9,    9, 0x05,
      58,    9,    9,    9, 0x05,
      87,   84,    9,    9, 0x05,

 // slots: signature, parameters, type, tag, flags
     112,  105,    9,    9, 0x0a,
     137,    9,    9,    9, 0x0a,
     146,    9,    9,    9, 0x0a,
     162,    9,    9,    9, 0x0a,
     183,    9,    9,    9, 0x0a,
     198,    9,    9,    9, 0x0a,
     214,    9,    9,    9, 0x0a,
     231,    9,    9,    9, 0x0a,
     255,    9,    9,    9, 0x0a,
     274,    9,    9,    9, 0x0a,
     292,    9,    9,    9, 0x0a,
     304,    9,    9,    9, 0x0a,
     315,    9,    9,    9, 0x0a,
     332,    9,    9,    9, 0x0a,
     350,    9,    9,    9, 0x0a,
     364,    9,    9,    9, 0x0a,
     377,    9,    9,    9, 0x0a,
     395,    9,    9,    9, 0x0a,
     404,    9,    9,    9, 0x0a,
     415,    9,    9,    9, 0x0a,
     432,    9,    9,    9, 0x0a,
     452,  448,    9,    9, 0x0a,
     469,  448,    9,    9, 0x0a,
     496,  492,    9,    9, 0x0a,
     549,  532,    9,    9, 0x0a,
     615,  595,    9,    9, 0x0a,
     671,  665,    9,    9, 0x0a,
     702,  700,    9,    9, 0x0a,
     736,  700,    9,    9, 0x0a,
     759,  700,    9,    9, 0x0a,
     782,  700,    9,    9, 0x0a,
     803,    9,    9,    9, 0x0a,
     829,    9,    9,    9, 0x0a,
     846,    9,    9,    9, 0x0a,
     860,    9,    9,    9, 0x0a,
     876,    9,    9,    9, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_kt__View[] = {
    "kt::View\0\0tc\0currentTorrentChanged(bt::TorrentInterface*)\0"
    "torrentSelectionChanged()\0on\0"
    "editingItem(bool)\0filter\0"
    "setFilterString(QString)\0update()\0"
    "startTorrents()\0forceStartTorrents()\0"
    "stopTorrents()\0pauseTorrents()\0"
    "removeTorrents()\0removeTorrentsAndData()\0"
    "startAllTorrents()\0stopAllTorrents()\0"
    "checkData()\0addPeers()\0manualAnnounce()\0"
    "previewTorrents()\0openDataDir()\0"
    "openTorDir()\0removeFromGroup()\0scrape()\0"
    "moveData()\0showProperties()\0renameTorrent()\0"
    "pos\0showMenu(QPoint)\0showHeaderMenu(QPoint)\0"
    "act\0onHeaderMenuItemTriggered(QAction*)\0"
    "current,previous\0"
    "onCurrentItemChanged(QModelIndex,QModelIndex)\0"
    "selected,deselected\0"
    "onSelectionChanged(QItemSelection,QItemSelection)\0"
    "index\0onDoubleClicked(QModelIndex)\0g\0"
    "onCurrentGroupChanged(kt::Group*)\0"
    "onGroupRenamed(Group*)\0onGroupRemoved(Group*)\0"
    "onGroupAdded(Group*)\0addToGroupItemTriggered()\0"
    "copyTorrentURL()\0speedLimits()\0"
    "exportTorrent()\0addToNewGroup()\0"
};

void kt::View::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        View *_t = static_cast<View *>(_o);
        switch (_id) {
        case 0: _t->currentTorrentChanged((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 1: _t->torrentSelectionChanged(); break;
        case 2: _t->editingItem((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->setFilterString((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->update(); break;
        case 5: _t->startTorrents(); break;
        case 6: _t->forceStartTorrents(); break;
        case 7: _t->stopTorrents(); break;
        case 8: _t->pauseTorrents(); break;
        case 9: _t->removeTorrents(); break;
        case 10: _t->removeTorrentsAndData(); break;
        case 11: _t->startAllTorrents(); break;
        case 12: _t->stopAllTorrents(); break;
        case 13: _t->checkData(); break;
        case 14: _t->addPeers(); break;
        case 15: _t->manualAnnounce(); break;
        case 16: _t->previewTorrents(); break;
        case 17: _t->openDataDir(); break;
        case 18: _t->openTorDir(); break;
        case 19: _t->removeFromGroup(); break;
        case 20: _t->scrape(); break;
        case 21: _t->moveData(); break;
        case 22: _t->showProperties(); break;
        case 23: _t->renameTorrent(); break;
        case 24: _t->showMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 25: _t->showHeaderMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 26: _t->onHeaderMenuItemTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 27: _t->onCurrentItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 28: _t->onSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 29: _t->onDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 30: _t->onCurrentGroupChanged((*reinterpret_cast< kt::Group*(*)>(_a[1]))); break;
        case 31: _t->onGroupRenamed((*reinterpret_cast< Group*(*)>(_a[1]))); break;
        case 32: _t->onGroupRemoved((*reinterpret_cast< Group*(*)>(_a[1]))); break;
        case 33: _t->onGroupAdded((*reinterpret_cast< Group*(*)>(_a[1]))); break;
        case 34: _t->addToGroupItemTriggered(); break;
        case 35: _t->copyTorrentURL(); break;
        case 36: _t->speedLimits(); break;
        case 37: _t->exportTorrent(); break;
        case 38: _t->addToNewGroup(); break;
        default: ;
        }
    }
}

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

const QMetaObject kt::View::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_kt__View,
      qt_meta_data_kt__View, &staticMetaObjectExtraData }
};

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

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

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

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

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

// SIGNAL 1
void kt::View::torrentSelectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

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