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

#include "../../../../../src/filewidgets/kfileplacesview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kfileplacesview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.1. 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_KFilePlacesView_t {
    QByteArrayData data[36];
    char stringdata0[452];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KFilePlacesView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KFilePlacesView_t qt_meta_stringdata_KFilePlacesView = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KFilePlacesView"
QT_MOC_LITERAL(1, 16, 10), // "urlChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 3), // "url"
QT_MOC_LITERAL(4, 32, 11), // "urlsDropped"
QT_MOC_LITERAL(5, 44, 4), // "dest"
QT_MOC_LITERAL(6, 49, 11), // "QDropEvent*"
QT_MOC_LITERAL(7, 61, 5), // "event"
QT_MOC_LITERAL(8, 67, 8), // "QWidget*"
QT_MOC_LITERAL(9, 76, 6), // "parent"
QT_MOC_LITERAL(10, 83, 6), // "setUrl"
QT_MOC_LITERAL(11, 90, 10), // "setShowAll"
QT_MOC_LITERAL(12, 101, 7), // "showAll"
QT_MOC_LITERAL(13, 109, 8), // "sizeHint"
QT_MOC_LITERAL(14, 118, 8), // "setModel"
QT_MOC_LITERAL(15, 127, 19), // "QAbstractItemModel*"
QT_MOC_LITERAL(16, 147, 5), // "model"
QT_MOC_LITERAL(17, 153, 12), // "rowsInserted"
QT_MOC_LITERAL(18, 166, 5), // "start"
QT_MOC_LITERAL(19, 172, 3), // "end"
QT_MOC_LITERAL(20, 176, 11), // "dataChanged"
QT_MOC_LITERAL(21, 188, 7), // "topLeft"
QT_MOC_LITERAL(22, 196, 11), // "bottomRight"
QT_MOC_LITERAL(23, 208, 12), // "QVector<int>"
QT_MOC_LITERAL(24, 221, 5), // "roles"
QT_MOC_LITERAL(25, 227, 13), // "adaptItemSize"
QT_MOC_LITERAL(26, 241, 15), // "_k_placeClicked"
QT_MOC_LITERAL(27, 257, 15), // "_k_placeEntered"
QT_MOC_LITERAL(28, 273, 12), // "_k_placeLeft"
QT_MOC_LITERAL(29, 286, 19), // "_k_storageSetupDone"
QT_MOC_LITERAL(30, 306, 19), // "_k_adaptItemsUpdate"
QT_MOC_LITERAL(31, 326, 19), // "_k_itemAppearUpdate"
QT_MOC_LITERAL(32, 346, 22), // "_k_itemDisappearUpdate"
QT_MOC_LITERAL(33, 369, 27), // "_k_enableSmoothItemResizing"
QT_MOC_LITERAL(34, 397, 30), // "_k_capacityBarFadeValueChanged"
QT_MOC_LITERAL(35, 428, 23) // "_k_triggerDevicePolling"

    },
    "KFilePlacesView\0urlChanged\0\0url\0"
    "urlsDropped\0dest\0QDropEvent*\0event\0"
    "QWidget*\0parent\0setUrl\0setShowAll\0"
    "showAll\0sizeHint\0setModel\0QAbstractItemModel*\0"
    "model\0rowsInserted\0start\0end\0dataChanged\0"
    "topLeft\0bottomRight\0QVector<int>\0roles\0"
    "adaptItemSize\0_k_placeClicked\0"
    "_k_placeEntered\0_k_placeLeft\0"
    "_k_storageSetupDone\0_k_adaptItemsUpdate\0"
    "_k_itemAppearUpdate\0_k_itemDisappearUpdate\0"
    "_k_enableSmoothItemResizing\0"
    "_k_capacityBarFadeValueChanged\0"
    "_k_triggerDevicePolling"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KFilePlacesView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  109,    2, 0x06 /* Public */,
       4,    3,  112,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,  119,    2, 0x0a /* Public */,
      11,    1,  122,    2, 0x0a /* Public */,
      13,    0,  125,    2, 0x0a /* Public */,
      14,    1,  126,    2, 0x0a /* Public */,
      17,    3,  129,    2, 0x09 /* Protected */,
      20,    3,  136,    2, 0x09 /* Protected */,
      25,    0,  143,    2, 0x08 /* Private */,
      26,    1,  144,    2, 0x08 /* Private */,
      27,    1,  147,    2, 0x08 /* Private */,
      28,    1,  150,    2, 0x08 /* Private */,
      29,    2,  153,    2, 0x08 /* Private */,
      30,    1,  158,    2, 0x08 /* Private */,
      31,    1,  161,    2, 0x08 /* Private */,
      32,    1,  164,    2, 0x08 /* Private */,
      33,    0,  167,    2, 0x08 /* Private */,
      34,    0,  168,    2, 0x08 /* Private */,
      35,    0,  169,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void, QMetaType::QUrl, 0x80000000 | 6, 0x80000000 | 8,    5,    7,    9,

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::QSize,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    9,   18,   19,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex, 0x80000000 | 23,   21,   22,   24,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Bool,    2,    2,
    QMetaType::Void, QMetaType::QReal,    2,
    QMetaType::Void, QMetaType::QReal,    2,
    QMetaType::Void, QMetaType::QReal,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KFilePlacesView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KFilePlacesView *_t = static_cast<KFilePlacesView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->urlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: _t->urlsDropped((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< QDropEvent*(*)>(_a[2])),(*reinterpret_cast< QWidget*(*)>(_a[3]))); break;
        case 2: _t->setUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->setShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: { QSize _r = _t->sizeHint();
            if (_a[0]) *reinterpret_cast< QSize*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->setModel((*reinterpret_cast< QAbstractItemModel*(*)>(_a[1]))); break;
        case 6: _t->rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 7: _t->dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break;
        case 8: _t->d->adaptItemSize(); break;
        case 9: _t->d->_k_placeClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 10: _t->d->_k_placeEntered((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 11: _t->d->_k_placeLeft((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 12: _t->d->_k_storageSetupDone((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 13: _t->d->_k_adaptItemsUpdate((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 14: _t->d->_k_itemAppearUpdate((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 15: _t->d->_k_itemDisappearUpdate((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 16: _t->d->_k_enableSmoothItemResizing(); break;
        case 17: _t->d->_k_capacityBarFadeValueChanged(); break;
        case 18: _t->d->_k_triggerDevicePolling(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractItemModel* >(); break;
            }
            break;
        case 7:
            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 (KFilePlacesView::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFilePlacesView::urlChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KFilePlacesView::*_t)(const QUrl & , QDropEvent * , QWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFilePlacesView::urlsDropped)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KFilePlacesView::staticMetaObject = {
    { &QListView::staticMetaObject, qt_meta_stringdata_KFilePlacesView.data,
      qt_meta_data_KFilePlacesView,  qt_static_metacall, nullptr, nullptr}
};


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

void *KFilePlacesView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KFilePlacesView.stringdata0))
        return static_cast<void*>(const_cast< KFilePlacesView*>(this));
    return QListView::qt_metacast(_clname);
}

int KFilePlacesView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QListView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void KFilePlacesView::urlChanged(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KFilePlacesView::urlsDropped(const QUrl & _t1, QDropEvent * _t2, QWidget * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
