/****************************************************************************
** Meta object code from reading C++ file 'previewbridge.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/kcmkwin/kwindecoration/declarative-plugin/previewbridge.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'previewbridge.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_KDecoration2__Preview__PreviewBridge_t {
    QByteArrayData data[9];
    char stringdata0[107];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDecoration2__Preview__PreviewBridge_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDecoration2__Preview__PreviewBridge_t qt_meta_stringdata_KDecoration2__Preview__PreviewBridge = {
    {
QT_MOC_LITERAL(0, 0, 36), // "KDecoration2::Preview::Previe..."
QT_MOC_LITERAL(1, 37, 13), // "pluginChanged"
QT_MOC_LITERAL(2, 51, 0), // ""
QT_MOC_LITERAL(3, 52, 12), // "themeChanged"
QT_MOC_LITERAL(4, 65, 12), // "validChanged"
QT_MOC_LITERAL(5, 78, 9), // "configure"
QT_MOC_LITERAL(6, 88, 6), // "plugin"
QT_MOC_LITERAL(7, 95, 5), // "theme"
QT_MOC_LITERAL(8, 101, 5) // "valid"

    },
    "KDecoration2::Preview::PreviewBridge\0"
    "pluginChanged\0\0themeChanged\0validChanged\0"
    "configure\0plugin\0theme\0valid"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDecoration2__Preview__PreviewBridge[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   34,    2, 0x06 /* Public */,
       3,    0,   35,    2, 0x06 /* Public */,
       4,    0,   36,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   37,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void,

 // properties: name, type, flags
       6, QMetaType::QString, 0x00495103,
       7, QMetaType::QString, 0x00495103,
       8, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

void KDecoration2::Preview::PreviewBridge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PreviewBridge *_t = static_cast<PreviewBridge *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pluginChanged(); break;
        case 1: _t->themeChanged(); break;
        case 2: _t->validChanged(); break;
        case 3: _t->configure(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PreviewBridge::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PreviewBridge::pluginChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PreviewBridge::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PreviewBridge::themeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PreviewBridge::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PreviewBridge::validChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        PreviewBridge *_t = static_cast<PreviewBridge *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->plugin(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->theme(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isValid(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        PreviewBridge *_t = static_cast<PreviewBridge *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPlugin(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setTheme(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject KDecoration2::Preview::PreviewBridge::staticMetaObject = {
    { &DecorationBridge::staticMetaObject, qt_meta_stringdata_KDecoration2__Preview__PreviewBridge.data,
      qt_meta_data_KDecoration2__Preview__PreviewBridge,  qt_static_metacall, nullptr, nullptr}
};


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

void *KDecoration2::Preview::PreviewBridge::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KDecoration2__Preview__PreviewBridge.stringdata0))
        return static_cast<void*>(this);
    return DecorationBridge::qt_metacast(_clname);
}

int KDecoration2::Preview::PreviewBridge::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DecorationBridge::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KDecoration2::Preview::PreviewBridge::pluginChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KDecoration2::Preview::PreviewBridge::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KDecoration2::Preview::PreviewBridge::validChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
struct qt_meta_stringdata_KDecoration2__Preview__BridgeItem_t {
    QByteArrayData data[10];
    char stringdata0[139];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDecoration2__Preview__BridgeItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDecoration2__Preview__BridgeItem_t qt_meta_stringdata_KDecoration2__Preview__BridgeItem = {
    {
QT_MOC_LITERAL(0, 0, 33), // "KDecoration2::Preview::Bridge..."
QT_MOC_LITERAL(1, 34, 13), // "pluginChanged"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 12), // "themeChanged"
QT_MOC_LITERAL(4, 62, 12), // "validChanged"
QT_MOC_LITERAL(5, 75, 6), // "plugin"
QT_MOC_LITERAL(6, 82, 5), // "theme"
QT_MOC_LITERAL(7, 88, 5), // "valid"
QT_MOC_LITERAL(8, 94, 6), // "bridge"
QT_MOC_LITERAL(9, 101, 37) // "KDecoration2::Preview::Previe..."

    },
    "KDecoration2::Preview::BridgeItem\0"
    "pluginChanged\0\0themeChanged\0validChanged\0"
    "plugin\0theme\0valid\0bridge\0"
    "KDecoration2::Preview::PreviewBridge*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDecoration2__Preview__BridgeItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,
       3,    0,   30,    2, 0x06 /* Public */,
       4,    0,   31,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       5, QMetaType::QString, 0x00495103,
       6, QMetaType::QString, 0x00495103,
       7, QMetaType::Bool, 0x00495001,
       8, 0x80000000 | 9, 0x00095409,

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

       0        // eod
};

void KDecoration2::Preview::BridgeItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BridgeItem *_t = static_cast<BridgeItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pluginChanged(); break;
        case 1: _t->themeChanged(); break;
        case 2: _t->validChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (BridgeItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BridgeItem::pluginChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (BridgeItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BridgeItem::themeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (BridgeItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BridgeItem::validChanged)) {
                *result = 2;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDecoration2::Preview::PreviewBridge* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        BridgeItem *_t = static_cast<BridgeItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->plugin(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->theme(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isValid(); break;
        case 3: *reinterpret_cast< KDecoration2::Preview::PreviewBridge**>(_v) = _t->bridge(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        BridgeItem *_t = static_cast<BridgeItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPlugin(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setTheme(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KDecoration2::Preview::BridgeItem::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDecoration2__Preview__BridgeItem.data,
      qt_meta_data_KDecoration2__Preview__BridgeItem,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KDecoration2::Preview::BridgeItem::pluginChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KDecoration2::Preview::BridgeItem::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KDecoration2::Preview::BridgeItem::validChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
