/****************************************************************************
** Meta object code from reading C++ file 'taskgroupingproxymodel.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/plasma-workspace-5.8.8/libtaskmanager/taskgroupingproxymodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'taskgroupingproxymodel.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_TaskManager__TaskGroupingProxyModel_t {
    QByteArrayData data[26];
    char stringdata0[482];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TaskManager__TaskGroupingProxyModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TaskManager__TaskGroupingProxyModel_t qt_meta_stringdata_TaskManager__TaskGroupingProxyModel = {
    {
QT_MOC_LITERAL(0, 0, 35), // "TaskManager::TaskGroupingProx..."
QT_MOC_LITERAL(1, 36, 16), // "groupModeChanged"
QT_MOC_LITERAL(2, 53, 0), // ""
QT_MOC_LITERAL(3, 54, 30), // "groupDemandingAttentionChanged"
QT_MOC_LITERAL(4, 85, 27), // "windowTasksThresholdChanged"
QT_MOC_LITERAL(5, 113, 24), // "blacklistedAppIdsChanged"
QT_MOC_LITERAL(6, 138, 30), // "blacklistedLauncherUrlsChanged"
QT_MOC_LITERAL(7, 169, 27), // "sourceRowsAboutToBeInserted"
QT_MOC_LITERAL(8, 197, 6), // "parent"
QT_MOC_LITERAL(9, 204, 5), // "first"
QT_MOC_LITERAL(10, 210, 4), // "last"
QT_MOC_LITERAL(11, 215, 18), // "sourceRowsInserted"
QT_MOC_LITERAL(12, 234, 5), // "start"
QT_MOC_LITERAL(13, 240, 3), // "end"
QT_MOC_LITERAL(14, 244, 26), // "sourceRowsAboutToBeRemoved"
QT_MOC_LITERAL(15, 271, 17), // "sourceRowsRemoved"
QT_MOC_LITERAL(16, 289, 25), // "sourceModelAboutToBeReset"
QT_MOC_LITERAL(17, 315, 16), // "sourceModelReset"
QT_MOC_LITERAL(18, 332, 17), // "sourceDataChanged"
QT_MOC_LITERAL(19, 350, 12), // "QVector<int>"
QT_MOC_LITERAL(20, 363, 9), // "groupMode"
QT_MOC_LITERAL(21, 373, 21), // "TasksModel::GroupMode"
QT_MOC_LITERAL(22, 395, 23), // "groupDemandingAttention"
QT_MOC_LITERAL(23, 419, 20), // "windowTasksThreshold"
QT_MOC_LITERAL(24, 440, 17), // "blacklistedAppIds"
QT_MOC_LITERAL(25, 458, 23) // "blacklistedLauncherUrls"

    },
    "TaskManager::TaskGroupingProxyModel\0"
    "groupModeChanged\0\0groupDemandingAttentionChanged\0"
    "windowTasksThresholdChanged\0"
    "blacklistedAppIdsChanged\0"
    "blacklistedLauncherUrlsChanged\0"
    "sourceRowsAboutToBeInserted\0parent\0"
    "first\0last\0sourceRowsInserted\0start\0"
    "end\0sourceRowsAboutToBeRemoved\0"
    "sourceRowsRemoved\0sourceModelAboutToBeReset\0"
    "sourceModelReset\0sourceDataChanged\0"
    "QVector<int>\0groupMode\0TasksModel::GroupMode\0"
    "groupDemandingAttention\0windowTasksThreshold\0"
    "blacklistedAppIds\0blacklistedLauncherUrls"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TaskManager__TaskGroupingProxyModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    0,   75,    2, 0x06 /* Public */,
       4,    0,   76,    2, 0x06 /* Public */,
       5,    0,   77,    2, 0x06 /* Public */,
       6,    0,   78,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    3,   79,    2, 0x08 /* Private */,
      11,    3,   86,    2, 0x08 /* Private */,
      14,    3,   93,    2, 0x08 /* Private */,
      15,    3,  100,    2, 0x08 /* Private */,
      16,    0,  107,    2, 0x08 /* Private */,
      17,    0,  108,    2, 0x08 /* Private */,
      18,    3,  109,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    8,    9,   10,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    8,   12,   13,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    8,    9,   10,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    8,   12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex, 0x80000000 | 19,    2,    2,    2,

 // properties: name, type, flags
      20, 0x80000000 | 21, 0x0049510b,
      22, QMetaType::Bool, 0x00495103,
      23, QMetaType::Int, 0x00495103,
      24, QMetaType::QStringList, 0x00495103,
      25, QMetaType::QStringList, 0x00495103,

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

       0        // eod
};

void TaskManager::TaskGroupingProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskGroupingProxyModel *_t = static_cast<TaskGroupingProxyModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->groupModeChanged(); break;
        case 1: _t->groupDemandingAttentionChanged(); break;
        case 2: _t->windowTasksThresholdChanged(); break;
        case 3: _t->blacklistedAppIdsChanged(); break;
        case 4: _t->blacklistedLauncherUrlsChanged(); break;
        case 5: _t->d->sourceRowsAboutToBeInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 6: _t->d->sourceRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 7: _t->d->sourceRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 8: _t->d->sourceRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->d->sourceModelAboutToBeReset(); break;
        case 10: _t->d->sourceModelReset(); break;
        case 11: _t->d->sourceDataChanged((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< QModelIndex(*)>(_a[2])),(*reinterpret_cast< QVector<int>(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<int> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TaskGroupingProxyModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaskGroupingProxyModel::groupModeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TaskGroupingProxyModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaskGroupingProxyModel::groupDemandingAttentionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TaskGroupingProxyModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaskGroupingProxyModel::windowTasksThresholdChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TaskGroupingProxyModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaskGroupingProxyModel::blacklistedAppIdsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TaskGroupingProxyModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaskGroupingProxyModel::blacklistedLauncherUrlsChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        TaskGroupingProxyModel *_t = static_cast<TaskGroupingProxyModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< TasksModel::GroupMode*>(_v) = _t->groupMode(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->groupDemandingAttention(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->windowTasksThreshold(); break;
        case 3: *reinterpret_cast< QStringList*>(_v) = _t->blacklistedAppIds(); break;
        case 4: *reinterpret_cast< QStringList*>(_v) = _t->blacklistedLauncherUrls(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        TaskGroupingProxyModel *_t = static_cast<TaskGroupingProxyModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setGroupMode(*reinterpret_cast< TasksModel::GroupMode*>(_v)); break;
        case 1: _t->setGroupDemandingAttention(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setWindowTasksThreshold(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setBlacklistedAppIds(*reinterpret_cast< QStringList*>(_v)); break;
        case 4: _t->setBlacklistedLauncherUrls(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject * const qt_meta_extradata_TaskManager__TaskGroupingProxyModel[] = {
        &TaskManager::TasksModel::staticMetaObject,
    nullptr
};

const QMetaObject TaskManager::TaskGroupingProxyModel::staticMetaObject = {
    { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_TaskManager__TaskGroupingProxyModel.data,
      qt_meta_data_TaskManager__TaskGroupingProxyModel,  qt_static_metacall, qt_meta_extradata_TaskManager__TaskGroupingProxyModel, nullptr}
};


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

void *TaskManager::TaskGroupingProxyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_TaskManager__TaskGroupingProxyModel.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "AbstractTasksModelIface"))
        return static_cast< AbstractTasksModelIface*>(this);
    return QAbstractProxyModel::qt_metacast(_clname);
}

int TaskManager::TaskGroupingProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void TaskManager::TaskGroupingProxyModel::groupModeChanged()const
{
    QMetaObject::activate(const_cast< TaskManager::TaskGroupingProxyModel *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void TaskManager::TaskGroupingProxyModel::groupDemandingAttentionChanged()const
{
    QMetaObject::activate(const_cast< TaskManager::TaskGroupingProxyModel *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void TaskManager::TaskGroupingProxyModel::windowTasksThresholdChanged()const
{
    QMetaObject::activate(const_cast< TaskManager::TaskGroupingProxyModel *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void TaskManager::TaskGroupingProxyModel::blacklistedAppIdsChanged()const
{
    QMetaObject::activate(const_cast< TaskManager::TaskGroupingProxyModel *>(this), &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void TaskManager::TaskGroupingProxyModel::blacklistedLauncherUrlsChanged()const
{
    QMetaObject::activate(const_cast< TaskManager::TaskGroupingProxyModel *>(this), &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
