/****************************************************************************
** Meta object code from reading C++ file 'units.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/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.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_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:
       7,       // 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) {
        SharedAppFilter *_t = static_cast<SharedAppFilter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->fontChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SharedAppFilter::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SharedAppFilter::fontChanged)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject SharedAppFilter::staticMetaObject = {
    { &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[23];
    char stringdata0[322];
};
#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, 19), // "settingsFileChanged"
QT_MOC_LITERAL(10, 162, 4), // "file"
QT_MOC_LITERAL(11, 167, 13), // "updateSpacing"
QT_MOC_LITERAL(12, 181, 15), // "roundToIconSize"
QT_MOC_LITERAL(13, 197, 4), // "size"
QT_MOC_LITERAL(14, 202, 8), // "gridUnit"
QT_MOC_LITERAL(15, 211, 9), // "iconSizes"
QT_MOC_LITERAL(16, 221, 16), // "QQmlPropertyMap*"
QT_MOC_LITERAL(17, 238, 13), // "iconSizeHints"
QT_MOC_LITERAL(18, 252, 12), // "smallSpacing"
QT_MOC_LITERAL(19, 265, 12), // "largeSpacing"
QT_MOC_LITERAL(20, 278, 16), // "devicePixelRatio"
QT_MOC_LITERAL(21, 295, 12), // "longDuration"
QT_MOC_LITERAL(22, 308, 13) // "shortDuration"

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

static const uint qt_meta_data_Units[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,
       7,    0,   69,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   70,    2, 0x08 /* Private */,
       9,    1,   71,    2, 0x08 /* Private */,
      11,    0,   74,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      12,    1,   75,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Int, QMetaType::Int,   13,

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

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

       0        // eod
};

void Units::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Units *_t = static_cast<Units *>(_o);
        Q_UNUSED(_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->settingsFileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->updateSpacing(); break;
        case 9: { 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]);
        {
            typedef void (Units::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::devicePixelRatioChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Units::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::gridUnitChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Units::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::iconSizesChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Units::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::iconSizeHintsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Units::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Units::spacingChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Units::*_t)();
            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) {
        Units *_t = static_cast<Units *>(_o);
        Q_UNUSED(_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->largeSpacing(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->devicePixelRatio(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->longDuration(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->shortDuration(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

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