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

#include "../../src/kreport-3.0.1/src/renderer/scripting/KReportScriptLine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KReportScriptLine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_Scripting__Line_t {
    QByteArrayData data[12];
    char stringdata0[146];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Scripting__Line_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Scripting__Line_t qt_meta_stringdata_Scripting__Line = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Scripting::Line"
QT_MOC_LITERAL(1, 16, 13), // "startPosition"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 16), // "setStartPosition"
QT_MOC_LITERAL(4, 48, 11), // "endPosition"
QT_MOC_LITERAL(5, 60, 14), // "setEndPosition"
QT_MOC_LITERAL(6, 75, 9), // "lineColor"
QT_MOC_LITERAL(7, 85, 12), // "setLineColor"
QT_MOC_LITERAL(8, 98, 10), // "lineWeight"
QT_MOC_LITERAL(9, 109, 13), // "setLineWeight"
QT_MOC_LITERAL(10, 123, 9), // "lineStyle"
QT_MOC_LITERAL(11, 133, 12) // "setLineStyle"

    },
    "Scripting::Line\0startPosition\0\0"
    "setStartPosition\0endPosition\0"
    "setEndPosition\0lineColor\0setLineColor\0"
    "lineWeight\0setLineWeight\0lineStyle\0"
    "setLineStyle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Scripting__Line[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x0a /* Public */,
       3,    1,   65,    2, 0x0a /* Public */,
       4,    0,   68,    2, 0x0a /* Public */,
       5,    1,   69,    2, 0x0a /* Public */,
       6,    0,   72,    2, 0x0a /* Public */,
       7,    1,   73,    2, 0x0a /* Public */,
       8,    0,   76,    2, 0x0a /* Public */,
       9,    1,   77,    2, 0x0a /* Public */,
      10,    0,   80,    2, 0x0a /* Public */,
      11,    1,   81,    2, 0x0a /* Public */,

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

       0        // eod
};

void Scripting::Line::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Line *_t = static_cast<Line *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QPointF _r = _t->startPosition();
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = _r; }  break;
        case 1: _t->setStartPosition((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 2: { QPointF _r = _t->endPosition();
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = _r; }  break;
        case 3: _t->setEndPosition((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 4: { QColor _r = _t->lineColor();
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 5: _t->setLineColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 6: { int _r = _t->lineWeight();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 7: _t->setLineWeight((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: { int _r = _t->lineStyle();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 9: _t->setLineStyle((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Scripting::Line::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Scripting__Line.data,
      qt_meta_data_Scripting__Line,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Scripting::Line::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Scripting__Line.stringdata0))
        return static_cast<void*>(const_cast< Line*>(this));
    return QObject::qt_metacast(_clname);
}

int Scripting::Line::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
