/****************************************************************************
** Meta object code from reading C++ file 'decoration.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/kdecoration-5.8.9/src/decoration.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'decoration.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_KDecoration2__Decoration_t {
    QByteArrayData data[39];
    char stringdata0[629];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDecoration2__Decoration_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDecoration2__Decoration_t qt_meta_stringdata_KDecoration2__Decoration = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KDecoration2::Decoration"
QT_MOC_LITERAL(1, 25, 14), // "bordersChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 24), // "resizeOnlyBordersChanged"
QT_MOC_LITERAL(4, 66, 24), // "sectionUnderMouseChanged"
QT_MOC_LITERAL(5, 91, 22), // "Qt::WindowFrameSection"
QT_MOC_LITERAL(6, 114, 15), // "titleBarChanged"
QT_MOC_LITERAL(7, 130, 13), // "opaqueChanged"
QT_MOC_LITERAL(8, 144, 13), // "shadowChanged"
QT_MOC_LITERAL(9, 158, 32), // "QSharedPointer<DecorationShadow>"
QT_MOC_LITERAL(10, 191, 6), // "shadow"
QT_MOC_LITERAL(11, 198, 12), // "requestClose"
QT_MOC_LITERAL(12, 211, 25), // "requestToggleMaximization"
QT_MOC_LITERAL(13, 237, 16), // "Qt::MouseButtons"
QT_MOC_LITERAL(14, 254, 7), // "buttons"
QT_MOC_LITERAL(15, 262, 15), // "requestMinimize"
QT_MOC_LITERAL(16, 278, 18), // "requestContextHelp"
QT_MOC_LITERAL(17, 297, 26), // "requestToggleOnAllDesktops"
QT_MOC_LITERAL(18, 324, 18), // "requestToggleShade"
QT_MOC_LITERAL(19, 343, 22), // "requestToggleKeepAbove"
QT_MOC_LITERAL(20, 366, 22), // "requestToggleKeepBelow"
QT_MOC_LITERAL(21, 389, 21), // "requestShowWindowMenu"
QT_MOC_LITERAL(22, 411, 6), // "update"
QT_MOC_LITERAL(23, 418, 4), // "rect"
QT_MOC_LITERAL(24, 423, 4), // "init"
QT_MOC_LITERAL(25, 428, 7), // "borders"
QT_MOC_LITERAL(26, 436, 8), // "QMargins"
QT_MOC_LITERAL(27, 445, 10), // "borderLeft"
QT_MOC_LITERAL(28, 456, 11), // "borderRight"
QT_MOC_LITERAL(29, 468, 9), // "borderTop"
QT_MOC_LITERAL(30, 478, 12), // "borderBottom"
QT_MOC_LITERAL(31, 491, 17), // "resizeOnlyBorders"
QT_MOC_LITERAL(32, 509, 20), // "resizeOnlyBorderLeft"
QT_MOC_LITERAL(33, 530, 21), // "resizeOnlyBorderRight"
QT_MOC_LITERAL(34, 552, 19), // "resizeOnlyBorderTop"
QT_MOC_LITERAL(35, 572, 22), // "resizeOnlyBorderBottom"
QT_MOC_LITERAL(36, 595, 17), // "sectionUnderMouse"
QT_MOC_LITERAL(37, 613, 8), // "titleBar"
QT_MOC_LITERAL(38, 622, 6) // "opaque"

    },
    "KDecoration2::Decoration\0bordersChanged\0"
    "\0resizeOnlyBordersChanged\0"
    "sectionUnderMouseChanged\0"
    "Qt::WindowFrameSection\0titleBarChanged\0"
    "opaqueChanged\0shadowChanged\0"
    "QSharedPointer<DecorationShadow>\0"
    "shadow\0requestClose\0requestToggleMaximization\0"
    "Qt::MouseButtons\0buttons\0requestMinimize\0"
    "requestContextHelp\0requestToggleOnAllDesktops\0"
    "requestToggleShade\0requestToggleKeepAbove\0"
    "requestToggleKeepBelow\0requestShowWindowMenu\0"
    "update\0rect\0init\0borders\0QMargins\0"
    "borderLeft\0borderRight\0borderTop\0"
    "borderBottom\0resizeOnlyBorders\0"
    "resizeOnlyBorderLeft\0resizeOnlyBorderRight\0"
    "resizeOnlyBorderTop\0resizeOnlyBorderBottom\0"
    "sectionUnderMouse\0titleBar\0opaque"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDecoration2__Decoration[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    0,  105,    2, 0x06 /* Public */,
       4,    1,  106,    2, 0x06 /* Public */,
       6,    0,  109,    2, 0x06 /* Public */,
       7,    1,  110,    2, 0x06 /* Public */,
       8,    1,  113,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  116,    2, 0x0a /* Public */,
      12,    1,  117,    2, 0x0a /* Public */,
      15,    0,  120,    2, 0x0a /* Public */,
      16,    0,  121,    2, 0x0a /* Public */,
      17,    0,  122,    2, 0x0a /* Public */,
      18,    0,  123,    2, 0x0a /* Public */,
      19,    0,  124,    2, 0x0a /* Public */,
      20,    0,  125,    2, 0x0a /* Public */,
      21,    0,  126,    2, 0x0a /* Public */,
      22,    1,  127,    2, 0x0a /* Public */,
      22,    0,  130,    2, 0x0a /* Public */,
      24,    0,  131,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 9,   10,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect,   23,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      25, 0x80000000 | 26, 0x00495009,
      27, QMetaType::Int, 0x00495001,
      28, QMetaType::Int, 0x00495001,
      29, QMetaType::Int, 0x00495001,
      30, QMetaType::Int, 0x00495001,
      31, 0x80000000 | 26, 0x00495009,
      32, QMetaType::Int, 0x00495001,
      33, QMetaType::Int, 0x00495001,
      34, QMetaType::Int, 0x00495001,
      35, QMetaType::Int, 0x00495001,
      36, 0x80000000 | 5, 0x00495009,
      37, QMetaType::QRect, 0x00495001,
      38, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       1,
       1,
       1,
       1,
       1,
       2,
       3,
       4,

       0        // eod
};

void KDecoration2::Decoration::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Decoration *_t = static_cast<Decoration *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->bordersChanged(); break;
        case 1: _t->resizeOnlyBordersChanged(); break;
        case 2: _t->sectionUnderMouseChanged((*reinterpret_cast< Qt::WindowFrameSection(*)>(_a[1]))); break;
        case 3: _t->titleBarChanged(); break;
        case 4: _t->opaqueChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->shadowChanged((*reinterpret_cast< const QSharedPointer<DecorationShadow>(*)>(_a[1]))); break;
        case 6: _t->requestClose(); break;
        case 7: _t->requestToggleMaximization((*reinterpret_cast< Qt::MouseButtons(*)>(_a[1]))); break;
        case 8: _t->requestMinimize(); break;
        case 9: _t->requestContextHelp(); break;
        case 10: _t->requestToggleOnAllDesktops(); break;
        case 11: _t->requestToggleShade(); break;
        case 12: _t->requestToggleKeepAbove(); break;
        case 13: _t->requestToggleKeepBelow(); break;
        case 14: _t->requestShowWindowMenu(); break;
        case 15: _t->update((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 16: _t->update(); break;
        case 17: _t->init(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSharedPointer<DecorationShadow> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Decoration::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Decoration::bordersChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Decoration::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Decoration::resizeOnlyBordersChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Decoration::*_t)(Qt::WindowFrameSection );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Decoration::sectionUnderMouseChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Decoration::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Decoration::titleBarChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Decoration::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Decoration::opaqueChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Decoration::*_t)(const QSharedPointer<DecorationShadow> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Decoration::shadowChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Decoration *_t = static_cast<Decoration *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QMargins*>(_v) = _t->borders(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->borderLeft(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->borderRight(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->borderTop(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->borderBottom(); break;
        case 5: *reinterpret_cast< QMargins*>(_v) = _t->resizeOnlyBorders(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->resizeOnlyBorderLeft(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->resizeOnlyBorderRight(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->resizeOnlyBorderTop(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->resizeOnlyBorderBottom(); break;
        case 10: *reinterpret_cast< Qt::WindowFrameSection*>(_v) = _t->sectionUnderMouse(); break;
        case 11: *reinterpret_cast< QRect*>(_v) = _t->titleBar(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->isOpaque(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KDecoration2::Decoration::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDecoration2__Decoration.data,
      qt_meta_data_KDecoration2__Decoration,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KDecoration2::Decoration::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 < 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 KDecoration2::Decoration::bordersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KDecoration2::Decoration::resizeOnlyBordersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KDecoration2::Decoration::sectionUnderMouseChanged(Qt::WindowFrameSection _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KDecoration2::Decoration::titleBarChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KDecoration2::Decoration::opaqueChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KDecoration2::Decoration::shadowChanged(const QSharedPointer<DecorationShadow> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
