/****************************************************************************
** Meta object code from reading C++ file 'KPlotWgtDrawer.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/plugins/stats/drawer/KPlotWgtDrawer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KPlotWgtDrawer.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__KPlotWgtDrawer_t {
    QByteArrayData data[43];
    char stringdata0[371];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__KPlotWgtDrawer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__KPlotWgtDrawer_t qt_meta_stringdata_kt__KPlotWgtDrawer = {
    {
QT_MOC_LITERAL(0, 0, 18), // "kt::KPlotWgtDrawer"
QT_MOC_LITERAL(1, 19, 6), // "Zeroed"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 12), // "ChartDrawer*"
QT_MOC_LITERAL(4, 40, 8), // "addValue"
QT_MOC_LITERAL(5, 49, 6), // "size_t"
QT_MOC_LITERAL(6, 56, 3), // "idx"
QT_MOC_LITERAL(7, 60, 9), // "wgtunit_t"
QT_MOC_LITERAL(8, 70, 3), // "val"
QT_MOC_LITERAL(9, 74, 3), // "upd"
QT_MOC_LITERAL(10, 78, 10), // "addDataSet"
QT_MOC_LITERAL(11, 89, 15), // "ChartDrawerData"
QT_MOC_LITERAL(12, 105, 3), // "Cdd"
QT_MOC_LITERAL(13, 109, 13), // "insertDataSet"
QT_MOC_LITERAL(14, 123, 13), // "removeDataSet"
QT_MOC_LITERAL(15, 137, 4), // "zero"
QT_MOC_LITERAL(16, 142, 7), // "zeroAll"
QT_MOC_LITERAL(17, 150, 11), // "setUnitName"
QT_MOC_LITERAL(18, 162, 2), // "rN"
QT_MOC_LITERAL(19, 165, 6), // "setPen"
QT_MOC_LITERAL(20, 172, 2), // "rP"
QT_MOC_LITERAL(21, 175, 7), // "setXMax"
QT_MOC_LITERAL(22, 183, 1), // "x"
QT_MOC_LITERAL(23, 185, 7), // "setYMax"
QT_MOC_LITERAL(24, 193, 1), // "y"
QT_MOC_LITERAL(25, 195, 10), // "findSetMax"
QT_MOC_LITERAL(26, 206, 7), // "setUuid"
QT_MOC_LITERAL(27, 214, 2), // "rQ"
QT_MOC_LITERAL(28, 217, 13), // "findUuidInSet"
QT_MOC_LITERAL(29, 231, 7), // "int16_t"
QT_MOC_LITERAL(30, 239, 10), // "setMaxMode"
QT_MOC_LITERAL(31, 250, 7), // "MaxMode"
QT_MOC_LITERAL(32, 258, 2), // "mm"
QT_MOC_LITERAL(33, 261, 6), // "update"
QT_MOC_LITERAL(34, 268, 9), // "setLegend"
QT_MOC_LITERAL(35, 278, 2), // "rL"
QT_MOC_LITERAL(36, 281, 16), // "makeLegendString"
QT_MOC_LITERAL(37, 298, 15), // "enableAntiAlias"
QT_MOC_LITERAL(38, 314, 2), // "aa"
QT_MOC_LITERAL(39, 317, 20), // "enableBackgroundGrid"
QT_MOC_LITERAL(40, 338, 2), // "bg"
QT_MOC_LITERAL(41, 341, 15), // "showContextMenu"
QT_MOC_LITERAL(42, 357, 13) // "renderToImage"

    },
    "kt::KPlotWgtDrawer\0Zeroed\0\0ChartDrawer*\0"
    "addValue\0size_t\0idx\0wgtunit_t\0val\0upd\0"
    "addDataSet\0ChartDrawerData\0Cdd\0"
    "insertDataSet\0removeDataSet\0zero\0"
    "zeroAll\0setUnitName\0rN\0setPen\0rP\0"
    "setXMax\0x\0setYMax\0y\0findSetMax\0setUuid\0"
    "rQ\0findUuidInSet\0int16_t\0setMaxMode\0"
    "MaxMode\0mm\0update\0setLegend\0rL\0"
    "makeLegendString\0enableAntiAlias\0aa\0"
    "enableBackgroundGrid\0bg\0showContextMenu\0"
    "renderToImage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__KPlotWgtDrawer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    3,  132,    2, 0x0a /* Public */,
       4,    2,  139,    2, 0x2a /* Public | MethodCloned */,
      10,    1,  144,    2, 0x0a /* Public */,
      13,    2,  147,    2, 0x0a /* Public */,
      14,    1,  152,    2, 0x0a /* Public */,
      15,    1,  155,    2, 0x0a /* Public */,
      16,    0,  158,    2, 0x0a /* Public */,
      17,    1,  159,    2, 0x0a /* Public */,
      19,    2,  162,    2, 0x0a /* Public */,
      21,    1,  167,    2, 0x0a /* Public */,
      23,    1,  170,    2, 0x0a /* Public */,
      25,    0,  173,    2, 0x0a /* Public */,
      26,    2,  174,    2, 0x0a /* Public */,
      28,    1,  179,    2, 0x0a /* Public */,
      30,    1,  182,    2, 0x0a /* Public */,
      33,    0,  185,    2, 0x0a /* Public */,
      34,    1,  186,    2, 0x0a /* Public */,
      36,    0,  189,    2, 0x0a /* Public */,
      37,    1,  190,    2, 0x0a /* Public */,
      39,    1,  193,    2, 0x0a /* Public */,
      41,    1,  196,    2, 0x0a /* Public */,
      42,    0,  199,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7, QMetaType::Bool,    6,    8,    9,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7,    6,    8,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 11,    6,   12,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void, 0x80000000 | 5, QMetaType::QPen,    6,   20,
    QMetaType::Void, 0x80000000 | 7,   22,
    QMetaType::Void, 0x80000000 | 7,   24,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, QMetaType::QUuid,    6,   27,
    0x80000000 | 29, QMetaType::QUuid,   27,
    QMetaType::Void, 0x80000000 | 31,   32,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   35,
    QMetaType::QString,
    QMetaType::Void, QMetaType::Bool,   38,
    QMetaType::Void, QMetaType::Bool,   40,
    QMetaType::Void, QMetaType::QPoint,   20,
    QMetaType::Void,

       0        // eod
};

void kt::KPlotWgtDrawer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KPlotWgtDrawer *_t = static_cast<KPlotWgtDrawer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->Zeroed((*reinterpret_cast< ChartDrawer*(*)>(_a[1]))); break;
        case 1: _t->addValue((*reinterpret_cast< const size_t(*)>(_a[1])),(*reinterpret_cast< const wgtunit_t(*)>(_a[2])),(*reinterpret_cast< const bool(*)>(_a[3]))); break;
        case 2: _t->addValue((*reinterpret_cast< const size_t(*)>(_a[1])),(*reinterpret_cast< const wgtunit_t(*)>(_a[2]))); break;
        case 3: _t->addDataSet((*reinterpret_cast< ChartDrawerData(*)>(_a[1]))); break;
        case 4: _t->insertDataSet((*reinterpret_cast< const size_t(*)>(_a[1])),(*reinterpret_cast< ChartDrawerData(*)>(_a[2]))); break;
        case 5: _t->removeDataSet((*reinterpret_cast< const size_t(*)>(_a[1]))); break;
        case 6: _t->zero((*reinterpret_cast< const size_t(*)>(_a[1]))); break;
        case 7: _t->zeroAll(); break;
        case 8: _t->setUnitName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setPen((*reinterpret_cast< const size_t(*)>(_a[1])),(*reinterpret_cast< const QPen(*)>(_a[2]))); break;
        case 10: _t->setXMax((*reinterpret_cast< const wgtunit_t(*)>(_a[1]))); break;
        case 11: _t->setYMax((*reinterpret_cast< const wgtunit_t(*)>(_a[1]))); break;
        case 12: _t->findSetMax(); break;
        case 13: _t->setUuid((*reinterpret_cast< const size_t(*)>(_a[1])),(*reinterpret_cast< const QUuid(*)>(_a[2]))); break;
        case 14: { int16_t _r = _t->findUuidInSet((*reinterpret_cast< const QUuid(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int16_t*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->setMaxMode((*reinterpret_cast< const MaxMode(*)>(_a[1]))); break;
        case 16: _t->update(); break;
        case 17: _t->setLegend((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: { QString _r = _t->makeLegendString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->enableAntiAlias((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->enableBackgroundGrid((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->showContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 22: _t->renderToImage(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KPlotWgtDrawer::*_t)(ChartDrawer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KPlotWgtDrawer::Zeroed)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject kt::KPlotWgtDrawer::staticMetaObject = {
    { &KPlotWidget::staticMetaObject, qt_meta_stringdata_kt__KPlotWgtDrawer.data,
      qt_meta_data_kt__KPlotWgtDrawer,  qt_static_metacall, nullptr, nullptr}
};


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

void *kt::KPlotWgtDrawer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_kt__KPlotWgtDrawer.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ChartDrawer"))
        return static_cast< ChartDrawer*>(this);
    return KPlotWidget::qt_metacast(_clname);
}

int kt::KPlotWgtDrawer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KPlotWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 23;
    }
    return _id;
}

// SIGNAL 0
void kt::KPlotWgtDrawer::Zeroed(ChartDrawer * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
