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

#include "../../../src/kwin-5.4.3/kcmkwin/kwintabbox/layoutpreview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'layoutpreview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_KWin__TabBox__LayoutPreview_t {
    QByteArrayData data[1];
    char stringdata0[28];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__TabBox__LayoutPreview_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__TabBox__LayoutPreview_t qt_meta_stringdata_KWin__TabBox__LayoutPreview = {
    {
QT_MOC_LITERAL(0, 0, 27) // "KWin::TabBox::LayoutPreview"

    },
    "KWin::TabBox::LayoutPreview"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__TabBox__LayoutPreview[] = {

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

       0        // eod
};

void KWin::TabBox::LayoutPreview::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KWin::TabBox::LayoutPreview::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__TabBox__LayoutPreview.data,
      qt_meta_data_KWin__TabBox__LayoutPreview,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::TabBox::LayoutPreview::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__TabBox__LayoutPreview.stringdata0))
        return static_cast<void*>(const_cast< LayoutPreview*>(this));
    return QObject::qt_metacast(_clname);
}

int KWin::TabBox::LayoutPreview::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KWin__TabBox__ExampleClientModel_t {
    QByteArrayData data[3];
    char stringdata0[49];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__TabBox__ExampleClientModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__TabBox__ExampleClientModel_t qt_meta_stringdata_KWin__TabBox__ExampleClientModel = {
    {
QT_MOC_LITERAL(0, 0, 32), // "KWin::TabBox::ExampleClientModel"
QT_MOC_LITERAL(1, 33, 14), // "longestCaption"
QT_MOC_LITERAL(2, 48, 0) // ""

    },
    "KWin::TabBox::ExampleClientModel\0"
    "longestCaption\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__TabBox__ExampleClientModel[] = {

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

 // methods: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x02 /* Public */,

 // methods: parameters
    QMetaType::QString,

       0        // eod
};

void KWin::TabBox::ExampleClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ExampleClientModel *_t = static_cast<ExampleClientModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QString _r = _t->longestCaption();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject KWin::TabBox::ExampleClientModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_KWin__TabBox__ExampleClientModel.data,
      qt_meta_data_KWin__TabBox__ExampleClientModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::TabBox::ExampleClientModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__TabBox__ExampleClientModel.stringdata0))
        return static_cast<void*>(const_cast< ExampleClientModel*>(this));
    return QAbstractListModel::qt_metacast(_clname);
}

int KWin::TabBox::ExampleClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KWin__TabBox__SwitcherItem_t {
    QByteArrayData data[17];
    char stringdata0[230];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__TabBox__SwitcherItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__TabBox__SwitcherItem_t qt_meta_stringdata_KWin__TabBox__SwitcherItem = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KWin::TabBox::SwitcherItem"
QT_MOC_LITERAL(1, 27, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 43, 4), // "item"
QT_MOC_LITERAL(3, 48, 14), // "visibleChanged"
QT_MOC_LITERAL(4, 63, 0), // ""
QT_MOC_LITERAL(5, 64, 19), // "currentIndexChanged"
QT_MOC_LITERAL(6, 84, 5), // "index"
QT_MOC_LITERAL(7, 90, 12), // "modelChanged"
QT_MOC_LITERAL(8, 103, 18), // "allDesktopsChanged"
QT_MOC_LITERAL(9, 122, 21), // "screenGeometryChanged"
QT_MOC_LITERAL(10, 144, 11), // "itemChanged"
QT_MOC_LITERAL(11, 156, 5), // "model"
QT_MOC_LITERAL(12, 162, 19), // "QAbstractItemModel*"
QT_MOC_LITERAL(13, 182, 14), // "screenGeometry"
QT_MOC_LITERAL(14, 197, 7), // "visible"
QT_MOC_LITERAL(15, 205, 11), // "allDesktops"
QT_MOC_LITERAL(16, 217, 12) // "currentIndex"

    },
    "KWin::TabBox::SwitcherItem\0DefaultProperty\0"
    "item\0visibleChanged\0\0currentIndexChanged\0"
    "index\0modelChanged\0allDesktopsChanged\0"
    "screenGeometryChanged\0itemChanged\0"
    "model\0QAbstractItemModel*\0screenGeometry\0"
    "visible\0allDesktops\0currentIndex"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__TabBox__SwitcherItem[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
       6,   16, // methods
       6,   54, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   46,    4, 0x06 /* Public */,
       5,    1,   47,    4, 0x06 /* Public */,
       7,    0,   50,    4, 0x06 /* Public */,
       8,    0,   51,    4, 0x06 /* Public */,
       9,    0,   52,    4, 0x06 /* Public */,
      10,    0,   53,    4, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      11, 0x80000000 | 12, 0x00495009,
      13, QMetaType::QRect, 0x00495001,
      14, QMetaType::Bool, 0x00495001,
      15, QMetaType::Bool, 0x00495001,
      16, QMetaType::Int, 0x00495103,
       2, QMetaType::QObjectStar, 0x00495103,

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

       0        // eod
};

void KWin::TabBox::SwitcherItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SwitcherItem *_t = static_cast<SwitcherItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->visibleChanged(); break;
        case 1: _t->currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->modelChanged(); break;
        case 3: _t->allDesktopsChanged(); break;
        case 4: _t->screenGeometryChanged(); break;
        case 5: _t->itemChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SwitcherItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SwitcherItem::visibleChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SwitcherItem::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SwitcherItem::currentIndexChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SwitcherItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SwitcherItem::modelChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (SwitcherItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SwitcherItem::allDesktopsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (SwitcherItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SwitcherItem::screenGeometryChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (SwitcherItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SwitcherItem::itemChanged)) {
                *result = 5;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractItemModel* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SwitcherItem *_t = static_cast<SwitcherItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QAbstractItemModel**>(_v) = _t->model(); break;
        case 1: *reinterpret_cast< QRect*>(_v) = _t->screenGeometry(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isAllDesktops(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->currentIndex(); break;
        case 5: *reinterpret_cast< QObject**>(_v) = _t->item(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SwitcherItem *_t = static_cast<SwitcherItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 4: _t->setCurrentIndex(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setItem(*reinterpret_cast< QObject**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::TabBox::SwitcherItem::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__TabBox__SwitcherItem.data,
      qt_meta_data_KWin__TabBox__SwitcherItem,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::TabBox::SwitcherItem::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__TabBox__SwitcherItem.stringdata0))
        return static_cast<void*>(const_cast< SwitcherItem*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void KWin::TabBox::SwitcherItem::visibleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void KWin::TabBox::SwitcherItem::currentIndexChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWin::TabBox::SwitcherItem::modelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void KWin::TabBox::SwitcherItem::allDesktopsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void KWin::TabBox::SwitcherItem::screenGeometryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void KWin::TabBox::SwitcherItem::itemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
