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

#include "../../../src/ktorrent-4.3.1/plugins/stats/drawer/KPlotWgtDrawer.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KPlotWgtDrawer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.6. 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__KPlotWgtDrawer[] = {

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

 // signals: signature, parameters, type, tag, flags
      20,   19,   19,   19, 0x05,

 // slots: signature, parameters, type, tag, flags
      53,   41,   19,   19, 0x0a,
      93,   85,   19,   19, 0x2a,
     124,  120,   19,   19, 0x0a,
     160,  152,   19,   19, 0x0a,
     202,  198,   19,   19, 0x0a,
     224,  198,   19,   19, 0x0a,
     237,   19,   19,   19, 0x0a,
     250,  247,   19,   19, 0x0a,
     278,  271,   19,   19, 0x0a,
     300,  298,   19,   19, 0x0a,
     321,  319,   19,   19, 0x0a,
     340,   19,   19,   19, 0x0a,
     360,  353,   19,   19, 0x0a,
     393,  390,  382,   19, 0x0a,
     417,  414,   19,   19, 0x0a,
     437,   19,   19,   19, 0x0a,
     449,  446,   19,   19, 0x0a,
     476,   19,  468,   19, 0x0a,
     498,  495,   19,   19, 0x0a,
     523,  520,   19,   19, 0x0a,
     553,  550,   19,   19, 0x0a,
     577,   19,   19,   19, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_kt__KPlotWgtDrawer[] = {
    "kt::KPlotWgtDrawer\0\0Zeroed(ChartDrawer*)\0"
    "idx,val,upd\0addValue(size_t,wgtunit_t,bool)\0"
    "idx,val\0addValue(size_t,wgtunit_t)\0"
    "Cdd\0addDataSet(ChartDrawerData)\0idx,Cdd\0"
    "insertDataSet(size_t,ChartDrawerData)\0"
    "idx\0removeDataSet(size_t)\0zero(size_t)\0"
    "zeroAll()\0rN\0setUnitName(QString)\0"
    "idx,rP\0setPen(size_t,QPen)\0x\0"
    "setXMax(wgtunit_t)\0y\0setYMax(wgtunit_t)\0"
    "findSetMax()\0idx,rQ\0setUuid(size_t,QUuid)\0"
    "int16_t\0rQ\0findUuidInSet(QUuid)\0mm\0"
    "setMaxMode(MaxMode)\0update()\0rL\0"
    "setLegend(QString)\0QString\0"
    "makeLegendString()\0aa\0enableAntiAlias(bool)\0"
    "bg\0enableBackgroundGrid(bool)\0rP\0"
    "showContextMenu(QPoint)\0renderToImage()\0"
};

void kt::KPlotWgtDrawer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        KPlotWgtDrawer *_t = static_cast<KPlotWgtDrawer *>(_o);
        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]) = _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]) = _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: ;
        }
    }
}

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

const QMetaObject kt::KPlotWgtDrawer::staticMetaObject = {
    { &KPlotWidget::staticMetaObject, qt_meta_stringdata_kt__KPlotWgtDrawer,
      qt_meta_data_kt__KPlotWgtDrawer, &staticMetaObjectExtraData }
};

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

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

void *kt::KPlotWgtDrawer::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kt__KPlotWgtDrawer))
        return static_cast<void*>(const_cast< KPlotWgtDrawer*>(this));
    if (!strcmp(_clname, "ChartDrawer"))
        return static_cast< ChartDrawer*>(const_cast< KPlotWgtDrawer*>(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;
    }
    return _id;
}

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