/****************************************************************************
** Meta object code from reading C++ file 'positioner.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-desktop-5.8.8/containments/desktop/plugins/folder/positioner.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'positioner.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_Positioner_t {
    QByteArrayData data[56];
    char stringdata0[731];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Positioner_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Positioner_t qt_meta_stringdata_Positioner = {
    {
QT_MOC_LITERAL(0, 0, 10), // "Positioner"
QT_MOC_LITERAL(1, 11, 14), // "enabledChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 18), // "folderModelChanged"
QT_MOC_LITERAL(4, 46, 16), // "perStripeChanged"
QT_MOC_LITERAL(5, 63, 16), // "positionsChanged"
QT_MOC_LITERAL(6, 80, 15), // "updatePositions"
QT_MOC_LITERAL(7, 96, 17), // "sourceDataChanged"
QT_MOC_LITERAL(8, 114, 7), // "topLeft"
QT_MOC_LITERAL(9, 122, 11), // "bottomRight"
QT_MOC_LITERAL(10, 134, 12), // "QVector<int>"
QT_MOC_LITERAL(11, 147, 5), // "roles"
QT_MOC_LITERAL(12, 153, 25), // "sourceModelAboutToBeReset"
QT_MOC_LITERAL(13, 179, 16), // "sourceModelReset"
QT_MOC_LITERAL(14, 196, 27), // "sourceRowsAboutToBeInserted"
QT_MOC_LITERAL(15, 224, 6), // "parent"
QT_MOC_LITERAL(16, 231, 5), // "start"
QT_MOC_LITERAL(17, 237, 3), // "end"
QT_MOC_LITERAL(18, 241, 24), // "sourceRowsAboutToBeMoved"
QT_MOC_LITERAL(19, 266, 12), // "sourceParent"
QT_MOC_LITERAL(20, 279, 11), // "sourceStart"
QT_MOC_LITERAL(21, 291, 9), // "sourceEnd"
QT_MOC_LITERAL(22, 301, 17), // "destinationParent"
QT_MOC_LITERAL(23, 319, 14), // "destinationRow"
QT_MOC_LITERAL(24, 334, 26), // "sourceRowsAboutToBeRemoved"
QT_MOC_LITERAL(25, 361, 5), // "first"
QT_MOC_LITERAL(26, 367, 4), // "last"
QT_MOC_LITERAL(27, 372, 28), // "sourceLayoutAboutToBeChanged"
QT_MOC_LITERAL(28, 401, 28), // "QList<QPersistentModelIndex>"
QT_MOC_LITERAL(29, 430, 7), // "parents"
QT_MOC_LITERAL(30, 438, 36), // "QAbstractItemModel::LayoutCha..."
QT_MOC_LITERAL(31, 475, 4), // "hint"
QT_MOC_LITERAL(32, 480, 18), // "sourceRowsInserted"
QT_MOC_LITERAL(33, 499, 15), // "sourceRowsMoved"
QT_MOC_LITERAL(34, 515, 17), // "sourceRowsRemoved"
QT_MOC_LITERAL(35, 533, 19), // "sourceLayoutChanged"
QT_MOC_LITERAL(36, 553, 3), // "map"
QT_MOC_LITERAL(37, 557, 3), // "row"
QT_MOC_LITERAL(38, 561, 11), // "nearestItem"
QT_MOC_LITERAL(39, 573, 12), // "currentIndex"
QT_MOC_LITERAL(40, 586, 13), // "Qt::ArrowType"
QT_MOC_LITERAL(41, 600, 9), // "direction"
QT_MOC_LITERAL(42, 610, 7), // "isBlank"
QT_MOC_LITERAL(43, 618, 11), // "indexForUrl"
QT_MOC_LITERAL(44, 630, 3), // "url"
QT_MOC_LITERAL(45, 634, 16), // "setRangeSelected"
QT_MOC_LITERAL(46, 651, 6), // "anchor"
QT_MOC_LITERAL(47, 658, 2), // "to"
QT_MOC_LITERAL(48, 661, 5), // "reset"
QT_MOC_LITERAL(49, 667, 4), // "move"
QT_MOC_LITERAL(50, 672, 5), // "moves"
QT_MOC_LITERAL(51, 678, 7), // "enabled"
QT_MOC_LITERAL(52, 686, 11), // "folderModel"
QT_MOC_LITERAL(53, 698, 12), // "FolderModel*"
QT_MOC_LITERAL(54, 711, 9), // "perStripe"
QT_MOC_LITERAL(55, 721, 9) // "positions"

    },
    "Positioner\0enabledChanged\0\0"
    "folderModelChanged\0perStripeChanged\0"
    "positionsChanged\0updatePositions\0"
    "sourceDataChanged\0topLeft\0bottomRight\0"
    "QVector<int>\0roles\0sourceModelAboutToBeReset\0"
    "sourceModelReset\0sourceRowsAboutToBeInserted\0"
    "parent\0start\0end\0sourceRowsAboutToBeMoved\0"
    "sourceParent\0sourceStart\0sourceEnd\0"
    "destinationParent\0destinationRow\0"
    "sourceRowsAboutToBeRemoved\0first\0last\0"
    "sourceLayoutAboutToBeChanged\0"
    "QList<QPersistentModelIndex>\0parents\0"
    "QAbstractItemModel::LayoutChangeHint\0"
    "hint\0sourceRowsInserted\0sourceRowsMoved\0"
    "sourceRowsRemoved\0sourceLayoutChanged\0"
    "map\0row\0nearestItem\0currentIndex\0"
    "Qt::ArrowType\0direction\0isBlank\0"
    "indexForUrl\0url\0setRangeSelected\0"
    "anchor\0to\0reset\0move\0moves\0enabled\0"
    "folderModel\0FolderModel*\0perStripe\0"
    "positions"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Positioner[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  129,    2, 0x06 /* Public */,
       3,    0,  130,    2, 0x06 /* Public */,
       4,    0,  131,    2, 0x06 /* Public */,
       5,    0,  132,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,  133,    2, 0x08 /* Private */,
       7,    3,  134,    2, 0x08 /* Private */,
      12,    0,  141,    2, 0x08 /* Private */,
      13,    0,  142,    2, 0x08 /* Private */,
      14,    3,  143,    2, 0x08 /* Private */,
      18,    5,  150,    2, 0x08 /* Private */,
      24,    3,  161,    2, 0x08 /* Private */,
      27,    2,  168,    2, 0x08 /* Private */,
      32,    3,  173,    2, 0x08 /* Private */,
      33,    5,  180,    2, 0x08 /* Private */,
      34,    3,  191,    2, 0x08 /* Private */,
      35,    2,  198,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      36,    1,  203,    2, 0x02 /* Public */,
      38,    2,  206,    2, 0x02 /* Public */,
      42,    1,  211,    2, 0x02 /* Public */,
      43,    1,  214,    2, 0x02 /* Public */,
      45,    2,  217,    2, 0x02 /* Public */,
      48,    0,  222,    2, 0x02 /* Public */,
      49,    1,  223,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex, 0x80000000 | 10,    8,    9,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   15,   16,   17,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, QMetaType::QModelIndex, QMetaType::Int,   19,   20,   21,   22,   23,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   15,   25,   26,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 30,   29,   31,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   15,   25,   26,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, QMetaType::QModelIndex, QMetaType::Int,   19,   20,   21,   22,   23,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   15,   25,   26,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 30,   29,   31,

 // methods: parameters
    QMetaType::Int, QMetaType::Int,   37,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 40,   39,   41,
    QMetaType::Bool, QMetaType::Int,   37,
    QMetaType::Int, QMetaType::QUrl,   44,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   46,   47,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QVariantList,   50,

 // properties: name, type, flags
      51, QMetaType::Bool, 0x00495103,
      52, 0x80000000 | 53, 0x0049510b,
      54, QMetaType::Int, 0x00495103,
      55, QMetaType::QStringList, 0x00495103,

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

       0        // eod
};

void Positioner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Positioner *_t = static_cast<Positioner *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->enabledChanged(); break;
        case 1: _t->folderModelChanged(); break;
        case 2: _t->perStripeChanged(); break;
        case 3: _t->positionsChanged(); break;
        case 4: _t->updatePositions(); break;
        case 5: _t->sourceDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break;
        case 6: _t->sourceModelAboutToBeReset(); break;
        case 7: _t->sourceModelReset(); break;
        case 8: _t->sourceRowsAboutToBeInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->sourceRowsAboutToBeMoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QModelIndex(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 10: _t->sourceRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 11: _t->sourceLayoutAboutToBeChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break;
        case 12: _t->sourceRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 13: _t->sourceRowsMoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QModelIndex(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 14: _t->sourceRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 15: _t->sourceLayoutChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break;
        case 16: { int _r = _t->map((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 17: { int _r = _t->nearestItem((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::ArrowType(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->isBlank((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 19: { int _r = _t->indexForUrl((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->setRangeSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 21: _t->reset(); break;
        case 22: _t->move((*reinterpret_cast< const QVariantList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            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;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QPersistentModelIndex> >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QPersistentModelIndex> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Positioner::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Positioner::enabledChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Positioner::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Positioner::folderModelChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Positioner::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Positioner::perStripeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Positioner::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Positioner::positionsChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Positioner *_t = static_cast<Positioner *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->enabled(); break;
        case 1: *reinterpret_cast< FolderModel**>(_v) = _t->folderModel(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->perStripe(); break;
        case 3: *reinterpret_cast< QStringList*>(_v) = _t->positions(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Positioner *_t = static_cast<Positioner *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setFolderModel(*reinterpret_cast< FolderModel**>(_v)); break;
        case 2: _t->setPerStripe(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setPositions(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Positioner::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_Positioner.data,
      qt_meta_data_Positioner,  qt_static_metacall, nullptr, nullptr}
};


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

void *Positioner::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Positioner.stringdata0))
        return static_cast<void*>(this);
    return QAbstractItemModel::qt_metacast(_clname);
}

int Positioner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
#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 Positioner::enabledChanged()const
{
    QMetaObject::activate(const_cast< Positioner *>(this), &staticMetaObject, 0, nullptr);
}

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

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

// SIGNAL 3
void Positioner::positionsChanged()const
{
    QMetaObject::activate(const_cast< Positioner *>(this), &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
