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

#include <memory>
#include "../ui/chart/average/averagechart.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'averagechart.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. 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_AverageChart_t {
    QByteArrayData data[61];
    char stringdata0[839];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AverageChart_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AverageChart_t qt_meta_stringdata_AverageChart = {
    {
QT_MOC_LITERAL(0, 0, 12), // "AverageChart"
QT_MOC_LITERAL(1, 13, 12), // "valueChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 5), // "value"
QT_MOC_LITERAL(4, 33, 11), // "updateValue"
QT_MOC_LITERAL(5, 45, 8), // "setRange"
QT_MOC_LITERAL(6, 54, 8), // "minValue"
QT_MOC_LITERAL(7, 63, 8), // "maxValue"
QT_MOC_LITERAL(8, 72, 11), // "setMinValue"
QT_MOC_LITERAL(9, 84, 11), // "setMaxValue"
QT_MOC_LITERAL(10, 96, 8), // "setValue"
QT_MOC_LITERAL(11, 105, 12), // "setPrecision"
QT_MOC_LITERAL(12, 118, 9), // "precision"
QT_MOC_LITERAL(13, 128, 13), // "setScaleMajor"
QT_MOC_LITERAL(14, 142, 10), // "scaleMajor"
QT_MOC_LITERAL(15, 153, 13), // "setScaleMinor"
QT_MOC_LITERAL(16, 167, 10), // "scaleMinor"
QT_MOC_LITERAL(17, 178, 13), // "setStartAngle"
QT_MOC_LITERAL(18, 192, 10), // "startAngle"
QT_MOC_LITERAL(19, 203, 11), // "setEndAngle"
QT_MOC_LITERAL(20, 215, 8), // "endAngle"
QT_MOC_LITERAL(21, 224, 12), // "setAnimation"
QT_MOC_LITERAL(22, 237, 9), // "animation"
QT_MOC_LITERAL(23, 247, 16), // "setAnimationStep"
QT_MOC_LITERAL(24, 264, 13), // "animationStep"
QT_MOC_LITERAL(25, 278, 19), // "setOuterCircleColor"
QT_MOC_LITERAL(26, 298, 16), // "outerCircleColor"
QT_MOC_LITERAL(27, 315, 19), // "setInnerCircleColor"
QT_MOC_LITERAL(28, 335, 16), // "innerCircleColor"
QT_MOC_LITERAL(29, 352, 16), // "setPieColorStart"
QT_MOC_LITERAL(30, 369, 13), // "pieColorStart"
QT_MOC_LITERAL(31, 383, 14), // "setPieColorMid"
QT_MOC_LITERAL(32, 398, 11), // "pieColorMid"
QT_MOC_LITERAL(33, 410, 14), // "setPieColorEnd"
QT_MOC_LITERAL(34, 425, 11), // "pieColorEnd"
QT_MOC_LITERAL(35, 437, 19), // "setCoverCircleColor"
QT_MOC_LITERAL(36, 457, 16), // "coverCircleColor"
QT_MOC_LITERAL(37, 474, 13), // "setScaleColor"
QT_MOC_LITERAL(38, 488, 10), // "scaleColor"
QT_MOC_LITERAL(39, 499, 15), // "setPointerColor"
QT_MOC_LITERAL(40, 515, 12), // "pointerColor"
QT_MOC_LITERAL(41, 528, 20), // "setCenterCircleColor"
QT_MOC_LITERAL(42, 549, 17), // "centerCircleColor"
QT_MOC_LITERAL(43, 567, 12), // "setTextColor"
QT_MOC_LITERAL(44, 580, 9), // "textColor"
QT_MOC_LITERAL(45, 590, 14), // "setShowOverlay"
QT_MOC_LITERAL(46, 605, 11), // "showOverlay"
QT_MOC_LITERAL(47, 617, 15), // "setOverlayColor"
QT_MOC_LITERAL(48, 633, 12), // "overlayColor"
QT_MOC_LITERAL(49, 646, 11), // "setPieStyle"
QT_MOC_LITERAL(50, 658, 8), // "PieStyle"
QT_MOC_LITERAL(51, 667, 8), // "pieStyle"
QT_MOC_LITERAL(52, 676, 15), // "setPointerStyle"
QT_MOC_LITERAL(53, 692, 12), // "PointerStyle"
QT_MOC_LITERAL(54, 705, 12), // "pointerStyle"
QT_MOC_LITERAL(55, 718, 14), // "PieStyle_Three"
QT_MOC_LITERAL(56, 733, 16), // "PieStyle_Current"
QT_MOC_LITERAL(57, 750, 19), // "PointerStyle_Circle"
QT_MOC_LITERAL(58, 770, 22), // "PointerStyle_Indicator"
QT_MOC_LITERAL(59, 793, 23), // "PointerStyle_IndicatorR"
QT_MOC_LITERAL(60, 817, 21) // "PointerStyle_Triangle"

    },
    "AverageChart\0valueChanged\0\0value\0"
    "updateValue\0setRange\0minValue\0maxValue\0"
    "setMinValue\0setMaxValue\0setValue\0"
    "setPrecision\0precision\0setScaleMajor\0"
    "scaleMajor\0setScaleMinor\0scaleMinor\0"
    "setStartAngle\0startAngle\0setEndAngle\0"
    "endAngle\0setAnimation\0animation\0"
    "setAnimationStep\0animationStep\0"
    "setOuterCircleColor\0outerCircleColor\0"
    "setInnerCircleColor\0innerCircleColor\0"
    "setPieColorStart\0pieColorStart\0"
    "setPieColorMid\0pieColorMid\0setPieColorEnd\0"
    "pieColorEnd\0setCoverCircleColor\0"
    "coverCircleColor\0setScaleColor\0"
    "scaleColor\0setPointerColor\0pointerColor\0"
    "setCenterCircleColor\0centerCircleColor\0"
    "setTextColor\0textColor\0setShowOverlay\0"
    "showOverlay\0setOverlayColor\0overlayColor\0"
    "setPieStyle\0PieStyle\0pieStyle\0"
    "setPointerStyle\0PointerStyle\0pointerStyle\0"
    "PieStyle_Three\0PieStyle_Current\0"
    "PointerStyle_Circle\0PointerStyle_Indicator\0"
    "PointerStyle_IndicatorR\0PointerStyle_Triangle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AverageChart[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      29,   14, // methods
      24,  248, // properties
       2,  320, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

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

 // slots: name, argc, parameters, tag, flags
       4,    0,  162,    2, 0x08 /* Private */,
       5,    2,  163,    2, 0x0a /* Public */,
       5,    2,  168,    2, 0x0a /* Public */,
       8,    1,  173,    2, 0x0a /* Public */,
       9,    1,  176,    2, 0x0a /* Public */,
      10,    1,  179,    2, 0x0a /* Public */,
      10,    1,  182,    2, 0x0a /* Public */,
      11,    1,  185,    2, 0x0a /* Public */,
      13,    1,  188,    2, 0x0a /* Public */,
      15,    1,  191,    2, 0x0a /* Public */,
      17,    1,  194,    2, 0x0a /* Public */,
      19,    1,  197,    2, 0x0a /* Public */,
      21,    1,  200,    2, 0x0a /* Public */,
      23,    1,  203,    2, 0x0a /* Public */,
      25,    1,  206,    2, 0x0a /* Public */,
      27,    1,  209,    2, 0x0a /* Public */,
      29,    1,  212,    2, 0x0a /* Public */,
      31,    1,  215,    2, 0x0a /* Public */,
      33,    1,  218,    2, 0x0a /* Public */,
      35,    1,  221,    2, 0x0a /* Public */,
      37,    1,  224,    2, 0x0a /* Public */,
      39,    1,  227,    2, 0x0a /* Public */,
      41,    1,  230,    2, 0x0a /* Public */,
      43,    1,  233,    2, 0x0a /* Public */,
      45,    1,  236,    2, 0x0a /* Public */,
      47,    1,  239,    2, 0x0a /* Public */,
      49,    1,  242,    2, 0x0a /* Public */,
      52,    1,  245,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double, QMetaType::Double,    6,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    7,
    QMetaType::Void, QMetaType::Double,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void, QMetaType::Double,   24,
    QMetaType::Void, QMetaType::QColor,   26,
    QMetaType::Void, QMetaType::QColor,   28,
    QMetaType::Void, QMetaType::QColor,   30,
    QMetaType::Void, QMetaType::QColor,   32,
    QMetaType::Void, QMetaType::QColor,   34,
    QMetaType::Void, QMetaType::QColor,   36,
    QMetaType::Void, QMetaType::QColor,   38,
    QMetaType::Void, QMetaType::QColor,   40,
    QMetaType::Void, QMetaType::QColor,   42,
    QMetaType::Void, QMetaType::QColor,   44,
    QMetaType::Void, QMetaType::Bool,   46,
    QMetaType::Void, QMetaType::QColor,   48,
    QMetaType::Void, 0x80000000 | 50,   51,
    QMetaType::Void, 0x80000000 | 53,   54,

 // properties: name, type, flags
       6, QMetaType::Double, 0x00095103,
       7, QMetaType::Double, 0x00095103,
       3, QMetaType::Double, 0x00095103,
      12, QMetaType::Int, 0x00095103,
      14, QMetaType::Int, 0x00095103,
      16, QMetaType::Int, 0x00095103,
      18, QMetaType::Int, 0x00095103,
      20, QMetaType::Int, 0x00095103,
      22, QMetaType::Bool, 0x00095103,
      24, QMetaType::Double, 0x00095103,
      26, QMetaType::QColor, 0x00095103,
      28, QMetaType::QColor, 0x00095103,
      30, QMetaType::QColor, 0x00095103,
      32, QMetaType::QColor, 0x00095103,
      34, QMetaType::QColor, 0x00095103,
      36, QMetaType::QColor, 0x00095103,
      38, QMetaType::QColor, 0x00095103,
      40, QMetaType::QColor, 0x00095103,
      42, QMetaType::QColor, 0x00095103,
      44, QMetaType::QColor, 0x00095103,
      46, QMetaType::Bool, 0x00095103,
      48, QMetaType::QColor, 0x00095103,
      51, 0x80000000 | 50, 0x0009510b,
      54, 0x80000000 | 53, 0x0009510b,

 // enums: name, alias, flags, count, data
      50,   50, 0x0,    2,  330,
      53,   53, 0x0,    4,  334,

 // enum data: key, value
      55, uint(AverageChart::PieStyle_Three),
      56, uint(AverageChart::PieStyle_Current),
      57, uint(AverageChart::PointerStyle_Circle),
      58, uint(AverageChart::PointerStyle_Indicator),
      59, uint(AverageChart::PointerStyle_IndicatorR),
      60, uint(AverageChart::PointerStyle_Triangle),

       0        // eod
};

void AverageChart::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AverageChart *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->updateValue(); break;
        case 2: _t->setRange((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 3: _t->setRange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->setMinValue((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 5: _t->setMaxValue((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: _t->setValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->setPrecision((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->setScaleMajor((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setScaleMinor((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setStartAngle((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setEndAngle((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setAnimation((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setAnimationStep((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 15: _t->setOuterCircleColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 16: _t->setInnerCircleColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 17: _t->setPieColorStart((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 18: _t->setPieColorMid((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 19: _t->setPieColorEnd((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 20: _t->setCoverCircleColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 21: _t->setScaleColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 22: _t->setPointerColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 23: _t->setCenterCircleColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 24: _t->setTextColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 25: _t->setShowOverlay((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 26: _t->setOverlayColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 27: _t->setPieStyle((*reinterpret_cast< const PieStyle(*)>(_a[1]))); break;
        case 28: _t->setPointerStyle((*reinterpret_cast< const PointerStyle(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AverageChart::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AverageChart::valueChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<AverageChart *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< double*>(_v) = _t->getMinValue(); break;
        case 1: *reinterpret_cast< double*>(_v) = _t->getMaxValue(); break;
        case 2: *reinterpret_cast< double*>(_v) = _t->getValue(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->getPrecision(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->getScaleMajor(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->getScaleMinor(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->getStartAngle(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->getEndAngle(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->getAnimation(); break;
        case 9: *reinterpret_cast< double*>(_v) = _t->getAnimationStep(); break;
        case 10: *reinterpret_cast< QColor*>(_v) = _t->getOuterCircleColor(); break;
        case 11: *reinterpret_cast< QColor*>(_v) = _t->getInnerCircleColor(); break;
        case 12: *reinterpret_cast< QColor*>(_v) = _t->getPieColorStart(); break;
        case 13: *reinterpret_cast< QColor*>(_v) = _t->getPieColorMid(); break;
        case 14: *reinterpret_cast< QColor*>(_v) = _t->getPieColorEnd(); break;
        case 15: *reinterpret_cast< QColor*>(_v) = _t->getCoverCircleColor(); break;
        case 16: *reinterpret_cast< QColor*>(_v) = _t->getScaleColor(); break;
        case 17: *reinterpret_cast< QColor*>(_v) = _t->getPointerColor(); break;
        case 18: *reinterpret_cast< QColor*>(_v) = _t->getCenterCircleColor(); break;
        case 19: *reinterpret_cast< QColor*>(_v) = _t->getTextColor(); break;
        case 20: *reinterpret_cast< bool*>(_v) = _t->getShowOverlay(); break;
        case 21: *reinterpret_cast< QColor*>(_v) = _t->getOverlayColor(); break;
        case 22: *reinterpret_cast< PieStyle*>(_v) = _t->getPieStyle(); break;
        case 23: *reinterpret_cast< PointerStyle*>(_v) = _t->getPointerStyle(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<AverageChart *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMinValue(*reinterpret_cast< double*>(_v)); break;
        case 1: _t->setMaxValue(*reinterpret_cast< double*>(_v)); break;
        case 2: _t->setValue(*reinterpret_cast< double*>(_v)); break;
        case 3: _t->setPrecision(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setScaleMajor(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setScaleMinor(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setStartAngle(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setEndAngle(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setAnimation(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setAnimationStep(*reinterpret_cast< double*>(_v)); break;
        case 10: _t->setOuterCircleColor(*reinterpret_cast< QColor*>(_v)); break;
        case 11: _t->setInnerCircleColor(*reinterpret_cast< QColor*>(_v)); break;
        case 12: _t->setPieColorStart(*reinterpret_cast< QColor*>(_v)); break;
        case 13: _t->setPieColorMid(*reinterpret_cast< QColor*>(_v)); break;
        case 14: _t->setPieColorEnd(*reinterpret_cast< QColor*>(_v)); break;
        case 15: _t->setCoverCircleColor(*reinterpret_cast< QColor*>(_v)); break;
        case 16: _t->setScaleColor(*reinterpret_cast< QColor*>(_v)); break;
        case 17: _t->setPointerColor(*reinterpret_cast< QColor*>(_v)); break;
        case 18: _t->setCenterCircleColor(*reinterpret_cast< QColor*>(_v)); break;
        case 19: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
        case 20: _t->setShowOverlay(*reinterpret_cast< bool*>(_v)); break;
        case 21: _t->setOverlayColor(*reinterpret_cast< QColor*>(_v)); break;
        case 22: _t->setPieStyle(*reinterpret_cast< PieStyle*>(_v)); break;
        case 23: _t->setPointerStyle(*reinterpret_cast< PointerStyle*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject AverageChart::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_AverageChart.data,
    qt_meta_data_AverageChart,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *AverageChart::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_AverageChart.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int AverageChart::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 29;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 24;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void AverageChart::valueChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
