/****************************************************************************
** Meta object code from reading C++ file 'output.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/src/output.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'output.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_KScreen__Output_t {
    QByteArrayData data[57];
    char stringdata0[517];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KScreen__Output_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KScreen__Output_t qt_meta_stringdata_KScreen__Output = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KScreen::Output"
QT_MOC_LITERAL(1, 16, 13), // "outputChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 10), // "posChanged"
QT_MOC_LITERAL(4, 42, 11), // "sizeChanged"
QT_MOC_LITERAL(5, 54, 20), // "currentModeIdChanged"
QT_MOC_LITERAL(6, 75, 15), // "rotationChanged"
QT_MOC_LITERAL(7, 91, 18), // "isConnectedChanged"
QT_MOC_LITERAL(8, 110, 16), // "isEnabledChanged"
QT_MOC_LITERAL(9, 127, 16), // "isPrimaryChanged"
QT_MOC_LITERAL(10, 144, 13), // "clonesChanged"
QT_MOC_LITERAL(11, 158, 12), // "modesChanged"
QT_MOC_LITERAL(12, 171, 4), // "mode"
QT_MOC_LITERAL(13, 176, 7), // "ModePtr"
QT_MOC_LITERAL(14, 184, 2), // "id"
QT_MOC_LITERAL(15, 187, 11), // "currentMode"
QT_MOC_LITERAL(16, 199, 15), // "preferredModeId"
QT_MOC_LITERAL(17, 215, 13), // "preferredMode"
QT_MOC_LITERAL(18, 229, 12), // "isHorizontal"
QT_MOC_LITERAL(19, 242, 4), // "name"
QT_MOC_LITERAL(20, 247, 4), // "type"
QT_MOC_LITERAL(21, 252, 4), // "Type"
QT_MOC_LITERAL(22, 257, 4), // "icon"
QT_MOC_LITERAL(23, 262, 5), // "modes"
QT_MOC_LITERAL(24, 268, 8), // "ModeList"
QT_MOC_LITERAL(25, 277, 3), // "pos"
QT_MOC_LITERAL(26, 281, 4), // "size"
QT_MOC_LITERAL(27, 286, 8), // "rotation"
QT_MOC_LITERAL(28, 295, 8), // "Rotation"
QT_MOC_LITERAL(29, 304, 13), // "currentModeId"
QT_MOC_LITERAL(30, 318, 9), // "connected"
QT_MOC_LITERAL(31, 328, 7), // "enabled"
QT_MOC_LITERAL(32, 336, 7), // "primary"
QT_MOC_LITERAL(33, 344, 6), // "clones"
QT_MOC_LITERAL(34, 351, 10), // "QList<int>"
QT_MOC_LITERAL(35, 362, 4), // "edid"
QT_MOC_LITERAL(36, 367, 14), // "KScreen::Edid*"
QT_MOC_LITERAL(37, 382, 6), // "sizeMm"
QT_MOC_LITERAL(38, 389, 7), // "Unknown"
QT_MOC_LITERAL(39, 397, 3), // "VGA"
QT_MOC_LITERAL(40, 401, 3), // "DVI"
QT_MOC_LITERAL(41, 405, 4), // "DVII"
QT_MOC_LITERAL(42, 410, 4), // "DVIA"
QT_MOC_LITERAL(43, 415, 4), // "DVID"
QT_MOC_LITERAL(44, 420, 4), // "HDMI"
QT_MOC_LITERAL(45, 425, 5), // "Panel"
QT_MOC_LITERAL(46, 431, 2), // "TV"
QT_MOC_LITERAL(47, 434, 11), // "TVComposite"
QT_MOC_LITERAL(48, 446, 8), // "TVSVideo"
QT_MOC_LITERAL(49, 455, 11), // "TVComponent"
QT_MOC_LITERAL(50, 467, 7), // "TVSCART"
QT_MOC_LITERAL(51, 475, 4), // "TVC4"
QT_MOC_LITERAL(52, 480, 11), // "DisplayPort"
QT_MOC_LITERAL(53, 492, 4), // "None"
QT_MOC_LITERAL(54, 497, 4), // "Left"
QT_MOC_LITERAL(55, 502, 8), // "Inverted"
QT_MOC_LITERAL(56, 511, 5) // "Right"

    },
    "KScreen::Output\0outputChanged\0\0"
    "posChanged\0sizeChanged\0currentModeIdChanged\0"
    "rotationChanged\0isConnectedChanged\0"
    "isEnabledChanged\0isPrimaryChanged\0"
    "clonesChanged\0modesChanged\0mode\0ModePtr\0"
    "id\0currentMode\0preferredModeId\0"
    "preferredMode\0isHorizontal\0name\0type\0"
    "Type\0icon\0modes\0ModeList\0pos\0size\0"
    "rotation\0Rotation\0currentModeId\0"
    "connected\0enabled\0primary\0clones\0"
    "QList<int>\0edid\0KScreen::Edid*\0sizeMm\0"
    "Unknown\0VGA\0DVI\0DVII\0DVIA\0DVID\0HDMI\0"
    "Panel\0TV\0TVComposite\0TVSVideo\0TVComponent\0"
    "TVSCART\0TVC4\0DisplayPort\0None\0Left\0"
    "Inverted\0Right"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KScreen__Output[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
      16,  106, // properties
       2,  170, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    0,   90,    2, 0x06 /* Public */,
       4,    0,   91,    2, 0x06 /* Public */,
       5,    0,   92,    2, 0x06 /* Public */,
       6,    0,   93,    2, 0x06 /* Public */,
       7,    0,   94,    2, 0x06 /* Public */,
       8,    0,   95,    2, 0x06 /* Public */,
       9,    0,   96,    2, 0x06 /* Public */,
      10,    0,   97,    2, 0x06 /* Public */,
      11,    0,   98,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      12,    1,   99,    2, 0x02 /* Public */,
      15,    0,  102,    2, 0x02 /* Public */,
      16,    0,  103,    2, 0x02 /* Public */,
      17,    0,  104,    2, 0x02 /* Public */,
      18,    0,  105,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 13, QMetaType::QString,   14,
    0x80000000 | 13,
    QMetaType::QString,
    0x80000000 | 13,
    QMetaType::Bool,

 // properties: name, type, flags
      14, QMetaType::Int, 0x00095401,
      19, QMetaType::QString, 0x00495103,
      20, 0x80000000 | 21, 0x0049510b,
      22, QMetaType::QString, 0x00495103,
      23, 0x80000000 | 24, 0x00495009,
      25, QMetaType::QPoint, 0x00495103,
      26, QMetaType::QSize, 0x00495103,
      27, 0x80000000 | 28, 0x0049510b,
      29, QMetaType::QString, 0x00495103,
      16, QMetaType::QString, 0x00095401,
      30, QMetaType::Bool, 0x00495103,
      31, QMetaType::Bool, 0x00495103,
      32, QMetaType::Bool, 0x00495103,
      33, 0x80000000 | 34, 0x0049510b,
      35, 0x80000000 | 36, 0x00095409,
      37, QMetaType::QSize, 0x00095401,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       9,
       1,
       2,
       4,
       3,
       0,
       5,
       6,
       7,
       8,
       0,
       0,

 // enums: name, flags, count, data
      21, 0x0,   15,  178,
      28, 0x0,    4,  208,

 // enum data: key, value
      38, uint(KScreen::Output::Unknown),
      39, uint(KScreen::Output::VGA),
      40, uint(KScreen::Output::DVI),
      41, uint(KScreen::Output::DVII),
      42, uint(KScreen::Output::DVIA),
      43, uint(KScreen::Output::DVID),
      44, uint(KScreen::Output::HDMI),
      45, uint(KScreen::Output::Panel),
      46, uint(KScreen::Output::TV),
      47, uint(KScreen::Output::TVComposite),
      48, uint(KScreen::Output::TVSVideo),
      49, uint(KScreen::Output::TVComponent),
      50, uint(KScreen::Output::TVSCART),
      51, uint(KScreen::Output::TVC4),
      52, uint(KScreen::Output::DisplayPort),
      53, uint(KScreen::Output::None),
      54, uint(KScreen::Output::Left),
      55, uint(KScreen::Output::Inverted),
      56, uint(KScreen::Output::Right),

       0        // eod
};

void KScreen::Output::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Output *_t = static_cast<Output *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->outputChanged(); break;
        case 1: _t->posChanged(); break;
        case 2: _t->sizeChanged(); break;
        case 3: _t->currentModeIdChanged(); break;
        case 4: _t->rotationChanged(); break;
        case 5: _t->isConnectedChanged(); break;
        case 6: _t->isEnabledChanged(); break;
        case 7: _t->isPrimaryChanged(); break;
        case 8: _t->clonesChanged(); break;
        case 9: _t->modesChanged(); break;
        case 10: { ModePtr _r = _t->mode((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< ModePtr*>(_a[0]) = std::move(_r); }  break;
        case 11: { ModePtr _r = _t->currentMode();
            if (_a[0]) *reinterpret_cast< ModePtr*>(_a[0]) = std::move(_r); }  break;
        case 12: { QString _r = _t->preferredModeId();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 13: { ModePtr _r = _t->preferredMode();
            if (_a[0]) *reinterpret_cast< ModePtr*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->isHorizontal();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::outputChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::posChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::sizeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::currentModeIdChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::rotationChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::isConnectedChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::isEnabledChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::isPrimaryChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::clonesChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Output::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Output::modesChanged)) {
                *result = 9;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 13:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Output *_t = static_cast<Output *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->id(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 2: *reinterpret_cast< Type*>(_v) = _t->type(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->icon(); break;
        case 4: *reinterpret_cast< ModeList*>(_v) = _t->modes(); break;
        case 5: *reinterpret_cast< QPoint*>(_v) = _t->pos(); break;
        case 6: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
        case 7: *reinterpret_cast< Rotation*>(_v) = _t->rotation(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->currentModeId(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->preferredModeId(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->isConnected(); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->isPrimary(); break;
        case 13: *reinterpret_cast< QList<int>*>(_v) = _t->clones(); break;
        case 14: *reinterpret_cast< KScreen::Edid**>(_v) = _t->edid(); break;
        case 15: *reinterpret_cast< QSize*>(_v) = _t->sizeMm(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Output *_t = static_cast<Output *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setType(*reinterpret_cast< Type*>(_v)); break;
        case 3: _t->setIcon(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setPos(*reinterpret_cast< QPoint*>(_v)); break;
        case 6: _t->setSize(*reinterpret_cast< QSize*>(_v)); break;
        case 7: _t->setRotation(*reinterpret_cast< Rotation*>(_v)); break;
        case 8: _t->setCurrentModeId(*reinterpret_cast< QString*>(_v)); break;
        case 10: _t->setConnected(*reinterpret_cast< bool*>(_v)); break;
        case 11: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 12: _t->setPrimary(*reinterpret_cast< bool*>(_v)); break;
        case 13: _t->setClones(*reinterpret_cast< QList<int>*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KScreen::Output::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KScreen__Output.data,
      qt_meta_data_KScreen__Output,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KScreen::Output::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
#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 -= 16;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 16;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KScreen::Output::outputChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KScreen::Output::posChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KScreen::Output::sizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KScreen::Output::currentModeIdChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KScreen::Output::rotationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KScreen::Output::isConnectedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KScreen::Output::isEnabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KScreen::Output::isPrimaryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KScreen::Output::clonesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KScreen::Output::modesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
