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

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

 // signals: signature, parameters, type, tag, flags
      22,   21,   21,   21, 0x05,

 // slots: signature, parameters, type, tag, flags
      46,   43,   21,   21, 0x0a,
      70,   21,   21,   21, 0x0a,
      98,   86,   21,   21, 0x0a,
     138,  130,   21,   21, 0x2a,
     169,  165,   21,   21, 0x0a,
     205,  197,   21,   21, 0x0a,
     247,  243,   21,   21, 0x0a,
     269,  243,   21,   21, 0x0a,
     282,   21,   21,   21, 0x0a,
     295,  292,   21,   21, 0x0a,
     323,  316,   21,   21, 0x0a,
     345,  343,   21,   21, 0x0a,
     366,  364,   21,   21, 0x0a,
     385,   21,   21,   21, 0x0a,
     405,  398,   21,   21, 0x0a,
     438,  435,  427,   21, 0x0a,
     462,  459,   21,   21, 0x0a,
     495,  243,  482,   21, 0x0a,
     519,   21,  511,   21, 0x0a,
     541,  538,   21,   21, 0x0a,
     560,   21,   21,   21, 0x0a,
     572,  569,   21,   21, 0x0a,
     597,  594,   21,   21, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_kt__PlainChartDrawer[] = {
    "kt::PlainChartDrawer\0\0Zeroed(ChartDrawer*)\0"
    "rP\0showContextMenu(QPoint)\0renderToImage()\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)\0const QUuid*\0"
    "getUuid(size_t)\0QString\0makeLegendString()\0"
    "rL\0setLegend(QString)\0update()\0aa\0"
    "enableAntiAlias(bool)\0bg\0"
    "enableBackgroundGrid(bool)\0"
};

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

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

const QMetaObject kt::PlainChartDrawer::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_kt__PlainChartDrawer,
      qt_meta_data_kt__PlainChartDrawer, &staticMetaObjectExtraData }
};

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

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

void *kt::PlainChartDrawer::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kt__PlainChartDrawer))
        return static_cast<void*>(const_cast< PlainChartDrawer*>(this));
    if (!strcmp(_clname, "ChartDrawer"))
        return static_cast< ChartDrawer*>(const_cast< PlainChartDrawer*>(this));
    return QFrame::qt_metacast(_clname);
}

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

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