/****************************************************************************
** Meta object code from reading C++ file 'showfps.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/kwin-5.4.3/effects/showfps/showfps.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'showfps.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_KWin__ShowFpsEffect_t {
    QByteArrayData data[8];
    char stringdata0[71];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ShowFpsEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ShowFpsEffect_t qt_meta_stringdata_KWin__ShowFpsEffect = {
    {
QT_MOC_LITERAL(0, 0, 19), // "KWin::ShowFpsEffect"
QT_MOC_LITERAL(1, 20, 5), // "alpha"
QT_MOC_LITERAL(2, 26, 1), // "x"
QT_MOC_LITERAL(3, 28, 1), // "y"
QT_MOC_LITERAL(4, 30, 11), // "fpsTextRect"
QT_MOC_LITERAL(5, 42, 9), // "textAlign"
QT_MOC_LITERAL(6, 52, 8), // "textFont"
QT_MOC_LITERAL(7, 61, 9) // "textColor"

    },
    "KWin::ShowFpsEffect\0alpha\0x\0y\0fpsTextRect\0"
    "textAlign\0textFont\0textColor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ShowFpsEffect[] = {

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

 // properties: name, type, flags
       1, QMetaType::QReal, 0x00095001,
       2, QMetaType::Int, 0x00095001,
       3, QMetaType::Int, 0x00095001,
       4, QMetaType::QRect, 0x00095001,
       5, QMetaType::Int, 0x00095001,
       6, QMetaType::QFont, 0x00095001,
       7, QMetaType::QColor, 0x00095001,

       0        // eod
};

void KWin::ShowFpsEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        ShowFpsEffect *_t = static_cast<ShowFpsEffect *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qreal*>(_v) = _t->configuredAlpha(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->configuredX(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->configuredY(); break;
        case 3: *reinterpret_cast< QRect*>(_v) = _t->configuredFpsTextRect(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->configuredTextAlign(); break;
        case 5: *reinterpret_cast< QFont*>(_v) = _t->configuredTextFont(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->configuredTextColor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KWin::ShowFpsEffect::staticMetaObject = {
    { &Effect::staticMetaObject, qt_meta_stringdata_KWin__ShowFpsEffect.data,
      qt_meta_data_KWin__ShowFpsEffect,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ShowFpsEffect::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ShowFpsEffect.stringdata0))
        return static_cast<void*>(const_cast< ShowFpsEffect*>(this));
    return Effect::qt_metacast(_clname);
}

int KWin::ShowFpsEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Effect::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
   if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _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;
}
QT_END_MOC_NAMESPACE
