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

#include "../../../../src/plasma-framework-5.12.0/src/declarativeimports/core/iconitem.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'iconitem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_IconItem_t {
    QByteArrayData data[17];
    char stringdata[195];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_IconItem_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_IconItem_t qt_meta_stringdata_IconItem = {
    {
QT_MOC_LITERAL(0, 0, 8), // "IconItem"
QT_MOC_LITERAL(1, 9, 13), // "activeChanged"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 13), // "sourceChanged"
QT_MOC_LITERAL(4, 38, 13), // "smoothChanged"
QT_MOC_LITERAL(5, 52, 12), // "validChanged"
QT_MOC_LITERAL(6, 65, 17), // "colorGroupChanged"
QT_MOC_LITERAL(7, 83, 10), // "loadPixmap"
QT_MOC_LITERAL(8, 94, 17), // "animationFinished"
QT_MOC_LITERAL(9, 112, 12), // "valueChanged"
QT_MOC_LITERAL(10, 125, 5), // "value"
QT_MOC_LITERAL(11, 131, 6), // "source"
QT_MOC_LITERAL(12, 138, 10), // "colorGroup"
QT_MOC_LITERAL(13, 149, 25), // "Plasma::Theme::ColorGroup"
QT_MOC_LITERAL(14, 175, 6), // "smooth"
QT_MOC_LITERAL(15, 182, 6), // "active"
QT_MOC_LITERAL(16, 189, 5) // "valid"

    },
    "IconItem\0activeChanged\0\0sourceChanged\0"
    "smoothChanged\0validChanged\0colorGroupChanged\0"
    "loadPixmap\0animationFinished\0valueChanged\0"
    "value\0source\0colorGroup\0"
    "Plasma::Theme::ColorGroup\0smooth\0"
    "active\0valid"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_IconItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    0,   57,    2, 0x06 /* Public */,
       6,    0,   58,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   59,    2, 0x08 /* Private */,
       8,    0,   60,    2, 0x08 /* Private */,
       9,    1,   61,    2, 0x08 /* Private */,

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

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

 // properties: name, type, flags
      11, QMetaType::QVariant, 0x00495103,
      12, 0x80000000 | 13, 0x0049510b,
      14, QMetaType::Bool, 0x00495103,
      15, QMetaType::Bool, 0x00495103,
      16, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       1,
       4,
       2,
       0,
       3,

       0        // eod
};

void IconItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IconItem *_t = static_cast<IconItem *>(_o);
        switch (_id) {
        case 0: _t->activeChanged(); break;
        case 1: _t->sourceChanged(); break;
        case 2: _t->smoothChanged(); break;
        case 3: _t->validChanged(); break;
        case 4: _t->colorGroupChanged(); break;
        case 5: _t->loadPixmap(); break;
        case 6: _t->animationFinished(); break;
        case 7: _t->valueChanged((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (IconItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IconItem::activeChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (IconItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IconItem::sourceChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (IconItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IconItem::smoothChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (IconItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IconItem::validChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (IconItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IconItem::colorGroupChanged)) {
                *result = 4;
            }
        }
    }
}

static const QMetaObject * const qt_meta_extradata_IconItem[] = {
        &Plasma::Theme::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject IconItem::staticMetaObject = {
    { &QQuickItem::staticMetaObject, qt_meta_stringdata_IconItem.data,
      qt_meta_data_IconItem,  qt_static_metacall, qt_meta_extradata_IconItem, Q_NULLPTR}
};


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

void *IconItem::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_IconItem.stringdata))
        return static_cast<void*>(const_cast< IconItem*>(this));
    return QQuickItem::qt_metacast(_clname);
}

int IconItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QVariant*>(_v) = source(); break;
        case 1: *reinterpret_cast< Plasma::Theme::ColorGroup*>(_v) = colorGroup(); break;
        case 2: *reinterpret_cast< bool*>(_v) = smooth(); break;
        case 3: *reinterpret_cast< bool*>(_v) = isActive(); break;
        case 4: *reinterpret_cast< bool*>(_v) = isValid(); break;
        default: break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSource(*reinterpret_cast< QVariant*>(_v)); break;
        case 1: setColorGroup(*reinterpret_cast< Plasma::Theme::ColorGroup*>(_v)); break;
        case 2: setSmooth(*reinterpret_cast< bool*>(_v)); break;
        case 3: setActive(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void IconItem::activeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void IconItem::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void IconItem::smoothChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void IconItem::validChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void IconItem::colorGroupChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
