/****************************************************************************
** Meta object code from reading C++ file 'model.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/kwincompositing/model.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'model.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__Compositing__EffectModel_t {
    QByteArrayData data[1];
    char stringdata0[31];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Compositing__EffectModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Compositing__EffectModel_t qt_meta_stringdata_KWin__Compositing__EffectModel = {
    {
QT_MOC_LITERAL(0, 0, 30) // "KWin::Compositing::EffectModel"

    },
    "KWin::Compositing::EffectModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Compositing__EffectModel[] = {

 // 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::Compositing::EffectModel::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::Compositing::EffectModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_KWin__Compositing__EffectModel.data,
      qt_meta_data_KWin__Compositing__EffectModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::Compositing::EffectModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__Compositing__EffectModel.stringdata0))
        return static_cast<void*>(const_cast< EffectModel*>(this));
    return QAbstractItemModel::qt_metacast(_clname);
}

int KWin::Compositing::EffectModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KWin__Compositing__EffectView_t {
    QByteArrayData data[4];
    char stringdata0[63];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Compositing__EffectView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Compositing__EffectView_t qt_meta_stringdata_KWin__Compositing__EffectView = {
    {
QT_MOC_LITERAL(0, 0, 29), // "KWin::Compositing::EffectView"
QT_MOC_LITERAL(1, 30, 7), // "changed"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 23) // "slotImplicitSizeChanged"

    },
    "KWin::Compositing::EffectView\0changed\0"
    "\0slotImplicitSizeChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Compositing__EffectView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   25,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KWin::Compositing::EffectView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EffectView *_t = static_cast<EffectView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->slotImplicitSizeChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (EffectView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EffectView::changed)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KWin::Compositing::EffectView::staticMetaObject = {
    { &QQuickView::staticMetaObject, qt_meta_stringdata_KWin__Compositing__EffectView.data,
      qt_meta_data_KWin__Compositing__EffectView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::Compositing::EffectView::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__Compositing__EffectView.stringdata0))
        return static_cast<void*>(const_cast< EffectView*>(this));
    return QQuickView::qt_metacast(_clname);
}

int KWin::Compositing::EffectView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void KWin::Compositing::EffectView::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
struct qt_meta_stringdata_KWin__Compositing__EffectFilterModel_t {
    QByteArrayData data[19];
    char stringdata0[318];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Compositing__EffectFilterModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Compositing__EffectFilterModel_t qt_meta_stringdata_KWin__Compositing__EffectFilterModel = {
    {
QT_MOC_LITERAL(0, 0, 36), // "KWin::Compositing::EffectFilt..."
QT_MOC_LITERAL(1, 37, 18), // "effectModelChanged"
QT_MOC_LITERAL(2, 56, 0), // ""
QT_MOC_LITERAL(3, 57, 13), // "filterChanged"
QT_MOC_LITERAL(4, 71, 27), // "filterOutUnsupportedChanged"
QT_MOC_LITERAL(5, 99, 24), // "filterOutInternalChanged"
QT_MOC_LITERAL(6, 124, 9), // "setFilter"
QT_MOC_LITERAL(7, 134, 6), // "filter"
QT_MOC_LITERAL(8, 141, 18), // "updateEffectStatus"
QT_MOC_LITERAL(9, 160, 8), // "rowIndex"
QT_MOC_LITERAL(10, 169, 11), // "effectState"
QT_MOC_LITERAL(11, 181, 10), // "syncConfig"
QT_MOC_LITERAL(12, 192, 4), // "load"
QT_MOC_LITERAL(13, 197, 20), // "filterOutUnsupported"
QT_MOC_LITERAL(14, 218, 17), // "filterOutInternal"
QT_MOC_LITERAL(15, 236, 21), // "backgroundActiveColor"
QT_MOC_LITERAL(16, 258, 21), // "backgroundNormalColor"
QT_MOC_LITERAL(17, 280, 24), // "backgroundAlternateColor"
QT_MOC_LITERAL(18, 305, 12) // "sectionColor"

    },
    "KWin::Compositing::EffectFilterModel\0"
    "effectModelChanged\0\0filterChanged\0"
    "filterOutUnsupportedChanged\0"
    "filterOutInternalChanged\0setFilter\0"
    "filter\0updateEffectStatus\0rowIndex\0"
    "effectState\0syncConfig\0load\0"
    "filterOutUnsupported\0filterOutInternal\0"
    "backgroundActiveColor\0backgroundNormalColor\0"
    "backgroundAlternateColor\0sectionColor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Compositing__EffectFilterModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    0,   57,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   58,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
       8,    2,   61,    2, 0x02 /* Public */,
      11,    0,   66,    2, 0x02 /* Public */,
      12,    0,   67,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    7,

 // methods: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    9,   10,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       7, QMetaType::QString, 0x00495103,
      13, QMetaType::Bool, 0x00495003,
      14, QMetaType::Bool, 0x00495003,
      15, QMetaType::QColor, 0x00095401,
      16, QMetaType::QColor, 0x00095401,
      17, QMetaType::QColor, 0x00095401,
      18, QMetaType::QColor, 0x00095401,

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

       0        // eod
};

void KWin::Compositing::EffectFilterModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EffectFilterModel *_t = static_cast<EffectFilterModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->effectModelChanged(); break;
        case 1: _t->filterChanged(); break;
        case 2: _t->filterOutUnsupportedChanged(); break;
        case 3: _t->filterOutInternalChanged(); break;
        case 4: _t->setFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->updateEffectStatus((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->syncConfig(); break;
        case 7: _t->load(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (EffectFilterModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EffectFilterModel::effectModelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (EffectFilterModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EffectFilterModel::filterChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (EffectFilterModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EffectFilterModel::filterOutUnsupportedChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (EffectFilterModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EffectFilterModel::filterOutInternalChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        EffectFilterModel *_t = static_cast<EffectFilterModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->filter(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->m_filterOutUnsupported; break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->m_filterOutInternal; break;
        case 3: *reinterpret_cast< QColor*>(_v) = _t->backgroundActiveColor(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = _t->backgroundNormalColor(); break;
        case 5: *reinterpret_cast< QColor*>(_v) = _t->backgroundAlternateColor(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->sectionColor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        EffectFilterModel *_t = static_cast<EffectFilterModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFilter(*reinterpret_cast< QString*>(_v)); break;
        case 1:
            if (_t->m_filterOutUnsupported != *reinterpret_cast< bool*>(_v)) {
                _t->m_filterOutUnsupported = *reinterpret_cast< bool*>(_v);
                Q_EMIT _t->filterOutUnsupportedChanged();
            }
            break;
        case 2:
            if (_t->m_filterOutInternal != *reinterpret_cast< bool*>(_v)) {
                _t->m_filterOutInternal = *reinterpret_cast< bool*>(_v);
                Q_EMIT _t->filterOutInternalChanged();
            }
            break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::Compositing::EffectFilterModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_KWin__Compositing__EffectFilterModel.data,
      qt_meta_data_KWin__Compositing__EffectFilterModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::Compositing::EffectFilterModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__Compositing__EffectFilterModel.stringdata0))
        return static_cast<void*>(const_cast< EffectFilterModel*>(this));
    return QSortFilterProxyModel::qt_metacast(_clname);
}

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

// SIGNAL 0
void KWin::Compositing::EffectFilterModel::effectModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void KWin::Compositing::EffectFilterModel::filterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void KWin::Compositing::EffectFilterModel::filterOutUnsupportedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void KWin::Compositing::EffectFilterModel::filterOutInternalChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
