/****************************************************************************
** Meta object code from reading C++ file 'svg.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/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.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_Plasma__Svg_t {
    QByteArrayData data[35];
    char stringdata[381];
};
#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, stringdata) + 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, 12), // "themeChanged"
QT_MOC_LITERAL(10, 145, 13), // "colorsChanged"
QT_MOC_LITERAL(11, 159, 6), // "pixmap"
QT_MOC_LITERAL(12, 166, 9), // "elementID"
QT_MOC_LITERAL(13, 176, 5), // "image"
QT_MOC_LITERAL(14, 182, 4), // "size"
QT_MOC_LITERAL(15, 187, 5), // "paint"
QT_MOC_LITERAL(16, 193, 9), // "QPainter*"
QT_MOC_LITERAL(17, 203, 7), // "painter"
QT_MOC_LITERAL(18, 211, 5), // "point"
QT_MOC_LITERAL(19, 217, 1), // "x"
QT_MOC_LITERAL(20, 219, 1), // "y"
QT_MOC_LITERAL(21, 221, 4), // "rect"
QT_MOC_LITERAL(22, 226, 5), // "width"
QT_MOC_LITERAL(23, 232, 6), // "height"
QT_MOC_LITERAL(24, 239, 6), // "resize"
QT_MOC_LITERAL(25, 246, 11), // "elementSize"
QT_MOC_LITERAL(26, 258, 9), // "elementId"
QT_MOC_LITERAL(27, 268, 11), // "elementRect"
QT_MOC_LITERAL(28, 280, 10), // "hasElement"
QT_MOC_LITERAL(29, 291, 7), // "isValid"
QT_MOC_LITERAL(30, 299, 14), // "multipleImages"
QT_MOC_LITERAL(31, 314, 9), // "imagePath"
QT_MOC_LITERAL(32, 324, 19), // "usingRenderingCache"
QT_MOC_LITERAL(33, 344, 10), // "colorGroup"
QT_MOC_LITERAL(34, 355, 25) // "Plasma::Theme::ColorGroup"

    },
    "Plasma::Svg\0repaintNeeded\0\0sizeChanged\0"
    "imagePathChanged\0colorHintChanged\0"
    "colorGroupChanged\0fromCurrentThemeChanged\0"
    "fromCurrentTheme\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"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__Svg[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      27,   14, // methods
       6,  254, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  149,    2, 0x06 /* Public */,
       3,    0,  150,    2, 0x06 /* Public */,
       4,    0,  151,    2, 0x06 /* Public */,
       5,    0,  152,    2, 0x06 /* Public */,
       6,    0,  153,    2, 0x06 /* Public */,
       7,    1,  154,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,  157,    2, 0x08 /* Private */,
      10,    0,  158,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      11,    1,  159,    2, 0x02 /* Public */,
      11,    0,  162,    2, 0x22 /* Public | MethodCloned */,
      13,    2,  163,    2, 0x02 /* Public */,
      13,    1,  168,    2, 0x22 /* Public | MethodCloned */,
      15,    3,  171,    2, 0x02 /* Public */,
      15,    2,  178,    2, 0x22 /* Public | MethodCloned */,
      15,    4,  183,    2, 0x02 /* Public */,
      15,    3,  192,    2, 0x22 /* Public | MethodCloned */,
      15,    3,  199,    2, 0x02 /* Public */,
      15,    2,  206,    2, 0x22 /* Public | MethodCloned */,
      15,    6,  211,    2, 0x02 /* Public */,
      15,    5,  224,    2, 0x22 /* Public | MethodCloned */,
      24,    2,  235,    2, 0x02 /* Public */,
      24,    1,  240,    2, 0x02 /* Public */,
      24,    0,  243,    2, 0x02 /* Public */,
      25,    1,  244,    2, 0x02 /* Public */,
      27,    1,  247,    2, 0x02 /* Public */,
      28,    1,  250,    2, 0x02 /* Public */,
      29,    0,  253,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    8,

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

 // methods: parameters
    QMetaType::QPixmap, QMetaType::QString,   12,
    QMetaType::QPixmap,
    QMetaType::QImage, QMetaType::QSize, QMetaType::QString,   14,   12,
    QMetaType::QImage, QMetaType::QSize,   14,
    QMetaType::Void, 0x80000000 | 16, QMetaType::QPointF, QMetaType::QString,   17,   18,   12,
    QMetaType::Void, 0x80000000 | 16, QMetaType::QPointF,   17,   18,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int, QMetaType::Int, QMetaType::QString,   17,   19,   20,   12,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int, QMetaType::Int,   17,   19,   20,
    QMetaType::Void, 0x80000000 | 16, QMetaType::QRectF, QMetaType::QString,   17,   21,   12,
    QMetaType::Void, 0x80000000 | 16, QMetaType::QRectF,   17,   21,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::QString,   17,   19,   20,   22,   23,   12,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   17,   19,   20,   22,   23,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   22,   23,
    QMetaType::Void, QMetaType::QSizeF,   14,
    QMetaType::Void,
    QMetaType::QSize, QMetaType::QString,   26,
    QMetaType::QRectF, QMetaType::QString,   26,
    QMetaType::Bool, QMetaType::QString,   26,
    QMetaType::Bool,

 // properties: name, type, flags
      14, QMetaType::QSize, 0x00495003,
      30, QMetaType::Bool, 0x00095003,
      31, QMetaType::QString, 0x00495103,
      32, QMetaType::Bool, 0x00095103,
       8, QMetaType::Bool, 0x00495001,
      33, 0x80000000 | 34, 0x0049510b,

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

 // enums: name, flags, count, data

 // enum data: key, value

       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);
        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->d->themeChanged(); break;
        case 7: _t->d->colorsChanged(); break;
        case 8: { QPixmap _r = _t->pixmap((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QPixmap*>(_a[0]) = _r; }  break;
        case 9: { QPixmap _r = _t->pixmap();
            if (_a[0]) *reinterpret_cast< QPixmap*>(_a[0]) = _r; }  break;
        case 10: { QImage _r = _t->image((*reinterpret_cast< const QSize(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QImage*>(_a[0]) = _r; }  break;
        case 11: { QImage _r = _t->image((*reinterpret_cast< const QSize(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QImage*>(_a[0]) = _r; }  break;
        case 12: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QPointF(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 13: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QPointF(*)>(_a[2]))); break;
        case 14: _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 15: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 16: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 17: _t->paint((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2]))); break;
        case 18: _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 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]))); break;
        case 20: _t->resize((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 21: _t->resize((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break;
        case 22: _t->resize(); break;
        case 23: { QSize _r = _t->elementSize((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QSize*>(_a[0]) = _r; }  break;
        case 24: { QRectF _r = _t->elementRect((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = _r; }  break;
        case 25: { bool _r = _t->hasElement((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 26: { bool _r = _t->isValid();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Svg::repaintNeeded)) {
                *result = 0;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Svg::sizeChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Svg::imagePathChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Svg::colorHintChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (Svg::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Svg::colorGroupChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (Svg::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Svg::fromCurrentThemeChanged)) {
                *result = 5;
            }
        }
    }
}

static const QMetaObject * const qt_meta_extradata_Plasma__Svg[] = {
        &Plasma::Theme::staticMetaObject,
    Q_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, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Plasma__Svg.stringdata))
        return static_cast<void*>(const_cast< Svg*>(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 < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 27;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QSize*>(_v) = size(); break;
        case 1: *reinterpret_cast< bool*>(_v) = containsMultipleImages(); break;
        case 2: *reinterpret_cast< QString*>(_v) = imagePath(); break;
        case 3: *reinterpret_cast< bool*>(_v) = isUsingRenderingCache(); break;
        case 4: *reinterpret_cast< bool*>(_v) = fromCurrentTheme(); break;
        case 5: *reinterpret_cast< Plasma::Theme::ColorGroup*>(_v) = colorGroup(); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: resize(*reinterpret_cast< QSize*>(_v)); break;
        case 1: setContainsMultipleImages(*reinterpret_cast< bool*>(_v)); break;
        case 2: setImagePath(*reinterpret_cast< QString*>(_v)); break;
        case 3: setUsingRenderingCache(*reinterpret_cast< bool*>(_v)); break;
        case 5: setColorGroup(*reinterpret_cast< Plasma::Theme::ColorGroup*>(_v)); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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