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

#include "../../../../ksysguard6/signalplotter/kgraphicssignalplotter.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgraphicssignalplotter.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN22KGraphicsSignalPlotterE_t {};
} // unnamed namespace

template <> constexpr inline auto KGraphicsSignalPlotter::qt_create_metaobjectdata<qt_meta_tag_ZN22KGraphicsSignalPlotterE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KGraphicsSignalPlotter",
        "axisScaleChanged",
        "",
        "minimumValue",
        "maximumValue",
        "useAutoRange",
        "unit",
        "KLocalizedString",
        "scaleDownBy",
        "horizontalScale",
        "showHorizontalLines",
        "showVerticalLines",
        "verticalLinesScroll",
        "verticalLinesDistance",
        "showAxis",
        "svgBackground",
        "thinFrame",
        "maxAxisTextWidth",
        "smoothGraph",
        "stackGraph",
        "fillOpacity"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'axisScaleChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'minimumValue'
        QtMocHelpers::PropertyData<qreal>(3, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'maximumValue'
        QtMocHelpers::PropertyData<qreal>(4, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'useAutoRange'
        QtMocHelpers::PropertyData<bool>(5, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'unit'
        QtMocHelpers::PropertyData<KLocalizedString>(6, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'scaleDownBy'
        QtMocHelpers::PropertyData<qreal>(8, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'horizontalScale'
        QtMocHelpers::PropertyData<uint>(9, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'showHorizontalLines'
        QtMocHelpers::PropertyData<bool>(10, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'showVerticalLines'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'verticalLinesScroll'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'verticalLinesDistance'
        QtMocHelpers::PropertyData<uint>(13, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'showAxis'
        QtMocHelpers::PropertyData<bool>(14, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'svgBackground'
        QtMocHelpers::PropertyData<QString>(15, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'thinFrame'
        QtMocHelpers::PropertyData<bool>(16, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'maxAxisTextWidth'
        QtMocHelpers::PropertyData<int>(17, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'smoothGraph'
        QtMocHelpers::PropertyData<bool>(18, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'stackGraph'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'fillOpacity'
        QtMocHelpers::PropertyData<int>(20, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KGraphicsSignalPlotter, qt_meta_tag_ZN22KGraphicsSignalPlotterE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KGraphicsSignalPlotter::staticMetaObject = { {
    QMetaObject::SuperData::link<QGraphicsWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22KGraphicsSignalPlotterE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22KGraphicsSignalPlotterE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN22KGraphicsSignalPlotterE_t>.metaTypes,
    nullptr
} };

void KGraphicsSignalPlotter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KGraphicsSignalPlotter *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->axisScaleChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KGraphicsSignalPlotter::*)()>(_a, &KGraphicsSignalPlotter::axisScaleChanged, 0))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KLocalizedString >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qreal*>(_v) = _t->minimumValue(); break;
        case 1: *reinterpret_cast<qreal*>(_v) = _t->maximumValue(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->useAutoRange(); break;
        case 3: *reinterpret_cast<KLocalizedString*>(_v) = _t->unit(); break;
        case 4: *reinterpret_cast<qreal*>(_v) = _t->scaleDownBy(); break;
        case 5: *reinterpret_cast<uint*>(_v) = _t->horizontalScale(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->showHorizontalLines(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->showVerticalLines(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->verticalLinesScroll(); break;
        case 9: *reinterpret_cast<uint*>(_v) = _t->verticalLinesDistance(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->showAxis(); break;
        case 11: *reinterpret_cast<QString*>(_v) = _t->svgBackground(); break;
        case 12: *reinterpret_cast<bool*>(_v) = _t->thinFrame(); break;
        case 13: *reinterpret_cast<int*>(_v) = _t->maxAxisTextWidth(); break;
        case 14: *reinterpret_cast<bool*>(_v) = _t->smoothGraph(); break;
        case 15: *reinterpret_cast<bool*>(_v) = _t->stackGraph(); break;
        case 16: *reinterpret_cast<int*>(_v) = _t->fillOpacity(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMinimumValue(*reinterpret_cast<qreal*>(_v)); break;
        case 1: _t->setMaximumValue(*reinterpret_cast<qreal*>(_v)); break;
        case 2: _t->setUseAutoRange(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setUnit(*reinterpret_cast<KLocalizedString*>(_v)); break;
        case 4: _t->setScaleDownBy(*reinterpret_cast<qreal*>(_v)); break;
        case 5: _t->setHorizontalScale(*reinterpret_cast<uint*>(_v)); break;
        case 6: _t->setShowHorizontalLines(*reinterpret_cast<bool*>(_v)); break;
        case 7: _t->setShowVerticalLines(*reinterpret_cast<bool*>(_v)); break;
        case 8: _t->setVerticalLinesScroll(*reinterpret_cast<bool*>(_v)); break;
        case 9: _t->setVerticalLinesDistance(*reinterpret_cast<uint*>(_v)); break;
        case 10: _t->setShowAxis(*reinterpret_cast<bool*>(_v)); break;
        case 11: _t->setSvgBackground(*reinterpret_cast<QString*>(_v)); break;
        case 12: _t->setThinFrame(*reinterpret_cast<bool*>(_v)); break;
        case 13: _t->setMaxAxisTextWidth(*reinterpret_cast<int*>(_v)); break;
        case 14: _t->setSmoothGraph(*reinterpret_cast<bool*>(_v)); break;
        case 15: _t->setStackGraph(*reinterpret_cast<bool*>(_v)); break;
        case 16: _t->setFillOpacity(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

void *KGraphicsSignalPlotter::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22KGraphicsSignalPlotterE_t>.strings))
        return static_cast<void*>(this);
    return QGraphicsWidget::qt_metacast(_clname);
}

int KGraphicsSignalPlotter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void KGraphicsSignalPlotter::axisScaleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
