/****************************************************************************
** Meta object code from reading C++ file 'screenshot.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/screenshot/screenshot.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'screenshot.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__ScreenShotEffect_t {
    QByteArrayData data[21];
    char stringdata0[260];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ScreenShotEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScreenShotEffect_t qt_meta_stringdata_KWin__ScreenShotEffect = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KWin::ScreenShotEffect"
QT_MOC_LITERAL(1, 23, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 39, 23), // "org.kde.kwin.Screenshot"
QT_MOC_LITERAL(3, 63, 17), // "screenshotCreated"
QT_MOC_LITERAL(4, 81, 0), // ""
QT_MOC_LITERAL(5, 82, 6), // "handle"
QT_MOC_LITERAL(6, 89, 19), // "screenshotForWindow"
QT_MOC_LITERAL(7, 109, 5), // "winid"
QT_MOC_LITERAL(8, 115, 4), // "mask"
QT_MOC_LITERAL(9, 120, 27), // "screenshotWindowUnderCursor"
QT_MOC_LITERAL(10, 148, 20), // "screenshotFullscreen"
QT_MOC_LITERAL(11, 169, 16), // "screenshotScreen"
QT_MOC_LITERAL(12, 186, 6), // "screen"
QT_MOC_LITERAL(13, 193, 14), // "screenshotArea"
QT_MOC_LITERAL(14, 208, 1), // "x"
QT_MOC_LITERAL(15, 210, 1), // "y"
QT_MOC_LITERAL(16, 212, 5), // "width"
QT_MOC_LITERAL(17, 218, 6), // "height"
QT_MOC_LITERAL(18, 225, 12), // "windowClosed"
QT_MOC_LITERAL(19, 238, 19), // "KWin::EffectWindow*"
QT_MOC_LITERAL(20, 258, 1) // "w"

    },
    "KWin::ScreenShotEffect\0D-Bus Interface\0"
    "org.kde.kwin.Screenshot\0screenshotCreated\0"
    "\0handle\0screenshotForWindow\0winid\0"
    "mask\0screenshotWindowUnderCursor\0"
    "screenshotFullscreen\0screenshotScreen\0"
    "screen\0screenshotArea\0x\0y\0width\0height\0"
    "windowClosed\0KWin::EffectWindow*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScreenShotEffect[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   61,    4, 0x46 /* Public | isScriptable */,

 // slots: name, argc, parameters, tag, flags
       6,    2,   64,    4, 0x4a /* Public | isScriptable */,
       6,    1,   69,    4, 0x6a /* Public | MethodCloned | isScriptable */,
       9,    1,   72,    4, 0x4a /* Public | isScriptable */,
       9,    0,   75,    4, 0x6a /* Public | MethodCloned | isScriptable */,
      10,    0,   76,    4, 0x4a /* Public | isScriptable */,
      11,    1,   77,    4, 0x4a /* Public | isScriptable */,
      13,    4,   80,    4, 0x4a /* Public | isScriptable */,
      18,    1,   89,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::ULongLong,    5,

 // slots: parameters
    QMetaType::Void, QMetaType::ULongLong, QMetaType::Int,    7,    8,
    QMetaType::Void, QMetaType::ULongLong,    7,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void,
    QMetaType::QString,
    QMetaType::QString, QMetaType::Int,   12,
    QMetaType::QString, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   14,   15,   16,   17,
    QMetaType::Void, 0x80000000 | 19,   20,

       0        // eod
};

void KWin::ScreenShotEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScreenShotEffect *_t = static_cast<ScreenShotEffect *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->screenshotCreated((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 1: _t->screenshotForWindow((*reinterpret_cast< qulonglong(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->screenshotForWindow((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 3: _t->screenshotWindowUnderCursor((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->screenshotWindowUnderCursor(); break;
        case 5: { QString _r = _t->screenshotFullscreen();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 6: { QString _r = _t->screenshotScreen((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 7: { QString _r = _t->screenshotArea((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 8: _t->windowClosed((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::EffectWindow* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ScreenShotEffect::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ScreenShotEffect::screenshotCreated)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KWin::ScreenShotEffect::staticMetaObject = {
    { &Effect::staticMetaObject, qt_meta_stringdata_KWin__ScreenShotEffect.data,
      qt_meta_data_KWin__ScreenShotEffect,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KWin::ScreenShotEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Effect::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void KWin::ScreenShotEffect::screenshotCreated(qulonglong _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
