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

#include "../../../src/libkscreen-5.8.9/backends/xrandr/xrandr.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'xrandr.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_XRandR_t {
    QByteArrayData data[18];
    char stringdata0[201];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_XRandR_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_XRandR_t qt_meta_stringdata_XRandR = {
    {
QT_MOC_LITERAL(0, 0, 6), // "XRandR"
QT_MOC_LITERAL(1, 7, 13), // "outputChanged"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 18), // "xcb_randr_output_t"
QT_MOC_LITERAL(4, 41, 6), // "output"
QT_MOC_LITERAL(5, 48, 16), // "xcb_randr_crtc_t"
QT_MOC_LITERAL(6, 65, 4), // "crtc"
QT_MOC_LITERAL(7, 70, 16), // "xcb_randr_mode_t"
QT_MOC_LITERAL(8, 87, 4), // "mode"
QT_MOC_LITERAL(9, 92, 22), // "xcb_randr_connection_t"
QT_MOC_LITERAL(10, 115, 10), // "connection"
QT_MOC_LITERAL(11, 126, 11), // "crtcChanged"
QT_MOC_LITERAL(12, 138, 20), // "xcb_randr_rotation_t"
QT_MOC_LITERAL(13, 159, 8), // "rotation"
QT_MOC_LITERAL(14, 168, 4), // "geom"
QT_MOC_LITERAL(15, 173, 13), // "screenChanged"
QT_MOC_LITERAL(16, 187, 6), // "sizePx"
QT_MOC_LITERAL(17, 194, 6) // "sizeMm"

    },
    "XRandR\0outputChanged\0\0xcb_randr_output_t\0"
    "output\0xcb_randr_crtc_t\0crtc\0"
    "xcb_randr_mode_t\0mode\0xcb_randr_connection_t\0"
    "connection\0crtcChanged\0xcb_randr_rotation_t\0"
    "rotation\0geom\0screenChanged\0sizePx\0"
    "sizeMm"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_XRandR[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    4,   29,    2, 0x08 /* Private */,
      11,    4,   38,    2, 0x08 /* Private */,
      15,    3,   47,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9,    4,    6,    8,   10,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 12, QMetaType::QRect,    6,    8,   13,   14,
    QMetaType::Void, 0x80000000 | 12, QMetaType::QSize, QMetaType::QSize,   13,   16,   17,

       0        // eod
};

void XRandR::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        XRandR *_t = static_cast<XRandR *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->outputChanged((*reinterpret_cast< xcb_randr_output_t(*)>(_a[1])),(*reinterpret_cast< xcb_randr_crtc_t(*)>(_a[2])),(*reinterpret_cast< xcb_randr_mode_t(*)>(_a[3])),(*reinterpret_cast< xcb_randr_connection_t(*)>(_a[4]))); break;
        case 1: _t->crtcChanged((*reinterpret_cast< xcb_randr_crtc_t(*)>(_a[1])),(*reinterpret_cast< xcb_randr_mode_t(*)>(_a[2])),(*reinterpret_cast< xcb_randr_rotation_t(*)>(_a[3])),(*reinterpret_cast< const QRect(*)>(_a[4]))); break;
        case 2: _t->screenChanged((*reinterpret_cast< xcb_randr_rotation_t(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2])),(*reinterpret_cast< const QSize(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObject XRandR::staticMetaObject = {
    { &KScreen::AbstractBackend::staticMetaObject, qt_meta_stringdata_XRandR.data,
      qt_meta_data_XRandR,  qt_static_metacall, nullptr, nullptr}
};


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

void *XRandR::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_XRandR.stringdata0))
        return static_cast<void*>(this);
    return KScreen::AbstractBackend::qt_metacast(_clname);
}

int XRandR::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KScreen::AbstractBackend::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}

QT_PLUGIN_METADATA_SECTION const uint qt_section_alignment_dummy = 42;

#ifdef QT_NO_DEBUG

QT_PLUGIN_METADATA_SECTION
static const unsigned char qt_pluginMetaData[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', ' ',
    'q',  'b',  'j',  's',  0x01, 0x00, 0x00, 0x00,
    0xa0, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
    0x8c, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
    0x03, 0x00, 'I',  'I',  'D',  0x00, 0x00, 0x00,
    0x1f, 0x00, 'o',  'r',  'g',  '.',  'k',  'f', 
    '5',  '.',  'k',  's',  'c',  'r',  'e',  'e', 
    'n',  '.',  'b',  'a',  'c',  'k',  'e',  'n', 
    'd',  's',  '.',  'x',  'r',  'a',  'n',  'd', 
    'r',  0x00, 0x00, 0x00, 0x9b, 0x09, 0x00, 0x00,
    0x09, 0x00, 'c',  'l',  'a',  's',  's',  'N', 
    'a',  'm',  'e',  0x00, 0x06, 0x00, 'X',  'R', 
    'a',  'n',  'd',  'R',  0x9a, ' ',  0xa1, 0x00,
    0x07, 0x00, 'v',  'e',  'r',  's',  'i',  'o', 
    'n',  0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00,
    0x05, 0x00, 'd',  'e',  'b',  'u',  'g',  0x00,
    0x15, 0x10, 0x00, 0x00, 0x08, 0x00, 'M',  'e', 
    't',  'a',  'D',  'a',  't',  'a',  0x00, 0x00,
    0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
    'p',  0x00, 0x00, 0x00, '<',  0x00, 0x00, 0x00,
    'd',  0x00, 0x00, 0x00, 'T',  0x00, 0x00, 0x00
};

#else // QT_NO_DEBUG

QT_PLUGIN_METADATA_SECTION
static const unsigned char qt_pluginMetaData[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', ' ',
    'q',  'b',  'j',  's',  0x01, 0x00, 0x00, 0x00,
    0xa0, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
    0x8c, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
    0x03, 0x00, 'I',  'I',  'D',  0x00, 0x00, 0x00,
    0x1f, 0x00, 'o',  'r',  'g',  '.',  'k',  'f', 
    '5',  '.',  'k',  's',  'c',  'r',  'e',  'e', 
    'n',  '.',  'b',  'a',  'c',  'k',  'e',  'n', 
    'd',  's',  '.',  'x',  'r',  'a',  'n',  'd', 
    'r',  0x00, 0x00, 0x00, 0x95, 0x09, 0x00, 0x00,
    0x08, 0x00, 'M',  'e',  't',  'a',  'D',  'a', 
    't',  'a',  0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x1b, 0x0d, 0x00, 0x00, 0x09, 0x00, 'c',  'l', 
    'a',  's',  's',  'N',  'a',  'm',  'e',  0x00,
    0x06, 0x00, 'X',  'R',  'a',  'n',  'd',  'R', 
    '1',  0x00, 0x00, 0x00, 0x05, 0x00, 'd',  'e', 
    'b',  'u',  'g',  0x00, 0x9a, ' ',  0xa1, 0x00,
    0x07, 0x00, 'v',  'e',  'r',  's',  'i',  'o', 
    'n',  0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
    '<',  0x00, 0x00, 0x00, 'X',  0x00, 0x00, 0x00,
    'p',  0x00, 0x00, 0x00, '|',  0x00, 0x00, 0x00
};
#endif // QT_NO_DEBUG

QT_MOC_EXPORT_PLUGIN(XRandR, XRandR)

QT_WARNING_POP
QT_END_MOC_NAMESPACE
