/****************************************************************************
** Meta object code from reading C++ file 'trayicon.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/trayicon.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'trayicon.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__TrayIcon_t {
    QByteArrayData data[23];
    char stringdata0[326];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__TrayIcon_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__TrayIcon_t qt_meta_stringdata_kt__TrayIcon = {
    {
QT_MOC_LITERAL(0, 0, 12), // "kt::TrayIcon"
QT_MOC_LITERAL(1, 13, 21), // "torrentSilentlyOpened"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 21), // "bt::TorrentInterface*"
QT_MOC_LITERAL(4, 58, 2), // "tc"
QT_MOC_LITERAL(5, 61, 8), // "finished"
QT_MOC_LITERAL(6, 70, 20), // "maxShareRatioReached"
QT_MOC_LITERAL(7, 91, 18), // "maxSeedTimeReached"
QT_MOC_LITERAL(8, 110, 21), // "torrentStoppedByError"
QT_MOC_LITERAL(9, 132, 3), // "msg"
QT_MOC_LITERAL(10, 136, 13), // "corruptedData"
QT_MOC_LITERAL(11, 150, 18), // "queuingNotPossible"
QT_MOC_LITERAL(12, 169, 11), // "canNotStart"
QT_MOC_LITERAL(13, 181, 24), // "bt::TorrentStartResponse"
QT_MOC_LITERAL(14, 206, 6), // "reason"
QT_MOC_LITERAL(15, 213, 12), // "lowDiskSpace"
QT_MOC_LITERAL(16, 226, 7), // "stopped"
QT_MOC_LITERAL(17, 234, 25), // "cannotLoadTorrentSilently"
QT_MOC_LITERAL(18, 260, 19), // "suspendStateChanged"
QT_MOC_LITERAL(19, 280, 9), // "suspended"
QT_MOC_LITERAL(20, 290, 13), // "dhtNotEnabled"
QT_MOC_LITERAL(21, 304, 17), // "secondaryActivate"
QT_MOC_LITERAL(22, 322, 3) // "pos"

    },
    "kt::TrayIcon\0torrentSilentlyOpened\0\0"
    "bt::TorrentInterface*\0tc\0finished\0"
    "maxShareRatioReached\0maxSeedTimeReached\0"
    "torrentStoppedByError\0msg\0corruptedData\0"
    "queuingNotPossible\0canNotStart\0"
    "bt::TorrentStartResponse\0reason\0"
    "lowDiskSpace\0stopped\0cannotLoadTorrentSilently\0"
    "suspendStateChanged\0suspended\0"
    "dhtNotEnabled\0secondaryActivate\0pos"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__TrayIcon[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x08 /* Private */,
       5,    1,   82,    2, 0x08 /* Private */,
       6,    1,   85,    2, 0x08 /* Private */,
       7,    1,   88,    2, 0x08 /* Private */,
       8,    2,   91,    2, 0x08 /* Private */,
      10,    1,   96,    2, 0x08 /* Private */,
      11,    1,   99,    2, 0x08 /* Private */,
      12,    2,  102,    2, 0x08 /* Private */,
      15,    2,  107,    2, 0x08 /* Private */,
      17,    1,  112,    2, 0x08 /* Private */,
      18,    1,  115,    2, 0x08 /* Private */,
      20,    1,  118,    2, 0x08 /* Private */,
      21,    1,  121,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    9,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 13,    4,   14,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    4,   16,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QPoint,   22,

       0        // eod
};

void kt::TrayIcon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TrayIcon *_t = static_cast<TrayIcon *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->torrentSilentlyOpened((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 1: _t->finished((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 2: _t->maxShareRatioReached((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 3: _t->maxSeedTimeReached((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 4: _t->torrentStoppedByError((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 5: _t->corruptedData((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 6: _t->queuingNotPossible((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 7: _t->canNotStart((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1])),(*reinterpret_cast< bt::TorrentStartResponse(*)>(_a[2]))); break;
        case 8: _t->lowDiskSpace((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 9: _t->cannotLoadTorrentSilently((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->suspendStateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->dhtNotEnabled((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->secondaryActivate((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< bt::TorrentInterface* >(); break;
            }
            break;
        }
    }
}

const QMetaObject kt::TrayIcon::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__TrayIcon.data,
      qt_meta_data_kt__TrayIcon,  qt_static_metacall, nullptr, nullptr}
};


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

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

int kt::TrayIcon::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}
struct qt_meta_stringdata_kt__SetMaxRate_t {
    QByteArrayData data[6];
    char stringdata0[48];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__SetMaxRate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__SetMaxRate_t qt_meta_stringdata_kt__SetMaxRate = {
    {
QT_MOC_LITERAL(0, 0, 14), // "kt::SetMaxRate"
QT_MOC_LITERAL(1, 15, 6), // "update"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 11), // "onTriggered"
QT_MOC_LITERAL(4, 35, 8), // "QAction*"
QT_MOC_LITERAL(5, 44, 3) // "act"

    },
    "kt::SetMaxRate\0update\0\0onTriggered\0"
    "QAction*\0act"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__SetMaxRate[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x0a /* Public */,
       3,    1,   25,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,

       0        // eod
};

void kt::SetMaxRate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SetMaxRate *_t = static_cast<SetMaxRate *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->update(); break;
        case 1: _t->onTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    }
}

const QMetaObject kt::SetMaxRate::staticMetaObject = {
    { &QMenu::staticMetaObject, qt_meta_stringdata_kt__SetMaxRate.data,
      qt_meta_data_kt__SetMaxRate,  qt_static_metacall, nullptr, nullptr}
};


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

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

int kt::SetMaxRate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMenu::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
