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

#include <memory>
#include "../../../../../plasma-framework-5.116.0/src/declarativeimports/core/units.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'units.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_SharedAppFilter_t {
    QByteArrayData data[3];
    char stringdata0[29];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SharedAppFilter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SharedAppFilter_t qt_meta_stringdata_SharedAppFilter = {
    {
QT_MOC_LITERAL(0, 0, 15), // "SharedAppFilter"
QT_MOC_LITERAL(1, 16, 11), // "fontChanged"
QT_MOC_LITERAL(2, 28, 0) // ""

    },
    "SharedAppFilter\0fontChanged\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SharedAppFilter[] = {

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

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

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void SharedAppFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SharedAppFilter *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->fontChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SharedAppFilter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SharedAppFilter::fontChanged)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject SharedAppFilter::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_SharedAppFilter.data,
    qt_meta_data_SharedAppFilter,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int SharedAppFilter::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void SharedAppFilter::fontChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_Units_t {
    QByteArrayData data[25];
    char stringdata0[358];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Units_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Units_t qt_meta_stringdata_Units = {
    {
QT_MOC_LITERAL(0, 0, 5), // "Units"
QT_MOC_LITERAL(1, 6, 23), // "devicePixelRatioChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 15), // "gridUnitChanged"
QT_MOC_LITERAL(4, 47, 16), // "iconSizesChanged"
QT_MOC_LITERAL(5, 64, 20), // "iconSizeHintsChanged"
QT_MOC_LITERAL(6, 85, 14), // "spacingChanged"
QT_MOC_LITERAL(7, 100, 15), // "durationChanged"
QT_MOC_LITERAL(8, 116, 25), // "iconLoaderSettingsChanged"
QT_MOC_LITERAL(9, 142, 13), // "updateSpacing"
QT_MOC_LITERAL(10, 156, 15), // "roundToIconSize"
QT_MOC_LITERAL(11, 172, 4), // "size"
QT_MOC_LITERAL(12, 177, 8), // "gridUnit"
QT_MOC_LITERAL(13, 186, 9), // "iconSizes"
QT_MOC_LITERAL(14, 196, 16), // "QQmlPropertyMap*"
QT_MOC_LITERAL(15, 213, 13), // "iconSizeHints"
QT_MOC_LITERAL(16, 227, 12), // "smallSpacing"
QT_MOC_LITERAL(17, 240, 13), // "mediumSpacing"
QT_MOC_LITERAL(18, 254, 12), // "largeSpacing"
QT_MOC_LITERAL(19, 267, 16), // "devicePixelRatio"
QT_MOC_LITERAL(20, 284, 12), // "longDuration"
QT_MOC_LITERAL(21, 297, 13), // "shortDuration"
QT_MOC_LITERAL(22, 311, 17), // "veryShortDuration"
QT_MOC_LITERAL(23, 329, 16), // "veryLongDuration"
QT_MOC_LITERAL(24, 346, 11) // "humanMoment"

    },
    "Units\0devicePixelRatioChanged\0\0"
    "gridUnitChanged\0iconSizesChanged\0"
    "iconSizeHintsChanged\0spacingChanged\0"
    "durationChanged\0iconLoaderSettingsChanged\0"
    "updateSpacing\0roundToIconSize\0size\0"
    "gridUnit\0iconSizes\0QQmlPropertyMap*\0"
    "iconSizeHints\0smallSpacing\0mediumSpacing\0"
    "largeSpacing\0devicePixelRatio\0"
    "longDuration\0shortDuration\0veryShortDuration\0"
    "veryLongDuration\0humanMoment"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Units[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
      12,   70, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    0,   62,    2, 0x06 /* Public */,
       6,    0,   63,    2, 0x06 /* Public */,
       7,    0,   64,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   65,    2, 0x08 /* Private */,
       9,    0,   66,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      10,    1,   67,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Int, QMetaType::Int,   11,

 // properties: name, type, flags
      12, QMetaType::Int, 0x00495001,
      13, 0x80000000 | 14, 0x00095409,
      15, 0x80000000 | 14, 0x00095409,
      16, QMetaType::Int, 0x00495001,
      17, QMetaType::Int, 0x00495001,
      18, QMetaType::Int, 0x00495001,
      19, QMetaType::QReal, 0x00495001,
      20, QMetaType::Int, 0x00495001,
      21, QMetaType::Int, 0x00495001,
      22, QMetaType::Int, 0x00495001,
      23, QMetaType::Int, 0x00495001,
      24, QMetaType::Int, 0x00095401,

 // properties: notify_signal_id
       1,
       0,
       0,
       4,
       4,
       4,
       0,
       5,
       5,
       5,
       5,
       0,

       0        // eod
};

void Units::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Units *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->devicePixelRatioChanged(); break;
        case 1: _t->gridUnitChanged(); break;
        case 2: _t->iconSizesChanged(); break;
        case 3: _t->iconSizeHintsChanged(); break;
        case 4: _t->spacingChanged(); break;
        case 5: _t->durationChanged(); break;
        case 6: _t->iconLoaderSettingsChanged(); break;
        case 7: _t->updateSpacing(); break;
        case 8: { int _r = _t->roundToIconSize((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Units::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::devicePixelRatioChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Units::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::gridUnitChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Units::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::iconSizesChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Units::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::iconSizeHintsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Units::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::spacingChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Units::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::durationChanged)) {
                *result = 5;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlPropertyMap* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Units *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->gridUnit(); break;
        case 1: *reinterpret_cast< QQmlPropertyMap**>(_v) = _t->iconSizes(); break;
        case 2: *reinterpret_cast< QQmlPropertyMap**>(_v) = _t->iconSizeHints(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->smallSpacing(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->mediumSpacing(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->largeSpacing(); break;
        case 6: *reinterpret_cast< qreal*>(_v) = _t->devicePixelRatio(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->longDuration(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->shortDuration(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->veryShortDuration(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->veryLongDuration(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->humanMoment(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Units::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Units.data,
    qt_meta_data_Units,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Units::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
#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 -= 12;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 12;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Units::devicePixelRatioChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Units::gridUnitChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Units::iconSizesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Units::iconSizeHintsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Units::spacingChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Units::durationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
