/****************************************************************************
** Meta object code from reading C++ file 'scriptedeffect.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/kde-workspace-4.11.21/kwin/scripting/scriptedeffect.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scriptedeffect.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_KWin__AnimationData[] = {

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

 // properties: name, type, flags
      50,   20, 0x0009510b,
      63,   20, 0x0009510b,
      80,   76, 0x02095103,
      96,   76, 0x02095103,
     112,   76, 0x02095103,
     128,   76, 0x02095103,
     149,  144, 0x0009510b,

 // enums: name, flags, count, data
     144, 0x0,    3,   39,

 // enum data: key, value
     154, uint(KWin::AnimationData::XAxis),
     160, uint(KWin::AnimationData::YAxis),
     166, uint(KWin::AnimationData::ZAxis),

       0        // eod
};

static const char qt_meta_stringdata_KWin__AnimationData[] = {
    "KWin::AnimationData\0KWin::AnimationEffect::Anchor\0"
    "sourceAnchor\0targetAnchor\0int\0"
    "relativeSourceX\0relativeSourceY\0"
    "relativeTargetX\0relativeTargetY\0Axis\0"
    "axis\0XAxis\0YAxis\0ZAxis\0"
};

void KWin::AnimationData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

#ifdef Q_NO_DATA_RELOCATION
static const QMetaObjectAccessor qt_meta_extradata_KWin__AnimationData[] = {
        KWin::AnimationEffect::getStaticMetaObject,
#else
static const QMetaObject *qt_meta_extradata_KWin__AnimationData[] = {
        &KWin::AnimationEffect::staticMetaObject,
#endif //Q_NO_DATA_RELOCATION
    0
};

const QMetaObjectExtraData KWin::AnimationData::staticMetaObjectExtraData = {
    qt_meta_extradata_KWin__AnimationData,  qt_static_metacall 
};

const QMetaObject KWin::AnimationData::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__AnimationData,
      qt_meta_data_KWin__AnimationData, &staticMetaObjectExtraData }
};

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

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

void *KWin::AnimationData::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__AnimationData))
        return static_cast<void*>(const_cast< AnimationData*>(this));
    return QObject::qt_metacast(_clname);
}

int KWin::AnimationData::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
     if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< KWin::AnimationEffect::Anchor*>(_v) = sourceAnchor(); break;
        case 1: *reinterpret_cast< KWin::AnimationEffect::Anchor*>(_v) = targetAnchor(); break;
        case 2: *reinterpret_cast< int*>(_v) = relativeSourceX(); break;
        case 3: *reinterpret_cast< int*>(_v) = relativeSourceY(); break;
        case 4: *reinterpret_cast< int*>(_v) = relativeTargetX(); break;
        case 5: *reinterpret_cast< int*>(_v) = relativeTargetY(); break;
        case 6: *reinterpret_cast< Axis*>(_v) = axis(); break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSourceAnchor(*reinterpret_cast< KWin::AnimationEffect::Anchor*>(_v)); break;
        case 1: setTargetAnchor(*reinterpret_cast< KWin::AnimationEffect::Anchor*>(_v)); break;
        case 2: setRelativeSourceX(*reinterpret_cast< int*>(_v)); break;
        case 3: setRelativeSourceY(*reinterpret_cast< int*>(_v)); break;
        case 4: setRelativeTargetX(*reinterpret_cast< int*>(_v)); break;
        case 5: setRelativeTargetY(*reinterpret_cast< int*>(_v)); break;
        case 6: setAxis(*reinterpret_cast< Axis*>(_v)); break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
static const uint qt_meta_data_KWin__ScriptedEffect[] = {

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

 // signals: signature, parameters, type, tag, flags
      22,   21,   21,   21, 0x05,

 // slots: signature, parameters, type, tag, flags
      78,   46,   38,   21, 0x0a,
     213,  187,   38,   21, 0x2a,
     338,  318,   38,   21, 0x2a,
     439,  424,   38,   21, 0x2a,
     514,  504,   38,   21, 0x2a,
     568,   46,   38,   21, 0x0a,
     673,  187,   38,   21, 0x2a,
     774,  318,   38,   21, 0x2a,
     856,  424,   38,   21, 0x2a,
     917,  504,   38,   21, 0x2a,
     984,  972,  967,   21, 0x0a,
    1007, 1000,  967,   21, 0x0a,
    1045, 1039,   21,   21, 0x08,
    1082,   21,   21,   21, 0x08,

 // methods: signature, parameters, type, tag, flags
    1119, 1108,  967,   21, 0x42,
    1185, 1168, 1159,   21, 0x42,
    1218, 1214, 1159,   21, 0x62,

 // enums: name, flags, count, data
    1238, 0x0,    7,  108,

 // enum data: key, value
    1247, uint(KWin::ScriptedEffect::WindowAddedGrabRole),
    1267, uint(KWin::ScriptedEffect::WindowClosedGrabRole),
    1288, uint(KWin::ScriptedEffect::WindowMinimizedGrabRole),
    1312, uint(KWin::ScriptedEffect::WindowUnminimizedGrabRole),
    1338, uint(KWin::ScriptedEffect::WindowForceBlurRole),
    1358, uint(KWin::ScriptedEffect::WindowBlurBehindRole),
    1379, uint(KWin::ScriptedEffect::LanczosCacheRole),

       0        // eod
};

static const char qt_meta_stringdata_KWin__ScriptedEffect[] = {
    "KWin::ScriptedEffect\0\0configChanged()\0"
    "quint64\0w,a,ms,to,from,data,curve,delay\0"
    "animate(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2,KWin::"
    "AnimationData*,QEasingCurve::Type,int)\0"
    "w,a,ms,to,from,data,curve\0"
    "animate(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2,KWin::"
    "AnimationData*,QEasingCurve::Type)\0"
    "w,a,ms,to,from,data\0"
    "animate(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2,KWin::"
    "AnimationData*)\0"
    "w,a,ms,to,from\0"
    "animate(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2)\0"
    "w,a,ms,to\0"
    "animate(KWin::EffectWindow*,Attribute,int,KWin::FPx2)\0"
    "set(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2,KWin::Anim"
    "ationData*,QEasingCurve::Type,int)\0"
    "set(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2,KWin::Anim"
    "ationData*,QEasingCurve::Type)\0"
    "set(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2,KWin::Anim"
    "ationData*)\0"
    "set(KWin::EffectWindow*,Attribute,int,KWin::FPx2,KWin::FPx2)\0"
    "set(KWin::EffectWindow*,Attribute,int,KWin::FPx2)\0"
    "bool\0animationId\0cancel(quint64)\0"
    "border\0borderActivated(ElectricBorder)\0"
    "value\0signalHandlerException(QScriptValue)\0"
    "globalShortcutTriggered()\0w,grabRole\0"
    "isGrabbed(KWin::EffectWindow*,DataRole)\0"
    "QVariant\0key,defaultValue\0"
    "readConfig(QString,QVariant)\0key\0"
    "readConfig(QString)\0DataRole\0"
    "WindowAddedGrabRole\0WindowClosedGrabRole\0"
    "WindowMinimizedGrabRole\0"
    "WindowUnminimizedGrabRole\0WindowForceBlurRole\0"
    "WindowBlurBehindRole\0LanczosCacheRole\0"
};

void KWin::ScriptedEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ScriptedEffect *_t = static_cast<ScriptedEffect *>(_o);
        switch (_id) {
        case 0: _t->configChanged(); break;
        case 1: { quint64 _r = _t->animate((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])),(*reinterpret_cast< KWin::AnimationData*(*)>(_a[6])),(*reinterpret_cast< QEasingCurve::Type(*)>(_a[7])),(*reinterpret_cast< int(*)>(_a[8])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 2: { quint64 _r = _t->animate((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])),(*reinterpret_cast< KWin::AnimationData*(*)>(_a[6])),(*reinterpret_cast< QEasingCurve::Type(*)>(_a[7])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 3: { quint64 _r = _t->animate((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])),(*reinterpret_cast< KWin::AnimationData*(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 4: { quint64 _r = _t->animate((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 5: { quint64 _r = _t->animate((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 6: { quint64 _r = _t->set((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])),(*reinterpret_cast< KWin::AnimationData*(*)>(_a[6])),(*reinterpret_cast< QEasingCurve::Type(*)>(_a[7])),(*reinterpret_cast< int(*)>(_a[8])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 7: { quint64 _r = _t->set((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])),(*reinterpret_cast< KWin::AnimationData*(*)>(_a[6])),(*reinterpret_cast< QEasingCurve::Type(*)>(_a[7])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 8: { quint64 _r = _t->set((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])),(*reinterpret_cast< KWin::AnimationData*(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 9: { quint64 _r = _t->set((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])),(*reinterpret_cast< KWin::FPx2(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 10: { quint64 _r = _t->set((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< Attribute(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< KWin::FPx2(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = _r; }  break;
        case 11: { bool _r = _t->cancel((*reinterpret_cast< quint64(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 12: { bool _r = _t->borderActivated((*reinterpret_cast< ElectricBorder(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 13: _t->signalHandlerException((*reinterpret_cast< const QScriptValue(*)>(_a[1]))); break;
        case 14: _t->globalShortcutTriggered(); break;
        case 15: { bool _r = _t->isGrabbed((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< DataRole(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 16: { QVariant _r = _t->readConfig((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 17: { QVariant _r = _t->readConfig((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KWin::ScriptedEffect::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptedEffect::staticMetaObject = {
    { &KWin::AnimationEffect::staticMetaObject, qt_meta_stringdata_KWin__ScriptedEffect,
      qt_meta_data_KWin__ScriptedEffect, &staticMetaObjectExtraData }
};

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

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

void *KWin::ScriptedEffect::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptedEffect))
        return static_cast<void*>(const_cast< ScriptedEffect*>(this));
    typedef KWin::AnimationEffect QMocSuperClass;
    return QMocSuperClass::qt_metacast(_clname);
}

int KWin::ScriptedEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    typedef KWin::AnimationEffect QMocSuperClass;
    _id = QMocSuperClass::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void KWin::ScriptedEffect::configChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
