/****************************************************************************
** Meta object code from reading C++ file 'qrangemodel.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/plasma-framework-5.43.0/src/declarativeimports/plasmacomponents/qrangemodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qrangemodel.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_Plasma__QRangeModel_t {
    QByteArrayData data[26];
    char stringdata0[340];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__QRangeModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__QRangeModel_t qt_meta_stringdata_Plasma__QRangeModel = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Plasma::QRangeModel"
QT_MOC_LITERAL(1, 20, 12), // "valueChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 5), // "value"
QT_MOC_LITERAL(4, 40, 15), // "positionChanged"
QT_MOC_LITERAL(5, 56, 8), // "position"
QT_MOC_LITERAL(6, 65, 15), // "stepSizeChanged"
QT_MOC_LITERAL(7, 81, 8), // "stepSize"
QT_MOC_LITERAL(8, 90, 15), // "invertedChanged"
QT_MOC_LITERAL(9, 106, 8), // "inverted"
QT_MOC_LITERAL(10, 115, 14), // "minimumChanged"
QT_MOC_LITERAL(11, 130, 3), // "min"
QT_MOC_LITERAL(12, 134, 14), // "maximumChanged"
QT_MOC_LITERAL(13, 149, 3), // "max"
QT_MOC_LITERAL(14, 153, 24), // "positionAtMinimumChanged"
QT_MOC_LITERAL(15, 178, 24), // "positionAtMaximumChanged"
QT_MOC_LITERAL(16, 203, 9), // "toMinimum"
QT_MOC_LITERAL(17, 213, 9), // "toMaximum"
QT_MOC_LITERAL(18, 223, 8), // "setValue"
QT_MOC_LITERAL(19, 232, 11), // "setPosition"
QT_MOC_LITERAL(20, 244, 16), // "valueForPosition"
QT_MOC_LITERAL(21, 261, 16), // "positionForValue"
QT_MOC_LITERAL(22, 278, 12), // "minimumValue"
QT_MOC_LITERAL(23, 291, 12), // "maximumValue"
QT_MOC_LITERAL(24, 304, 17), // "positionAtMinimum"
QT_MOC_LITERAL(25, 322, 17) // "positionAtMaximum"

    },
    "Plasma::QRangeModel\0valueChanged\0\0"
    "value\0positionChanged\0position\0"
    "stepSizeChanged\0stepSize\0invertedChanged\0"
    "inverted\0minimumChanged\0min\0maximumChanged\0"
    "max\0positionAtMinimumChanged\0"
    "positionAtMaximumChanged\0toMinimum\0"
    "toMaximum\0setValue\0setPosition\0"
    "valueForPosition\0positionForValue\0"
    "minimumValue\0maximumValue\0positionAtMinimum\0"
    "positionAtMaximum"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__QRangeModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    1,   87,    2, 0x06 /* Public */,
       6,    1,   90,    2, 0x06 /* Public */,
       8,    1,   93,    2, 0x06 /* Public */,
      10,    1,   96,    2, 0x06 /* Public */,
      12,    1,   99,    2, 0x06 /* Public */,
      14,    1,  102,    2, 0x06 /* Public */,
      15,    1,  105,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  108,    2, 0x0a /* Public */,
      17,    0,  109,    2, 0x0a /* Public */,
      18,    1,  110,    2, 0x0a /* Public */,
      19,    1,  113,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      20,    1,  116,    2, 0x02 /* Public */,
      21,    1,  119,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, QMetaType::QReal,    5,
    QMetaType::Void, QMetaType::QReal,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::QReal,   11,
    QMetaType::Void, QMetaType::QReal,   13,
    QMetaType::Void, QMetaType::QReal,   11,
    QMetaType::Void, QMetaType::QReal,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, QMetaType::QReal,    5,

 // methods: parameters
    QMetaType::QReal, QMetaType::QReal,    5,
    QMetaType::QReal, QMetaType::QReal,    3,

 // properties: name, type, flags
       3, QMetaType::QReal, 0x00595103,
      22, QMetaType::QReal, 0x00495003,
      23, QMetaType::QReal, 0x00495003,
       7, QMetaType::QReal, 0x00495103,
       5, QMetaType::QReal, 0x00495103,
      24, QMetaType::QReal, 0x00495103,
      25, QMetaType::QReal, 0x00495103,
       9, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       4,
       5,
       2,
       1,
       6,
       7,
       3,

       0        // eod
};

void Plasma::QRangeModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QRangeModel *_t = static_cast<QRangeModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->valueChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 1: _t->positionChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 2: _t->stepSizeChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 3: _t->invertedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->minimumChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 5: _t->maximumChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 6: _t->positionAtMinimumChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 7: _t->positionAtMaximumChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 8: _t->toMinimum(); break;
        case 9: _t->toMaximum(); break;
        case 10: _t->setValue((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 11: _t->setPosition((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 12: { qreal _r = _t->valueForPosition((*reinterpret_cast< qreal(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        case 13: { qreal _r = _t->positionForValue((*reinterpret_cast< qreal(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QRangeModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::valueChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QRangeModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::positionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QRangeModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::stepSizeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QRangeModel::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::invertedChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QRangeModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::minimumChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QRangeModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::maximumChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QRangeModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::positionAtMinimumChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QRangeModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRangeModel::positionAtMaximumChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QRangeModel *_t = static_cast<QRangeModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qreal*>(_v) = _t->value(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = _t->minimum(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = _t->maximum(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = _t->stepSize(); break;
        case 4: *reinterpret_cast< qreal*>(_v) = _t->position(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->positionAtMinimum(); break;
        case 6: *reinterpret_cast< qreal*>(_v) = _t->positionAtMaximum(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->inverted(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QRangeModel *_t = static_cast<QRangeModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setValue(*reinterpret_cast< qreal*>(_v)); break;
        case 1: _t->setMinimum(*reinterpret_cast< qreal*>(_v)); break;
        case 2: _t->setMaximum(*reinterpret_cast< qreal*>(_v)); break;
        case 3: _t->setStepSize(*reinterpret_cast< qreal*>(_v)); break;
        case 4: _t->setPosition(*reinterpret_cast< qreal*>(_v)); break;
        case 5: _t->setPositionAtMinimum(*reinterpret_cast< qreal*>(_v)); break;
        case 6: _t->setPositionAtMaximum(*reinterpret_cast< qreal*>(_v)); break;
        case 7: _t->setInverted(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Plasma::QRangeModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Plasma__QRangeModel.data,
      qt_meta_data_Plasma__QRangeModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *Plasma::QRangeModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Plasma__QRangeModel.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Plasma::QRangeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Plasma::QRangeModel::valueChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Plasma::QRangeModel::positionChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Plasma::QRangeModel::stepSizeChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Plasma::QRangeModel::invertedChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Plasma::QRangeModel::minimumChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Plasma::QRangeModel::maximumChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Plasma::QRangeModel::positionAtMinimumChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Plasma::QRangeModel::positionAtMaximumChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
