/****************************************************************************
** Meta object code from reading C++ file 'qmloutput.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/kscreen-5.8.9/kcm/src/declarative/qmloutput.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmloutput.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_QMLOutput_t {
    QByteArrayData data[38];
    char stringdata0[519];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QMLOutput_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QMLOutput_t qt_meta_stringdata_QMLOutput = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QMLOutput"
QT_MOC_LITERAL(1, 10, 7), // "changed"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 5), // "moved"
QT_MOC_LITERAL(4, 25, 4), // "self"
QT_MOC_LITERAL(5, 30, 13), // "outputChanged"
QT_MOC_LITERAL(6, 44, 13), // "screenChanged"
QT_MOC_LITERAL(7, 58, 14), // "cloneOfChanged"
QT_MOC_LITERAL(8, 73, 24), // "currentOutputSizeChanged"
QT_MOC_LITERAL(9, 98, 19), // "leftDockedToChanged"
QT_MOC_LITERAL(10, 118, 18), // "topDockedToChanged"
QT_MOC_LITERAL(11, 137, 20), // "rightDockedToChanged"
QT_MOC_LITERAL(12, 158, 21), // "bottomDockedToChanged"
QT_MOC_LITERAL(13, 180, 14), // "outputYChanged"
QT_MOC_LITERAL(14, 195, 14), // "outputXChanged"
QT_MOC_LITERAL(15, 210, 18), // "isCloneModeChanged"
QT_MOC_LITERAL(16, 229, 20), // "updateRootProperties"
QT_MOC_LITERAL(17, 250, 20), // "currentModeIdChanged"
QT_MOC_LITERAL(18, 271, 18), // "collidesWithOutput"
QT_MOC_LITERAL(19, 290, 5), // "other"
QT_MOC_LITERAL(20, 296, 11), // "maybeSnapTo"
QT_MOC_LITERAL(21, 308, 10), // "QMLOutput*"
QT_MOC_LITERAL(22, 319, 6), // "output"
QT_MOC_LITERAL(23, 326, 16), // "KScreen::Output*"
QT_MOC_LITERAL(24, 343, 9), // "outputPtr"
QT_MOC_LITERAL(25, 353, 18), // "KScreen::OutputPtr"
QT_MOC_LITERAL(26, 372, 11), // "isCloneMode"
QT_MOC_LITERAL(27, 384, 6), // "screen"
QT_MOC_LITERAL(28, 391, 10), // "QMLScreen*"
QT_MOC_LITERAL(29, 402, 7), // "cloneOf"
QT_MOC_LITERAL(30, 410, 12), // "leftDockedTo"
QT_MOC_LITERAL(31, 423, 11), // "topDockedTo"
QT_MOC_LITERAL(32, 435, 13), // "rightDockedTo"
QT_MOC_LITERAL(33, 449, 14), // "bottomDockedTo"
QT_MOC_LITERAL(34, 464, 19), // "currentOutputHeight"
QT_MOC_LITERAL(35, 484, 18), // "currentOutputWidth"
QT_MOC_LITERAL(36, 503, 7), // "outputX"
QT_MOC_LITERAL(37, 511, 7) // "outputY"

    },
    "QMLOutput\0changed\0\0moved\0self\0"
    "outputChanged\0screenChanged\0cloneOfChanged\0"
    "currentOutputSizeChanged\0leftDockedToChanged\0"
    "topDockedToChanged\0rightDockedToChanged\0"
    "bottomDockedToChanged\0outputYChanged\0"
    "outputXChanged\0isCloneModeChanged\0"
    "updateRootProperties\0currentModeIdChanged\0"
    "collidesWithOutput\0other\0maybeSnapTo\0"
    "QMLOutput*\0output\0KScreen::Output*\0"
    "outputPtr\0KScreen::OutputPtr\0isCloneMode\0"
    "screen\0QMLScreen*\0cloneOf\0leftDockedTo\0"
    "topDockedTo\0rightDockedTo\0bottomDockedTo\0"
    "currentOutputHeight\0currentOutputWidth\0"
    "outputX\0outputY"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QMLOutput[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    1,  105,    2, 0x06 /* Public */,
       5,    0,  108,    2, 0x06 /* Public */,
       6,    0,  109,    2, 0x06 /* Public */,
       7,    0,  110,    2, 0x06 /* Public */,
       8,    0,  111,    2, 0x06 /* Public */,
       9,    0,  112,    2, 0x06 /* Public */,
      10,    0,  113,    2, 0x06 /* Public */,
      11,    0,  114,    2, 0x06 /* Public */,
      12,    0,  115,    2, 0x06 /* Public */,
      13,    0,  116,    2, 0x06 /* Public */,
      14,    0,  117,    2, 0x06 /* Public */,
      15,    0,  118,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  119,    2, 0x0a /* Public */,
       3,    0,  120,    2, 0x08 /* Private */,
      17,    0,  121,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      18,    1,  122,    2, 0x02 /* Public */,
      20,    1,  125,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Bool, QMetaType::QObjectStar,   19,
    QMetaType::Bool, 0x80000000 | 21,   19,

 // properties: name, type, flags
      22, 0x80000000 | 23, 0x00495009,
      24, 0x80000000 | 25, 0x0049510b,
      26, QMetaType::Bool, 0x00495103,
      27, 0x80000000 | 28, 0x0049510b,
      29, 0x80000000 | 21, 0x0049510b,
      30, 0x80000000 | 21, 0x0049510f,
      31, 0x80000000 | 21, 0x0049510f,
      32, 0x80000000 | 21, 0x0049510f,
      33, 0x80000000 | 21, 0x0049510f,
      34, QMetaType::Int, 0x00495001,
      35, QMetaType::Int, 0x00495001,
      36, QMetaType::Int, 0x00495103,
      37, QMetaType::Int, 0x00495103,

 // properties: notify_signal_id
       2,
       2,
      12,
       3,
       4,
       6,
       7,
       8,
       9,
       5,
       5,
      11,
      10,

       0        // eod
};

void QMLOutput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QMLOutput *_t = static_cast<QMLOutput *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->moved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->outputChanged(); break;
        case 3: _t->screenChanged(); break;
        case 4: _t->cloneOfChanged(); break;
        case 5: _t->currentOutputSizeChanged(); break;
        case 6: _t->leftDockedToChanged(); break;
        case 7: _t->topDockedToChanged(); break;
        case 8: _t->rightDockedToChanged(); break;
        case 9: _t->bottomDockedToChanged(); break;
        case 10: _t->outputYChanged(); break;
        case 11: _t->outputXChanged(); break;
        case 12: _t->isCloneModeChanged(); break;
        case 13: _t->updateRootProperties(); break;
        case 14: _t->moved(); break;
        case 15: _t->currentModeIdChanged(); break;
        case 16: { bool _r = _t->collidesWithOutput((*reinterpret_cast< QObject*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { bool _r = _t->maybeSnapTo((*reinterpret_cast< QMLOutput*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMLOutput* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::changed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::moved)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::outputChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::screenChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::cloneOfChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::currentOutputSizeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::leftDockedToChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::topDockedToChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::rightDockedToChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::bottomDockedToChanged)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::outputYChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::outputXChanged)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (QMLOutput::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMLOutput::isCloneModeChanged)) {
                *result = 12;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
        case 7:
        case 6:
        case 5:
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMLOutput* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QMLOutput *_t = static_cast<QMLOutput *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< KScreen::Output**>(_v) = _t->output(); break;
        case 1: *reinterpret_cast< KScreen::OutputPtr*>(_v) = _t->outputPtr(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isCloneMode(); break;
        case 3: *reinterpret_cast< QMLScreen**>(_v) = _t->screen(); break;
        case 4: *reinterpret_cast< QMLOutput**>(_v) = _t->cloneOf(); break;
        case 5: *reinterpret_cast< QMLOutput**>(_v) = _t->leftDockedTo(); break;
        case 6: *reinterpret_cast< QMLOutput**>(_v) = _t->topDockedTo(); break;
        case 7: *reinterpret_cast< QMLOutput**>(_v) = _t->rightDockedTo(); break;
        case 8: *reinterpret_cast< QMLOutput**>(_v) = _t->bottomDockedTo(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->currentOutputHeight(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->currentOutputWidth(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->outputX(); break;
        case 12: *reinterpret_cast< int*>(_v) = _t->outputY(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QMLOutput *_t = static_cast<QMLOutput *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setOutputPtr(*reinterpret_cast< KScreen::OutputPtr*>(_v)); break;
        case 2: _t->setIsCloneMode(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setScreen(*reinterpret_cast< QMLScreen**>(_v)); break;
        case 4: _t->setCloneOf(*reinterpret_cast< QMLOutput**>(_v)); break;
        case 5: _t->setLeftDockedTo(*reinterpret_cast< QMLOutput**>(_v)); break;
        case 6: _t->setTopDockedTo(*reinterpret_cast< QMLOutput**>(_v)); break;
        case 7: _t->setRightDockedTo(*reinterpret_cast< QMLOutput**>(_v)); break;
        case 8: _t->setBottomDockedTo(*reinterpret_cast< QMLOutput**>(_v)); break;
        case 11: _t->setOutputX(*reinterpret_cast< int*>(_v)); break;
        case 12: _t->setOutputY(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QMLOutput *_t = static_cast<QMLOutput *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 5: _t->undockLeft(); break;
        case 6: _t->undockTop(); break;
        case 7: _t->undockRight(); break;
        case 8: _t->undockBottom(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QMLOutput::staticMetaObject = {
    { &QQuickItem::staticMetaObject, qt_meta_stringdata_QMLOutput.data,
      qt_meta_data_QMLOutput,  qt_static_metacall, nullptr, nullptr}
};


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

void *QMLOutput::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QMLOutput.stringdata0))
        return static_cast<void*>(this);
    return QQuickItem::qt_metacast(_clname);
}

int QMLOutput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickItem::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#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 -= 13;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 13;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QMLOutput::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QMLOutput::moved(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QMLOutput::outputChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QMLOutput::screenChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void QMLOutput::cloneOfChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QMLOutput::currentOutputSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void QMLOutput::leftDockedToChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QMLOutput::topDockedToChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void QMLOutput::rightDockedToChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QMLOutput::bottomDockedToChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void QMLOutput::outputYChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void QMLOutput::outputXChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void QMLOutput::isCloneModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
