/****************************************************************************
** Meta object code from reading C++ file 'framesvg.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/framesvg.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'framesvg.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__FrameSvg_t {
    QByteArrayData data[44];
    char stringdata0[490];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__FrameSvg_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__FrameSvg_t qt_meta_stringdata_Plasma__FrameSvg = {
    {
QT_MOC_LITERAL(0, 0, 16), // "Plasma::FrameSvg"
QT_MOC_LITERAL(1, 17, 12), // "setImagePath"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 4), // "path"
QT_MOC_LITERAL(4, 36, 11), // "resizeFrame"
QT_MOC_LITERAL(5, 48, 4), // "size"
QT_MOC_LITERAL(6, 53, 9), // "frameSize"
QT_MOC_LITERAL(7, 63, 10), // "marginSize"
QT_MOC_LITERAL(8, 74, 25), // "Plasma::Types::MarginEdge"
QT_MOC_LITERAL(9, 100, 4), // "edge"
QT_MOC_LITERAL(10, 105, 10), // "getMargins"
QT_MOC_LITERAL(11, 116, 6), // "qreal&"
QT_MOC_LITERAL(12, 123, 4), // "left"
QT_MOC_LITERAL(13, 128, 3), // "top"
QT_MOC_LITERAL(14, 132, 5), // "right"
QT_MOC_LITERAL(15, 138, 6), // "bottom"
QT_MOC_LITERAL(16, 145, 15), // "fixedMarginSize"
QT_MOC_LITERAL(17, 161, 15), // "getFixedMargins"
QT_MOC_LITERAL(18, 177, 12), // "contentsRect"
QT_MOC_LITERAL(19, 190, 16), // "setElementPrefix"
QT_MOC_LITERAL(20, 207, 23), // "Plasma::Types::Location"
QT_MOC_LITERAL(21, 231, 8), // "location"
QT_MOC_LITERAL(22, 240, 6), // "prefix"
QT_MOC_LITERAL(23, 247, 16), // "hasElementPrefix"
QT_MOC_LITERAL(24, 264, 4), // "mask"
QT_MOC_LITERAL(25, 269, 25), // "setCacheAllRenderedFrames"
QT_MOC_LITERAL(26, 295, 5), // "cache"
QT_MOC_LITERAL(27, 301, 22), // "cacheAllRenderedFrames"
QT_MOC_LITERAL(28, 324, 10), // "clearCache"
QT_MOC_LITERAL(29, 335, 11), // "framePixmap"
QT_MOC_LITERAL(30, 347, 10), // "paintFrame"
QT_MOC_LITERAL(31, 358, 9), // "QPainter*"
QT_MOC_LITERAL(32, 368, 7), // "painter"
QT_MOC_LITERAL(33, 376, 6), // "target"
QT_MOC_LITERAL(34, 383, 6), // "source"
QT_MOC_LITERAL(35, 390, 3), // "pos"
QT_MOC_LITERAL(36, 394, 14), // "enabledBorders"
QT_MOC_LITERAL(37, 409, 14), // "EnabledBorders"
QT_MOC_LITERAL(38, 424, 8), // "NoBorder"
QT_MOC_LITERAL(39, 433, 9), // "TopBorder"
QT_MOC_LITERAL(40, 443, 12), // "BottomBorder"
QT_MOC_LITERAL(41, 456, 10), // "LeftBorder"
QT_MOC_LITERAL(42, 467, 11), // "RightBorder"
QT_MOC_LITERAL(43, 479, 10) // "AllBorders"

    },
    "Plasma::FrameSvg\0setImagePath\0\0path\0"
    "resizeFrame\0size\0frameSize\0marginSize\0"
    "Plasma::Types::MarginEdge\0edge\0"
    "getMargins\0qreal&\0left\0top\0right\0"
    "bottom\0fixedMarginSize\0getFixedMargins\0"
    "contentsRect\0setElementPrefix\0"
    "Plasma::Types::Location\0location\0"
    "prefix\0hasElementPrefix\0mask\0"
    "setCacheAllRenderedFrames\0cache\0"
    "cacheAllRenderedFrames\0clearCache\0"
    "framePixmap\0paintFrame\0QPainter*\0"
    "painter\0target\0source\0pos\0enabledBorders\0"
    "EnabledBorders\0NoBorder\0TopBorder\0"
    "BottomBorder\0LeftBorder\0RightBorder\0"
    "AllBorders"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__FrameSvg[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
       1,  196, // properties
       1,  199, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // methods: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x02 /* Public */,
       4,    1,  127,    2, 0x02 /* Public */,
       6,    0,  130,    2, 0x02 /* Public */,
       7,    1,  131,    2, 0x02 /* Public */,
      10,    4,  134,    2, 0x02 /* Public */,
      16,    1,  143,    2, 0x02 /* Public */,
      17,    4,  146,    2, 0x02 /* Public */,
      18,    0,  155,    2, 0x02 /* Public */,
      19,    1,  156,    2, 0x02 /* Public */,
      19,    1,  159,    2, 0x02 /* Public */,
      23,    1,  162,    2, 0x02 /* Public */,
      23,    1,  165,    2, 0x02 /* Public */,
      22,    0,  168,    2, 0x02 /* Public */,
      24,    0,  169,    2, 0x02 /* Public */,
      25,    1,  170,    2, 0x02 /* Public */,
      27,    0,  173,    2, 0x02 /* Public */,
      28,    0,  174,    2, 0x02 /* Public */,
      29,    0,  175,    2, 0x02 /* Public */,
      30,    3,  176,    2, 0x02 /* Public */,
      30,    2,  183,    2, 0x22 /* Public | MethodCloned */,
      30,    2,  188,    2, 0x02 /* Public */,
      30,    1,  193,    2, 0x22 /* Public | MethodCloned */,

 // methods: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QSizeF,    5,
    QMetaType::QSizeF,
    QMetaType::QReal, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11, 0x80000000 | 11, 0x80000000 | 11,   12,   13,   14,   15,
    QMetaType::QReal, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11, 0x80000000 | 11, 0x80000000 | 11,   12,   13,   14,   15,
    QMetaType::QRectF,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Bool, QMetaType::QString,   22,
    QMetaType::Bool, 0x80000000 | 20,   21,
    QMetaType::QString,
    QMetaType::QRegion,
    QMetaType::Void, QMetaType::Bool,   26,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::QPixmap,
    QMetaType::Void, 0x80000000 | 31, QMetaType::QRectF, QMetaType::QRectF,   32,   33,   34,
    QMetaType::Void, 0x80000000 | 31, QMetaType::QRectF,   32,   33,
    QMetaType::Void, 0x80000000 | 31, QMetaType::QPointF,   32,   35,
    QMetaType::Void, 0x80000000 | 31,   32,

 // properties: name, type, flags
      36, 0x80000000 | 37, 0x0009510b,

 // enums: name, flags, count, data
      37, 0x1,    6,  203,

 // enum data: key, value
      38, uint(Plasma::FrameSvg::NoBorder),
      39, uint(Plasma::FrameSvg::TopBorder),
      40, uint(Plasma::FrameSvg::BottomBorder),
      41, uint(Plasma::FrameSvg::LeftBorder),
      42, uint(Plasma::FrameSvg::RightBorder),
      43, uint(Plasma::FrameSvg::AllBorders),

       0        // eod
};

void Plasma::FrameSvg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FrameSvg *_t = static_cast<FrameSvg *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setImagePath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->resizeFrame((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break;
        case 2: { QSizeF _r = _t->frameSize();
            if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); }  break;
        case 3: { qreal _r = _t->marginSize((*reinterpret_cast< const Plasma::Types::MarginEdge(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->getMargins((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4]))); break;
        case 5: { qreal _r = _t->fixedMarginSize((*reinterpret_cast< const Plasma::Types::MarginEdge(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->getFixedMargins((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4]))); break;
        case 7: { QRectF _r = _t->contentsRect();
            if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setElementPrefix((*reinterpret_cast< Plasma::Types::Location(*)>(_a[1]))); break;
        case 9: _t->setElementPrefix((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: { bool _r = _t->hasElementPrefix((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->hasElementPrefix((*reinterpret_cast< Plasma::Types::Location(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { QString _r = _t->prefix();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 13: { QRegion _r = _t->mask();
            if (_a[0]) *reinterpret_cast< QRegion*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->setCacheAllRenderedFrames((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: { bool _r = _t->cacheAllRenderedFrames();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->clearCache(); break;
        case 17: { QPixmap _r = _t->framePixmap();
            if (_a[0]) *reinterpret_cast< QPixmap*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->paintFrame((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2])),(*reinterpret_cast< const QRectF(*)>(_a[3]))); break;
        case 19: _t->paintFrame((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2]))); break;
        case 20: _t->paintFrame((*reinterpret_cast< QPainter*(*)>(_a[1])),(*reinterpret_cast< const QPointF(*)>(_a[2]))); break;
        case 21: _t->paintFrame((*reinterpret_cast< QPainter*(*)>(_a[1]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        FrameSvg *_t = static_cast<FrameSvg *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(_t->enabledBorders()); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        FrameSvg *_t = static_cast<FrameSvg *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setEnabledBorders(QFlag(*reinterpret_cast<int*>(_v))); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Plasma::FrameSvg::staticMetaObject = {
    { &Svg::staticMetaObject, qt_meta_stringdata_Plasma__FrameSvg.data,
      qt_meta_data_Plasma__FrameSvg,  qt_static_metacall, nullptr, nullptr}
};


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

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

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