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

#include "../src/kwin-5.4.3/toplevel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'toplevel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KWin__Toplevel_t {
    QByteArrayData data[80];
    char stringdata0[888];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Toplevel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Toplevel_t qt_meta_stringdata_KWin__Toplevel = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KWin::Toplevel"
QT_MOC_LITERAL(1, 15, 14), // "opacityChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 15), // "KWin::Toplevel*"
QT_MOC_LITERAL(4, 47, 8), // "toplevel"
QT_MOC_LITERAL(5, 56, 10), // "oldOpacity"
QT_MOC_LITERAL(6, 67, 7), // "damaged"
QT_MOC_LITERAL(7, 75, 6), // "damage"
QT_MOC_LITERAL(8, 82, 14), // "propertyNotify"
QT_MOC_LITERAL(9, 97, 1), // "a"
QT_MOC_LITERAL(10, 99, 15), // "geometryChanged"
QT_MOC_LITERAL(11, 115, 20), // "geometryShapeChanged"
QT_MOC_LITERAL(12, 136, 3), // "old"
QT_MOC_LITERAL(13, 140, 14), // "paddingChanged"
QT_MOC_LITERAL(14, 155, 12), // "windowClosed"
QT_MOC_LITERAL(15, 168, 14), // "KWin::Deleted*"
QT_MOC_LITERAL(16, 183, 7), // "deleted"
QT_MOC_LITERAL(17, 191, 11), // "windowShown"
QT_MOC_LITERAL(18, 203, 12), // "windowHidden"
QT_MOC_LITERAL(19, 216, 13), // "shapedChanged"
QT_MOC_LITERAL(20, 230, 12), // "needsRepaint"
QT_MOC_LITERAL(21, 243, 17), // "activitiesChanged"
QT_MOC_LITERAL(22, 261, 13), // "screenChanged"
QT_MOC_LITERAL(23, 275, 25), // "skipCloseAnimationChanged"
QT_MOC_LITERAL(24, 301, 17), // "windowRoleChanged"
QT_MOC_LITERAL(25, 319, 18), // "windowClassChanged"
QT_MOC_LITERAL(26, 338, 16), // "surfaceIdChanged"
QT_MOC_LITERAL(27, 355, 15), // "hasAlphaChanged"
QT_MOC_LITERAL(28, 371, 11), // "checkScreen"
QT_MOC_LITERAL(29, 383, 26), // "setupCheckScreenConnection"
QT_MOC_LITERAL(30, 410, 27), // "removeCheckScreenConnection"
QT_MOC_LITERAL(31, 438, 19), // "setReadyForPainting"
QT_MOC_LITERAL(32, 458, 10), // "addRepaint"
QT_MOC_LITERAL(33, 469, 1), // "r"
QT_MOC_LITERAL(34, 471, 1), // "x"
QT_MOC_LITERAL(35, 473, 1), // "y"
QT_MOC_LITERAL(36, 475, 1), // "w"
QT_MOC_LITERAL(37, 477, 1), // "h"
QT_MOC_LITERAL(38, 479, 15), // "addLayerRepaint"
QT_MOC_LITERAL(39, 495, 14), // "addRepaintFull"
QT_MOC_LITERAL(40, 510, 5), // "alpha"
QT_MOC_LITERAL(41, 516, 7), // "frameId"
QT_MOC_LITERAL(42, 524, 8), // "geometry"
QT_MOC_LITERAL(43, 533, 11), // "visibleRect"
QT_MOC_LITERAL(44, 545, 6), // "height"
QT_MOC_LITERAL(45, 552, 7), // "opacity"
QT_MOC_LITERAL(46, 560, 3), // "pos"
QT_MOC_LITERAL(47, 564, 6), // "screen"
QT_MOC_LITERAL(48, 571, 4), // "size"
QT_MOC_LITERAL(49, 576, 5), // "width"
QT_MOC_LITERAL(50, 582, 8), // "windowId"
QT_MOC_LITERAL(51, 591, 7), // "desktop"
QT_MOC_LITERAL(52, 599, 13), // "onAllDesktops"
QT_MOC_LITERAL(53, 613, 4), // "rect"
QT_MOC_LITERAL(54, 618, 9), // "clientPos"
QT_MOC_LITERAL(55, 628, 10), // "clientSize"
QT_MOC_LITERAL(56, 639, 12), // "resourceName"
QT_MOC_LITERAL(57, 652, 13), // "resourceClass"
QT_MOC_LITERAL(58, 666, 10), // "windowRole"
QT_MOC_LITERAL(59, 677, 13), // "desktopWindow"
QT_MOC_LITERAL(60, 691, 4), // "dock"
QT_MOC_LITERAL(61, 696, 7), // "toolbar"
QT_MOC_LITERAL(62, 704, 4), // "menu"
QT_MOC_LITERAL(63, 709, 12), // "normalWindow"
QT_MOC_LITERAL(64, 722, 6), // "dialog"
QT_MOC_LITERAL(65, 729, 6), // "splash"
QT_MOC_LITERAL(66, 736, 7), // "utility"
QT_MOC_LITERAL(67, 744, 12), // "dropdownMenu"
QT_MOC_LITERAL(68, 757, 9), // "popupMenu"
QT_MOC_LITERAL(69, 767, 7), // "tooltip"
QT_MOC_LITERAL(70, 775, 12), // "notification"
QT_MOC_LITERAL(71, 788, 15), // "onScreenDisplay"
QT_MOC_LITERAL(72, 804, 8), // "comboBox"
QT_MOC_LITERAL(73, 813, 7), // "dndIcon"
QT_MOC_LITERAL(74, 821, 10), // "windowType"
QT_MOC_LITERAL(75, 832, 10), // "activities"
QT_MOC_LITERAL(76, 843, 7), // "managed"
QT_MOC_LITERAL(77, 851, 6), // "shaped"
QT_MOC_LITERAL(78, 858, 19), // "skipsCloseAnimation"
QT_MOC_LITERAL(79, 878, 9) // "surfaceId"

    },
    "KWin::Toplevel\0opacityChanged\0\0"
    "KWin::Toplevel*\0toplevel\0oldOpacity\0"
    "damaged\0damage\0propertyNotify\0a\0"
    "geometryChanged\0geometryShapeChanged\0"
    "old\0paddingChanged\0windowClosed\0"
    "KWin::Deleted*\0deleted\0windowShown\0"
    "windowHidden\0shapedChanged\0needsRepaint\0"
    "activitiesChanged\0screenChanged\0"
    "skipCloseAnimationChanged\0windowRoleChanged\0"
    "windowClassChanged\0surfaceIdChanged\0"
    "hasAlphaChanged\0checkScreen\0"
    "setupCheckScreenConnection\0"
    "removeCheckScreenConnection\0"
    "setReadyForPainting\0addRepaint\0r\0x\0y\0"
    "w\0h\0addLayerRepaint\0addRepaintFull\0"
    "alpha\0frameId\0geometry\0visibleRect\0"
    "height\0opacity\0pos\0screen\0size\0width\0"
    "windowId\0desktop\0onAllDesktops\0rect\0"
    "clientPos\0clientSize\0resourceName\0"
    "resourceClass\0windowRole\0desktopWindow\0"
    "dock\0toolbar\0menu\0normalWindow\0dialog\0"
    "splash\0utility\0dropdownMenu\0popupMenu\0"
    "tooltip\0notification\0onScreenDisplay\0"
    "comboBox\0dndIcon\0windowType\0activities\0"
    "managed\0shaped\0skipsCloseAnimation\0"
    "surfaceId"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Toplevel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      29,   14, // methods
      43,  244, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      18,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,  159,    2, 0x06 /* Public */,
       6,    2,  164,    2, 0x06 /* Public */,
       8,    2,  169,    2, 0x06 /* Public */,
      10,    0,  174,    2, 0x06 /* Public */,
      11,    2,  175,    2, 0x06 /* Public */,
      13,    2,  180,    2, 0x06 /* Public */,
      14,    2,  185,    2, 0x06 /* Public */,
      17,    1,  190,    2, 0x06 /* Public */,
      18,    1,  193,    2, 0x06 /* Public */,
      19,    0,  196,    2, 0x06 /* Public */,
      20,    0,  197,    2, 0x06 /* Public */,
      21,    1,  198,    2, 0x06 /* Public */,
      22,    0,  201,    2, 0x06 /* Public */,
      23,    0,  202,    2, 0x06 /* Public */,
      24,    0,  203,    2, 0x06 /* Public */,
      25,    0,  204,    2, 0x06 /* Public */,
      26,    1,  205,    2, 0x06 /* Public */,
      27,    0,  208,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      28,    0,  209,    2, 0x09 /* Protected */,
      29,    0,  210,    2, 0x09 /* Protected */,
      30,    0,  211,    2, 0x09 /* Protected */,
      31,    0,  212,    2, 0x09 /* Protected */,

 // methods: name, argc, parameters, tag, flags
      32,    1,  213,    2, 0x02 /* Public */,
      32,    1,  216,    2, 0x02 /* Public */,
      32,    4,  219,    2, 0x02 /* Public */,
      38,    1,  228,    2, 0x02 /* Public */,
      38,    1,  231,    2, 0x02 /* Public */,
      38,    4,  234,    2, 0x02 /* Public */,
      39,    0,  243,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QReal,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QRect,    4,    7,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Long,    4,    9,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QRect,    4,   12,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QRect,    4,   12,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 15,    4,   16,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void,

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

 // methods: parameters
    QMetaType::Void, QMetaType::QRect,   33,
    QMetaType::Void, QMetaType::QRegion,   33,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   34,   35,   36,   37,
    QMetaType::Void, QMetaType::QRect,   33,
    QMetaType::Void, QMetaType::QRegion,   33,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   34,   35,   36,   37,
    QMetaType::Void,

 // properties: name, type, flags
      40, QMetaType::Bool, 0x00495001,
      41, QMetaType::ULongLong, 0x00095001,
      42, QMetaType::QRect, 0x00495001,
      43, QMetaType::QRect, 0x00095001,
      44, QMetaType::Int, 0x00095001,
      45, QMetaType::QReal, 0x00495103,
      46, QMetaType::QPoint, 0x00095001,
      47, QMetaType::Int, 0x00495001,
      48, QMetaType::QSize, 0x00095001,
      49, QMetaType::Int, 0x00095001,
      50, QMetaType::ULongLong, 0x00095401,
      34, QMetaType::Int, 0x00095001,
      35, QMetaType::Int, 0x00095001,
      51, QMetaType::Int, 0x00095001,
      52, QMetaType::Bool, 0x00095001,
      53, QMetaType::QRect, 0x00095001,
      54, QMetaType::QPoint, 0x00095001,
      55, QMetaType::QSize, 0x00095001,
      56, QMetaType::QByteArray, 0x00495001,
      57, QMetaType::QByteArray, 0x00495001,
      58, QMetaType::QByteArray, 0x00495001,
      59, QMetaType::Bool, 0x00095001,
      60, QMetaType::Bool, 0x00095001,
      61, QMetaType::Bool, 0x00095001,
      62, QMetaType::Bool, 0x00095001,
      63, QMetaType::Bool, 0x00095001,
      64, QMetaType::Bool, 0x00095001,
      65, QMetaType::Bool, 0x00095001,
      66, QMetaType::Bool, 0x00095001,
      67, QMetaType::Bool, 0x00095001,
      68, QMetaType::Bool, 0x00095001,
      69, QMetaType::Bool, 0x00095001,
      70, QMetaType::Bool, 0x00095001,
      71, QMetaType::Bool, 0x00095001,
      72, QMetaType::Bool, 0x00095001,
      73, QMetaType::Bool, 0x00095001,
      74, QMetaType::Int, 0x00095001,
      75, QMetaType::QStringList, 0x00495001,
      76, QMetaType::Bool, 0x00095401,
      16, QMetaType::Bool, 0x00095401,
      77, QMetaType::Bool, 0x00495001,
      78, QMetaType::Bool, 0x00495003,
      79, QMetaType::UInt, 0x00495001,

 // properties: notify_signal_id
      17,
       0,
       3,
       0,
       0,
       0,
       0,
      12,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
      15,
      15,
      14,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
      11,
       0,
       0,
       9,
      13,
      16,

       0        // eod
};

void KWin::Toplevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Toplevel *_t = static_cast<Toplevel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->opacityChanged((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 1: _t->damaged((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2]))); break;
        case 2: _t->propertyNotify((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1])),(*reinterpret_cast< long(*)>(_a[2]))); break;
        case 3: _t->geometryChanged(); break;
        case 4: _t->geometryShapeChanged((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2]))); break;
        case 5: _t->paddingChanged((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2]))); break;
        case 6: _t->windowClosed((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1])),(*reinterpret_cast< KWin::Deleted*(*)>(_a[2]))); break;
        case 7: _t->windowShown((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1]))); break;
        case 8: _t->windowHidden((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1]))); break;
        case 9: _t->shapedChanged(); break;
        case 10: _t->needsRepaint(); break;
        case 11: _t->activitiesChanged((*reinterpret_cast< KWin::Toplevel*(*)>(_a[1]))); break;
        case 12: _t->screenChanged(); break;
        case 13: _t->skipCloseAnimationChanged(); break;
        case 14: _t->windowRoleChanged(); break;
        case 15: _t->windowClassChanged(); break;
        case 16: _t->surfaceIdChanged((*reinterpret_cast< quint32(*)>(_a[1]))); break;
        case 17: _t->hasAlphaChanged(); break;
        case 18: _t->checkScreen(); break;
        case 19: _t->setupCheckScreenConnection(); break;
        case 20: _t->removeCheckScreenConnection(); break;
        case 21: _t->setReadyForPainting(); break;
        case 22: _t->addRepaint((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 23: _t->addRepaint((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 24: _t->addRepaint((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 25: _t->addLayerRepaint((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 26: _t->addLayerRepaint((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 27: _t->addLayerRepaint((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 28: _t->addRepaintFull(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::Toplevel* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::Toplevel* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::Toplevel* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::Toplevel* >(); break;
            }
            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< KWin::Toplevel* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::Toplevel* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::Toplevel* >(); break;
            }
            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::Toplevel* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::Toplevel* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * , qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::opacityChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * , const QRect & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::damaged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * , long );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::propertyNotify)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::geometryChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * , const QRect & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::geometryShapeChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * , const QRect & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::paddingChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * , KWin::Deleted * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::windowClosed)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::windowShown)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::windowHidden)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::shapedChanged)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::needsRepaint)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(KWin::Toplevel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::activitiesChanged)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::screenChanged)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::skipCloseAnimationChanged)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::windowRoleChanged)) {
                *result = 14;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::windowClassChanged)) {
                *result = 15;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)(quint32 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::surfaceIdChanged)) {
                *result = 16;
                return;
            }
        }
        {
            typedef void (Toplevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Toplevel::hasAlphaChanged)) {
                *result = 17;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Toplevel *_t = static_cast<Toplevel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->hasAlpha(); break;
        case 1: *reinterpret_cast< qulonglong*>(_v) = _t->frameId(); break;
        case 2: *reinterpret_cast< QRect*>(_v) = _t->geometry(); break;
        case 3: *reinterpret_cast< QRect*>(_v) = _t->visibleRect(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->height(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->opacity(); break;
        case 6: *reinterpret_cast< QPoint*>(_v) = _t->pos(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->screen(); break;
        case 8: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->width(); break;
        case 10: *reinterpret_cast< qulonglong*>(_v) = _t->window(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->x(); break;
        case 12: *reinterpret_cast< int*>(_v) = _t->y(); break;
        case 13: *reinterpret_cast< int*>(_v) = _t->desktop(); break;
        case 14: *reinterpret_cast< bool*>(_v) = _t->isOnAllDesktops(); break;
        case 15: *reinterpret_cast< QRect*>(_v) = _t->rect(); break;
        case 16: *reinterpret_cast< QPoint*>(_v) = _t->clientPos(); break;
        case 17: *reinterpret_cast< QSize*>(_v) = _t->clientSize(); break;
        case 18: *reinterpret_cast< QByteArray*>(_v) = _t->resourceName(); break;
        case 19: *reinterpret_cast< QByteArray*>(_v) = _t->resourceClass(); break;
        case 20: *reinterpret_cast< QByteArray*>(_v) = _t->windowRole(); break;
        case 21: *reinterpret_cast< bool*>(_v) = _t->isDesktop(); break;
        case 22: *reinterpret_cast< bool*>(_v) = _t->isDock(); break;
        case 23: *reinterpret_cast< bool*>(_v) = _t->isToolbar(); break;
        case 24: *reinterpret_cast< bool*>(_v) = _t->isMenu(); break;
        case 25: *reinterpret_cast< bool*>(_v) = _t->isNormalWindow(); break;
        case 26: *reinterpret_cast< bool*>(_v) = _t->isDialog(); break;
        case 27: *reinterpret_cast< bool*>(_v) = _t->isSplash(); break;
        case 28: *reinterpret_cast< bool*>(_v) = _t->isUtility(); break;
        case 29: *reinterpret_cast< bool*>(_v) = _t->isDropdownMenu(); break;
        case 30: *reinterpret_cast< bool*>(_v) = _t->isPopupMenu(); break;
        case 31: *reinterpret_cast< bool*>(_v) = _t->isTooltip(); break;
        case 32: *reinterpret_cast< bool*>(_v) = _t->isNotification(); break;
        case 33: *reinterpret_cast< bool*>(_v) = _t->isOnScreenDisplay(); break;
        case 34: *reinterpret_cast< bool*>(_v) = _t->isComboBox(); break;
        case 35: *reinterpret_cast< bool*>(_v) = _t->isDNDIcon(); break;
        case 36: *reinterpret_cast< int*>(_v) = _t->windowType(); break;
        case 37: *reinterpret_cast< QStringList*>(_v) = _t->activities(); break;
        case 38: *reinterpret_cast< bool*>(_v) = _t->isClient(); break;
        case 39: *reinterpret_cast< bool*>(_v) = _t->isDeleted(); break;
        case 40: *reinterpret_cast< bool*>(_v) = _t->shape(); break;
        case 41: *reinterpret_cast< bool*>(_v) = _t->skipsCloseAnimation(); break;
        case 42: *reinterpret_cast< quint32*>(_v) = _t->surfaceId(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Toplevel *_t = static_cast<Toplevel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 5: _t->setOpacity(*reinterpret_cast< qreal*>(_v)); break;
        case 41: _t->setSkipCloseAnimation(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::Toplevel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__Toplevel.data,
      qt_meta_data_KWin__Toplevel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KWin::Toplevel::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 < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    }
#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 -= 43;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 43;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 43;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 43;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 43;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 43;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWin::Toplevel::opacityChanged(KWin::Toplevel * _t1, qreal _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KWin::Toplevel::damaged(KWin::Toplevel * _t1, const QRect & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWin::Toplevel::propertyNotify(KWin::Toplevel * _t1, long _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KWin::Toplevel::geometryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KWin::Toplevel::geometryShapeChanged(KWin::Toplevel * _t1, const QRect & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KWin::Toplevel::paddingChanged(KWin::Toplevel * _t1, const QRect & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KWin::Toplevel::windowClosed(KWin::Toplevel * _t1, KWin::Deleted * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void KWin::Toplevel::windowShown(KWin::Toplevel * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void KWin::Toplevel::windowHidden(KWin::Toplevel * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void KWin::Toplevel::shapedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void KWin::Toplevel::needsRepaint()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KWin::Toplevel::activitiesChanged(KWin::Toplevel * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void KWin::Toplevel::screenChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void KWin::Toplevel::skipCloseAnimationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void KWin::Toplevel::windowRoleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}

// SIGNAL 15
void KWin::Toplevel::windowClassChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void KWin::Toplevel::surfaceIdChanged(quint32 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 16, _a);
}

// SIGNAL 17
void KWin::Toplevel::hasAlphaChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 17, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
