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

#include "../../../src/plasma-desktop-5.8.9/applets/pager/plugin/pagermodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pagermodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_PagerModel_t {
    QByteArrayData data[44];
    char stringdata0[562];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PagerModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PagerModel_t qt_meta_stringdata_PagerModel = {
    {
QT_MOC_LITERAL(0, 0, 10), // "PagerModel"
QT_MOC_LITERAL(1, 11, 12), // "countChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 16), // "pagerTypeChanged"
QT_MOC_LITERAL(4, 42, 14), // "enabledChanged"
QT_MOC_LITERAL(5, 57, 22), // "shouldShowPagerChanged"
QT_MOC_LITERAL(6, 80, 18), // "showDesktopChanged"
QT_MOC_LITERAL(7, 99, 28), // "showOnlyCurrentScreenChanged"
QT_MOC_LITERAL(8, 128, 21), // "screenGeometryChanged"
QT_MOC_LITERAL(9, 150, 18), // "currentPageChanged"
QT_MOC_LITERAL(10, 169, 17), // "layoutRowsChanged"
QT_MOC_LITERAL(11, 187, 20), // "pagerItemSizeChanged"
QT_MOC_LITERAL(12, 208, 7), // "refresh"
QT_MOC_LITERAL(13, 216, 10), // "moveWindow"
QT_MOC_LITERAL(14, 227, 6), // "window"
QT_MOC_LITERAL(15, 234, 1), // "x"
QT_MOC_LITERAL(16, 236, 1), // "y"
QT_MOC_LITERAL(17, 238, 12), // "targetItemId"
QT_MOC_LITERAL(18, 251, 12), // "sourceItemId"
QT_MOC_LITERAL(19, 264, 16), // "widthScaleFactor"
QT_MOC_LITERAL(20, 281, 17), // "heightScaleFactor"
QT_MOC_LITERAL(21, 299, 10), // "changePage"
QT_MOC_LITERAL(22, 310, 4), // "page"
QT_MOC_LITERAL(23, 315, 4), // "drop"
QT_MOC_LITERAL(24, 320, 10), // "QMimeData*"
QT_MOC_LITERAL(25, 331, 8), // "mimeData"
QT_MOC_LITERAL(26, 340, 6), // "itemId"
QT_MOC_LITERAL(27, 347, 10), // "addDesktop"
QT_MOC_LITERAL(28, 358, 13), // "removeDesktop"
QT_MOC_LITERAL(29, 372, 5), // "count"
QT_MOC_LITERAL(30, 378, 9), // "pagerType"
QT_MOC_LITERAL(31, 388, 9), // "PagerType"
QT_MOC_LITERAL(32, 398, 7), // "enabled"
QT_MOC_LITERAL(33, 406, 15), // "shouldShowPager"
QT_MOC_LITERAL(34, 422, 11), // "showDesktop"
QT_MOC_LITERAL(35, 434, 21), // "showOnlyCurrentScreen"
QT_MOC_LITERAL(36, 456, 14), // "screenGeometry"
QT_MOC_LITERAL(37, 471, 11), // "currentPage"
QT_MOC_LITERAL(38, 483, 10), // "layoutRows"
QT_MOC_LITERAL(39, 494, 13), // "pagerItemSize"
QT_MOC_LITERAL(40, 508, 15), // "VirtualDesktops"
QT_MOC_LITERAL(41, 524, 10), // "Activities"
QT_MOC_LITERAL(42, 535, 15), // "AdditionalRoles"
QT_MOC_LITERAL(43, 551, 10) // "TasksModel"

    },
    "PagerModel\0countChanged\0\0pagerTypeChanged\0"
    "enabledChanged\0shouldShowPagerChanged\0"
    "showDesktopChanged\0showOnlyCurrentScreenChanged\0"
    "screenGeometryChanged\0currentPageChanged\0"
    "layoutRowsChanged\0pagerItemSizeChanged\0"
    "refresh\0moveWindow\0window\0x\0y\0"
    "targetItemId\0sourceItemId\0widthScaleFactor\0"
    "heightScaleFactor\0changePage\0page\0"
    "drop\0QMimeData*\0mimeData\0itemId\0"
    "addDesktop\0removeDesktop\0count\0pagerType\0"
    "PagerType\0enabled\0shouldShowPager\0"
    "showDesktop\0showOnlyCurrentScreen\0"
    "screenGeometry\0currentPage\0layoutRows\0"
    "pagerItemSize\0VirtualDesktops\0Activities\0"
    "AdditionalRoles\0TasksModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PagerModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
      10,  130, // properties
       2,  170, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    0,   95,    2, 0x06 /* Public */,
       4,    0,   96,    2, 0x06 /* Public */,
       5,    0,   97,    2, 0x06 /* Public */,
       6,    0,   98,    2, 0x06 /* Public */,
       7,    0,   99,    2, 0x06 /* Public */,
       8,    0,  100,    2, 0x06 /* Public */,
       9,    0,  101,    2, 0x06 /* Public */,
      10,    0,  102,    2, 0x06 /* Public */,
      11,    0,  103,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      12,    0,  104,    2, 0x02 /* Public */,
      13,    7,  105,    2, 0x02 /* Public */,
      21,    1,  120,    2, 0x02 /* Public */,
      23,    2,  123,    2, 0x02 /* Public */,
      27,    0,  128,    2, 0x02 /* Public */,
      28,    0,  129,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Double, QMetaType::Double, QMetaType::Int, QMetaType::Int, QMetaType::QReal, QMetaType::QReal,   14,   15,   16,   17,   18,   19,   20,
    QMetaType::Void, QMetaType::Int,   22,
    QMetaType::Void, 0x80000000 | 24, QMetaType::Int,   25,   26,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      29, QMetaType::Int, 0x00495001,
      30, 0x80000000 | 31, 0x0049510b,
      32, QMetaType::Bool, 0x00495103,
      33, QMetaType::Bool, 0x00495001,
      34, QMetaType::Bool, 0x00495103,
      35, QMetaType::Bool, 0x00495103,
      36, QMetaType::QRect, 0x00495103,
      37, QMetaType::Int, 0x00495001,
      38, QMetaType::Int, 0x00495001,
      39, QMetaType::QSize, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,
       9,

 // enums: name, flags, count, data
      31, 0x0,    2,  178,
      42, 0x0,    1,  182,

 // enum data: key, value
      40, uint(PagerModel::VirtualDesktops),
      41, uint(PagerModel::Activities),
      43, uint(PagerModel::TasksModel),

       0        // eod
};

void PagerModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PagerModel *_t = static_cast<PagerModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->pagerTypeChanged(); break;
        case 2: _t->enabledChanged(); break;
        case 3: _t->shouldShowPagerChanged(); break;
        case 4: _t->showDesktopChanged(); break;
        case 5: _t->showOnlyCurrentScreenChanged(); break;
        case 6: _t->screenGeometryChanged(); break;
        case 7: _t->currentPageChanged(); break;
        case 8: _t->layoutRowsChanged(); break;
        case 9: _t->pagerItemSizeChanged(); break;
        case 10: _t->refresh(); break;
        case 11: _t->moveWindow((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])),(*reinterpret_cast< qreal(*)>(_a[6])),(*reinterpret_cast< qreal(*)>(_a[7]))); break;
        case 12: _t->changePage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->drop((*reinterpret_cast< QMimeData*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->addDesktop(); break;
        case 15: _t->removeDesktop(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::countChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::pagerTypeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::enabledChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::shouldShowPagerChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::showDesktopChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::showOnlyCurrentScreenChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::screenGeometryChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::currentPageChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::layoutRowsChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (PagerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PagerModel::pagerItemSizeChanged)) {
                *result = 9;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        PagerModel *_t = static_cast<PagerModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->rowCount(); break;
        case 1: *reinterpret_cast< PagerType*>(_v) = _t->pagerType(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->enabled(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->shouldShowPager(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->showDesktop(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->showOnlyCurrentScreen(); break;
        case 6: *reinterpret_cast< QRect*>(_v) = _t->screenGeometry(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->currentPage(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->layoutRows(); break;
        case 9: *reinterpret_cast< QSize*>(_v) = _t->pagerItemSize(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        PagerModel *_t = static_cast<PagerModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setPagerType(*reinterpret_cast< PagerType*>(_v)); break;
        case 2: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setShowDesktop(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setShowOnlyCurrentScreen(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setScreenGeometry(*reinterpret_cast< QRect*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject PagerModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_PagerModel.data,
      qt_meta_data_PagerModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *PagerModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PagerModel.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

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

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

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

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

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

// SIGNAL 4
void PagerModel::showDesktopChanged()const
{
    QMetaObject::activate(const_cast< PagerModel *>(this), &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void PagerModel::showOnlyCurrentScreenChanged()const
{
    QMetaObject::activate(const_cast< PagerModel *>(this), &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void PagerModel::screenGeometryChanged()const
{
    QMetaObject::activate(const_cast< PagerModel *>(this), &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void PagerModel::currentPageChanged()const
{
    QMetaObject::activate(const_cast< PagerModel *>(this), &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void PagerModel::layoutRowsChanged()const
{
    QMetaObject::activate(const_cast< PagerModel *>(this), &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void PagerModel::pagerItemSizeChanged()const
{
    QMetaObject::activate(const_cast< PagerModel *>(this), &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
