/****************************************************************************
** Meta object code from reading C++ file 'kfileplacesmodel.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/kio-5.39.0/src/filewidgets/kfileplacesmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kfileplacesmodel.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_KFilePlacesModel_t {
    QByteArrayData data[15];
    char stringdata0[207];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KFilePlacesModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KFilePlacesModel_t qt_meta_stringdata_KFilePlacesModel = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KFilePlacesModel"
QT_MOC_LITERAL(1, 17, 12), // "errorMessage"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 7), // "message"
QT_MOC_LITERAL(4, 39, 9), // "setupDone"
QT_MOC_LITERAL(5, 49, 5), // "index"
QT_MOC_LITERAL(6, 55, 7), // "success"
QT_MOC_LITERAL(7, 63, 17), // "_k_initDeviceList"
QT_MOC_LITERAL(8, 81, 14), // "_k_deviceAdded"
QT_MOC_LITERAL(9, 96, 16), // "_k_deviceRemoved"
QT_MOC_LITERAL(10, 113, 14), // "_k_itemChanged"
QT_MOC_LITERAL(11, 128, 18), // "_k_reloadBookmarks"
QT_MOC_LITERAL(12, 147, 19), // "_k_storageSetupDone"
QT_MOC_LITERAL(13, 167, 16), // "Solid::ErrorType"
QT_MOC_LITERAL(14, 184, 22) // "_k_storageTeardownDone"

    },
    "KFilePlacesModel\0errorMessage\0\0message\0"
    "setupDone\0index\0success\0_k_initDeviceList\0"
    "_k_deviceAdded\0_k_deviceRemoved\0"
    "_k_itemChanged\0_k_reloadBookmarks\0"
    "_k_storageSetupDone\0Solid::ErrorType\0"
    "_k_storageTeardownDone"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KFilePlacesModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    2,   62,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   67,    2, 0x08 /* Private */,
       8,    1,   68,    2, 0x08 /* Private */,
       9,    1,   71,    2, 0x08 /* Private */,
      10,    1,   74,    2, 0x08 /* Private */,
      11,    0,   77,    2, 0x08 /* Private */,
      12,    2,   78,    2, 0x08 /* Private */,
      14,    2,   83,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Bool,    5,    6,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QVariant,    2,    2,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QVariant,    2,    2,

       0        // eod
};

void KFilePlacesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KFilePlacesModel *_t = static_cast<KFilePlacesModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->errorMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->setupDone((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->d->_k_initDeviceList(); break;
        case 3: _t->d->_k_deviceAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->d->_k_deviceRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->d->_k_itemChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->d->_k_reloadBookmarks(); break;
        case 7: _t->d->_k_storageSetupDone((*reinterpret_cast< Solid::ErrorType(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 8: _t->d->_k_storageTeardownDone((*reinterpret_cast< Solid::ErrorType(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KFilePlacesModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFilePlacesModel::errorMessage)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KFilePlacesModel::*_t)(const QModelIndex & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFilePlacesModel::setupDone)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KFilePlacesModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_KFilePlacesModel.data,
      qt_meta_data_KFilePlacesModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KFilePlacesModel::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

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

// SIGNAL 1
void KFilePlacesModel::setupDone(const QModelIndex & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
