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

#include "../../../src/calligra-2.9.11/libs/koreport/items/label/krscriptlabel.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'krscriptlabel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_Scripting__Label[] = {

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

 // slots: signature, parameters, type, tag, flags
      26,   17,   18,   17, 0x0a,
      36,   17,   17,   17, 0x0a,
      60,   17,   56,   17, 0x0a,
      82,   17,   17,   17, 0x0a,
     109,   17,   56,   17, 0x0a,
     129,   17,   17,   17, 0x0a,
     162,   17,  155,   17, 0x0a,
     180,   17,   17,   17, 0x0a,
     207,   17,  155,   17, 0x0a,
     225,   17,   17,   17, 0x0a,
     252,   17,   56,   17, 0x0a,
     272,   17,   17,   17, 0x0a,
     298,   17,  155,   17, 0x0a,
     310,   17,   17,   17, 0x0a,
     331,   17,   56,   17, 0x0a,
     344,   17,   17,   17, 0x0a,
     363,   17,   56,   17, 0x0a,
     375,   17,   17,   17, 0x0a,
     401,   17,  393,   17, 0x0a,
     412,   17,   17,   17, 0x0a,
     440,   17,  433,   17, 0x0a,
     447,   17,   17,   17, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Scripting__Label[] = {
    "Scripting::Label\0\0QString\0caption()\0"
    "setCaption(QString)\0int\0horizontalAlignment()\0"
    "setHorizonalAlignment(int)\0"
    "verticalAlignment()\0setVerticalAlignment(int)\0"
    "QColor\0backgroundColor()\0"
    "setBackgroundColor(QColor)\0foregroundColor()\0"
    "setForegroundColor(QColor)\0"
    "backgroundOpacity()\0setBackgroundOpacity(int)\0"
    "lineColor()\0setLineColor(QColor)\0"
    "lineWeight()\0setLineWeight(int)\0"
    "lineStyle()\0setLineStyle(int)\0QPointF\0"
    "position()\0setPosition(QPointF)\0QSizeF\0"
    "size()\0setSize(QSizeF)\0"
};

void Scripting::Label::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Label *_t = static_cast<Label *>(_o);
        switch (_id) {
        case 0: { QString _r = _t->caption();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _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]) = _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]) = _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]) = _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]) = _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]) = _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]) = _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]) = _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]) = _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]) = _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]) = _r; }  break;
        case 21: _t->setSize((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Scripting::Label::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Scripting::Label::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Scripting__Label,
      qt_meta_data_Scripting__Label, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Scripting::Label::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Scripting::Label::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Scripting__Label))
        return static_cast<void*>(const_cast< Label*>(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;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
