/****************************************************************************
** Meta object code from reading C++ file 'svg.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/plasma/svg.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'svg.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__Svg_t {
    QByteArrayData data[41];
    char stringdata0[445];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__Svg_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__Svg_t qt_meta_stringdata_Plasma__Svg = {
    {
QT_MOC_LITERAL(0, 0, 11), // "Plasma::Svg"
QT_MOC_LITERAL(1, 12, 13), // "repaintNeeded"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 11), // "sizeChanged"
QT_MOC_LITERAL(4, 39, 16), // "imagePathChanged"
QT_MOC_LITERAL(5, 56, 16), // "colorHintChanged"
QT_MOC_LITERAL(6, 73, 17), // "colorGroupChanged"
QT_MOC_LITERAL(7, 91, 23), // "fromCurrentThemeChanged"
QT_MOC_LITERAL(8, 115, 16), // "fromCurrentTheme"
QT_MOC_LITERAL(9, 132, 13), // "statusChanged"
QT_MOC_LITERAL(10, 146, 19), // "Plasma::Svg::Status"
QT_MOC_LITERAL(11, 166, 6), // "status"
QT_MOC_LITERAL(12, 173, 12), // "themeChanged"
QT_MOC_LITERAL(13, 186, 13), // "colorsChanged"
QT_MOC_LITERAL(14, 200, 6), // "pixmap"
QT_MOC_LITERAL(15, 207, 9), // "elementID"
QT_MOC_LITERAL(16, 217, 5), // "image"
QT_MOC_LITERAL(17, 223, 4), // "size"
QT_MOC_LITERAL(18, 228, 5), // "paint"
QT_MOC_LITERAL(19, 234, 9), // "QPainter*"
QT_MOC_LITERAL(20, 244, 7), // "painter"
QT_MOC_LITERAL(21, 252, 5), // "point"
QT_MOC_LITERAL(22, 258, 1), // "x"
QT_MOC_LITERAL(23, 260, 1), // "y"
QT_MOC_LITERAL(24, 262, 4), // "rect"
QT_MOC_LITERAL(25, 267, 5), // "width"
QT_MOC_LITERAL(26, 273, 6), // "height"
QT_MOC_LITERAL(27, 280, 6), // "resize"
QT_MOC_LITERAL(28, 287, 11), // "elementSize"
QT_MOC_LITERAL(29, 299, 9), // "elementId"
QT_MOC_LITERAL(30, 309, 11), // "elementRect"
QT_MOC_LITERAL(31, 321, 10), // "hasElement"
QT_MOC_LITERAL(32, 332, 7), // "isValid"
QT_MOC_LITERAL(33, 340, 14), // "multipleImages"
QT_MOC_LITERAL(34, 355, 9), // "imagePath"
QT_MOC_LITERAL(35, 365, 19), // "usingRenderingCache"
QT_MOC_LITERAL(36, 385, 10), // "colorGroup"
QT_MOC_LITERAL(37, 396, 25), // "Plasma::Theme::ColorGroup"
QT_MOC_LITERAL(38, 422, 6), // "Status"
QT_MOC_LITERAL(39, 429, 6), // "Normal"
QT_MOC_LITERAL(40, 436, 8) // "Selected"

    },
    "Plasma::Svg\0repaintNeeded\0\0sizeChanged\0"
    "imagePathChanged\0colorHintChanged\0"
    "colorGroupChanged\0fromCurrentThemeChanged\0"
    "fromCurrentTheme\0statusChanged\0"
    "Plasma::Svg::Status\0status\0themeChanged\0"
    "colorsChanged\0pixmap\0elementID\0image\0"
    "size\0paint\0QPainter*\0painter\0point\0x\0"
    "y\0rect\0width\0height\0resize\0elementSize\0"
    "elementId\0elementRect\0hasElement\0"
    "isValid\0multipleImages\0imagePath\0"
    "usingRenderingCache\0colorGroup\0"
    "Plasma::Theme::ColorGroup\0Status\0"
    "Normal\0Selected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__Svg[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      28,   14, // methods
       7,  262, // properties
       1,  290, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  154,    2, 0x06 /* Public */,
       3,    0,  155,    2, 0x06 /* Public */,
       4,    0,  156,    2, 0x06 /* Public */,
       5,    0,  157,    2, 0x06 /* Public */,
       6,    0,  158,    2, 0x06 /* Public */,
       7,    1,  159,    2, 0x06 /* Public */,
       9,    1,  162,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,  165,    2, 0x08 /* Private */,
      13,    0,  166,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      14,    1,  167,    2, 0x02 /* Public */,
      14,    0,  170,    2, 0x22 /* Public | MethodCloned */,
      16,    2,  171,    2, 0x02 /* Public */,
      16,    1,  176,    2, 0x22 /* Public | MethodCloned */,
      18,    3,  179,    2, 0x02 /* Public */,
      18,    2,  186,    2, 0x22 /* Public | MethodCloned */,
      18,    4,  191,    2, 0x02 /* Public */,
      18,    3,  200,    2, 0x22 /* Public | MethodCloned */,
      18,    3,  207,    2, 0x02 /* Public */,
      18,    2,  214,    2, 0x22 /* Public | MethodCloned */,
      18,    6,  219,    2, 0x02 /* Public */,
      18,    5,  232,    2, 0x22 /* Public | MethodCloned */,
      27,    2,  243,    2, 0x02 /* Public */,
      27,    1,  248,    2, 0x02 /* Public */,
      27,    0,  251,    2, 0x02 /* Public */,
      28,    1,  252,    2, 0x02 /* Public */,
      30,    1,  255,    2, 0x02 /* Public */,
      31,    1,  258,    2, 0x02 /* Public */,
      32,    0,  261,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, 0x80000000 | 10,   11,

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

 // methods: parameters
    QMetaType::QPixmap, QMetaType::QString,   15,
    QMetaType::QPixmap,
    QMetaType::QImage, QMetaType::QSize, QMetaType::QString,   17,   15,
    QMetaType::QImage, QMetaType::QSize,   17,
    QMetaType::Void, 0x80000000 | 19, QMetaType::QPointF, QMetaType::QString,   20,   21,   15,
    QMetaType::Void, 0x80000000 | 19, QMetaType::QPointF,   20,   21,
    QMetaType::Void, 0x80000000 | 19, QMetaType::Int, QMetaType::Int, QMetaType::QString,   20,   22,   23,   15,
    QMetaType::Void, 0x80000000 | 19, QMetaType::Int, QMetaType::Int,   20,   22,   23,
    QMetaType::Void, 0x80000000 | 19, QMetaType::QRectF, QMetaType::QString,   20,   24,   15,
    QMetaType::Void, 0x80000000 | 19, QMetaType::QRectF,   20,   24,
    QMetaType::Void, 0x80000000 | 19, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::QString,   20,   22,   23,   25,   26,   15,
    QMetaType::Void, 0x80000000 | 19, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   20,   22,   23,   25,   26,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   25,   26,
    QMetaType::Void, QMetaType::QSizeF,   17,
    QMetaType::Void,
    QMetaType::QSize, QMetaType::QString,   29,
    QMetaType::QRectF, QMetaType::QString,   29,
    QMetaType::Bool, QMetaType::QString,   29,
    QMetaType::Bool,

 // properties: name, type, flags
      17, QMetaType::QSize, 0x00495003,
      33, QMetaType::Bool, 0x00095003,
      34, QMetaType::QString, 0x00495103,
      35, QMetaType::Bool, 0x00095103,
       8, QMetaType::Bool, 0x00495001,
      36, 0x80000000 | 37, 0x0049510b,
      11, 0x80000000 | 10, 0x0049510b,

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

 // enums: name, flags, count, data
      38, 0x0,    2,  294,

 // enum data: key, value
      39, uint(Plasma::Svg::Normal),
      40, uint(Plasma::Svg::Selected),

       0        // eod
};

void Plasma::Svg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Svg *_t = static_cast<Svg *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->repaintNeeded(); break;
        case 1: _t->sizeChanged(); break;
        case 2: _t->imagePathChanged(); break;
        case 3: _t->colorHintChanged(); break;
        case 4: _t->colorGroupChanged(); break;
        case 5: _t->fromCurrentThemeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->statusChanged((*reinterpret_cast< Plasma::Svg::Status(*)>(_a[1]))); break;
        case 7: _t->d->themeChanged(); break;
        case 8: _t->d->colorsChanged(); break;
        case 9: { QPixmap _r = _t->pixmap((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QPixmap*>(_a[0]) = std::move(_r); }  break;
        case 10: { QPixmap _r = _t->pixmap();
            if (_a[0]) *reinterpret_cast< QPixmap*>(_a[0]) = std::move(_r); }  break;
        case 11: { QImage _r = _t->image((*reinterpret_cast< const QSize(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QImage*>(_a[0]) = std::move(_r); }  break;
        case 12: { QImage _r = _t->image((*reinterpret_cast< const QSize(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QImage*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QPointF(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 14: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QPointF(*)>(_a[2]))); break;
        case 15: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 16: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 17: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 18: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2]))); break;
        case 19: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])),(*reinterpret_cast< const QString(*)>(_a[6]))); break;
        case 20: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 21: _t->resize((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 22: _t->resize((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break;
        case 23: _t->resize(); break;
        case 24: { QSize _r = _t->elementSize((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QSize*>(_a[0]) = std::move(_r); }  break;
        case 25: { QRectF _r = _t->elementRect((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = std::move(_r); }  break;
        case 26: { bool _r = _t->hasElement((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 27: { bool _r = _t->isValid();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Svg::repaintNeeded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Svg::sizeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Svg::imagePathChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Svg::colorHintChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Svg::colorGroupChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Svg::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Svg::fromCurrentThemeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Svg::*_t)(Plasma::Svg::Status );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Svg::statusChanged)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Svg *_t = static_cast<Svg *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->containsMultipleImages(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->imagePath(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isUsingRenderingCache(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->fromCurrentTheme(); break;
        case 5: *reinterpret_cast< Plasma::Theme::ColorGroup*>(_v) = _t->colorGroup(); break;
        case 6: *reinterpret_cast< Plasma::Svg::Status*>(_v) = _t->status(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Svg *_t = static_cast<Svg *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->resize(*reinterpret_cast< QSize*>(_v)); break;
        case 1: _t->setContainsMultipleImages(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setImagePath(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setUsingRenderingCache(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setColorGroup(*reinterpret_cast< Plasma::Theme::ColorGroup*>(_v)); break;
        case 6: _t->setStatus(*reinterpret_cast< Plasma::Svg::Status*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

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

const QMetaObject Plasma::Svg::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Plasma__Svg.data,
      qt_meta_data_Plasma__Svg,  qt_static_metacall, qt_meta_extradata_Plasma__Svg, nullptr}
};


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

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

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

// SIGNAL 0
void Plasma::Svg::repaintNeeded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Plasma::Svg::sizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Plasma::Svg::imagePathChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Plasma::Svg::colorHintChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Plasma::Svg::colorGroupChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

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

// SIGNAL 6
void Plasma::Svg::statusChanged(Plasma::Svg::Status _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
