/****************************************************************************
** Meta object code from reading C++ file 'screens.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/screens.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'screens.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__Screens_t {
    QByteArrayData data[17];
    char stringdata0[198];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Screens_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Screens_t qt_meta_stringdata_KWin__Screens = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KWin::Screens"
QT_MOC_LITERAL(1, 14, 12), // "countChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 13), // "previousCount"
QT_MOC_LITERAL(4, 42, 8), // "newCount"
QT_MOC_LITERAL(5, 51, 7), // "changed"
QT_MOC_LITERAL(6, 59, 14), // "currentChanged"
QT_MOC_LITERAL(7, 74, 15), // "geometryChanged"
QT_MOC_LITERAL(8, 90, 11), // "sizeChanged"
QT_MOC_LITERAL(9, 102, 11), // "reconfigure"
QT_MOC_LITERAL(10, 114, 8), // "setCount"
QT_MOC_LITERAL(11, 123, 5), // "count"
QT_MOC_LITERAL(12, 129, 17), // "startChangedTimer"
QT_MOC_LITERAL(13, 147, 11), // "updateCount"
QT_MOC_LITERAL(14, 159, 10), // "updateSize"
QT_MOC_LITERAL(15, 170, 7), // "current"
QT_MOC_LITERAL(16, 178, 19) // "currentFollowsMouse"

    },
    "KWin::Screens\0countChanged\0\0previousCount\0"
    "newCount\0changed\0currentChanged\0"
    "geometryChanged\0sizeChanged\0reconfigure\0"
    "setCount\0count\0startChangedTimer\0"
    "updateCount\0updateSize\0current\0"
    "currentFollowsMouse"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Screens[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   64,    2, 0x06 /* Public */,
       5,    0,   69,    2, 0x06 /* Public */,
       6,    0,   70,    2, 0x06 /* Public */,
       7,    0,   71,    2, 0x06 /* Public */,
       8,    0,   72,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   73,    2, 0x0a /* Public */,
      10,    1,   74,    2, 0x09 /* Protected */,
      12,    0,   77,    2, 0x09 /* Protected */,
      13,    0,   78,    2, 0x09 /* Protected */,
      14,    0,   79,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      11, QMetaType::Int, 0x00495103,
      15, QMetaType::Int, 0x00495103,
      16, QMetaType::Bool, 0x00095103,

 // properties: notify_signal_id
       0,
       2,
       0,

       0        // eod
};

void KWin::Screens::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Screens *_t = static_cast<Screens *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->countChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->changed(); break;
        case 2: _t->currentChanged(); break;
        case 3: _t->geometryChanged(); break;
        case 4: _t->sizeChanged(); break;
        case 5: _t->reconfigure(); break;
        case 6: _t->setCount((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->startChangedTimer(); break;
        case 8: _t->updateCount(); break;
        case 9: _t->updateSize(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Screens::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Screens::countChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Screens::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Screens::changed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Screens::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Screens::currentChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Screens::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Screens::geometryChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Screens::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Screens::sizeChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Screens *_t = static_cast<Screens *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->current(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isCurrentFollowsMouse(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Screens *_t = static_cast<Screens *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCount(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setCurrent(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setCurrentFollowsMouse(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::Screens::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__Screens.data,
      qt_meta_data_KWin__Screens,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KWin::Screens::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;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWin::Screens::countChanged(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KWin::Screens::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void KWin::Screens::currentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void KWin::Screens::geometryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void KWin::Screens::sizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
