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

#include "../../src/kreport-3.0.2/src/items/label/KReportScriptLabel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KReportScriptLabel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Scripting__Label_t {
    QByteArrayData data[24];
    char stringdata0[332];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Scripting__Label_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Scripting__Label_t qt_meta_stringdata_Scripting__Label = {
    {
QT_MOC_LITERAL(0, 0, 16), // "Scripting::Label"
QT_MOC_LITERAL(1, 17, 7), // "caption"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 10), // "setCaption"
QT_MOC_LITERAL(4, 37, 19), // "horizontalAlignment"
QT_MOC_LITERAL(5, 57, 21), // "setHorizonalAlignment"
QT_MOC_LITERAL(6, 79, 17), // "verticalAlignment"
QT_MOC_LITERAL(7, 97, 20), // "setVerticalAlignment"
QT_MOC_LITERAL(8, 118, 15), // "backgroundColor"
QT_MOC_LITERAL(9, 134, 18), // "setBackgroundColor"
QT_MOC_LITERAL(10, 153, 15), // "foregroundColor"
QT_MOC_LITERAL(11, 169, 18), // "setForegroundColor"
QT_MOC_LITERAL(12, 188, 17), // "backgroundOpacity"
QT_MOC_LITERAL(13, 206, 20), // "setBackgroundOpacity"
QT_MOC_LITERAL(14, 227, 9), // "lineColor"
QT_MOC_LITERAL(15, 237, 12), // "setLineColor"
QT_MOC_LITERAL(16, 250, 10), // "lineWeight"
QT_MOC_LITERAL(17, 261, 13), // "setLineWeight"
QT_MOC_LITERAL(18, 275, 9), // "lineStyle"
QT_MOC_LITERAL(19, 285, 12), // "setLineStyle"
QT_MOC_LITERAL(20, 298, 8), // "position"
QT_MOC_LITERAL(21, 307, 11), // "setPosition"
QT_MOC_LITERAL(22, 319, 4), // "size"
QT_MOC_LITERAL(23, 324, 7) // "setSize"

    },
    "Scripting::Label\0caption\0\0setCaption\0"
    "horizontalAlignment\0setHorizonalAlignment\0"
    "verticalAlignment\0setVerticalAlignment\0"
    "backgroundColor\0setBackgroundColor\0"
    "foregroundColor\0setForegroundColor\0"
    "backgroundOpacity\0setBackgroundOpacity\0"
    "lineColor\0setLineColor\0lineWeight\0"
    "setLineWeight\0lineStyle\0setLineStyle\0"
    "position\0setPosition\0size\0setSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Scripting__Label[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  124,    2, 0x0a /* Public */,
       3,    1,  125,    2, 0x0a /* Public */,
       4,    0,  128,    2, 0x0a /* Public */,
       5,    1,  129,    2, 0x0a /* Public */,
       6,    0,  132,    2, 0x0a /* Public */,
       7,    1,  133,    2, 0x0a /* Public */,
       8,    0,  136,    2, 0x0a /* Public */,
       9,    1,  137,    2, 0x0a /* Public */,
      10,    0,  140,    2, 0x0a /* Public */,
      11,    1,  141,    2, 0x0a /* Public */,
      12,    0,  144,    2, 0x0a /* Public */,
      13,    1,  145,    2, 0x0a /* Public */,
      14,    0,  148,    2, 0x0a /* Public */,
      15,    1,  149,    2, 0x0a /* Public */,
      16,    0,  152,    2, 0x0a /* Public */,
      17,    1,  153,    2, 0x0a /* Public */,
      18,    0,  156,    2, 0x0a /* Public */,
      19,    1,  157,    2, 0x0a /* Public */,
      20,    0,  160,    2, 0x0a /* Public */,
      21,    1,  161,    2, 0x0a /* Public */,
      22,    0,  164,    2, 0x0a /* Public */,
      23,    1,  165,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::QColor,
    QMetaType::Void, QMetaType::QColor,    2,
    QMetaType::QColor,
    QMetaType::Void, QMetaType::QColor,    2,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::QColor,
    QMetaType::Void, QMetaType::QColor,    2,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::QPointF,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::QSizeF,
    QMetaType::Void, QMetaType::QSizeF,    2,

       0        // eod
};

void Scripting::Label::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Label *_t = static_cast<Label *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QString _r = _t->caption();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->setCaption((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: { int _r = _t->horizontalAlignment();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->setHorizonalAlignment((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: { int _r = _t->verticalAlignment();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->setVerticalAlignment((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: { QColor _r = _t->backgroundColor();
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setBackgroundColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 8: { QColor _r = _t->foregroundColor();
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->setForegroundColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 10: { int _r = _t->backgroundOpacity();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->setBackgroundOpacity((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: { QColor _r = _t->lineColor();
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->setLineColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 14: { int _r = _t->lineWeight();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->setLineWeight((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: { int _r = _t->lineStyle();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->setLineStyle((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: { QPointF _r = _t->position();
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->setPosition((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 20: { QSizeF _r = _t->size();
            if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); }  break;
        case 21: _t->setSize((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Scripting::Label::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Scripting__Label.data,
      qt_meta_data_Scripting__Label,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Scripting::Label::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 < 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;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
