/****************************************************************************
** Meta object code from reading C++ file 'kfileplacesmodel.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/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.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_KFilePlacesModel_t {
    QByteArrayData data[19];
    char stringdata0[267];
};
#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, 18), // "groupHiddenChanged"
QT_MOC_LITERAL(8, 82, 27), // "KFilePlacesModel::GroupType"
QT_MOC_LITERAL(9, 110, 5), // "group"
QT_MOC_LITERAL(10, 116, 6), // "hidden"
QT_MOC_LITERAL(11, 123, 17), // "_k_initDeviceList"
QT_MOC_LITERAL(12, 141, 14), // "_k_deviceAdded"
QT_MOC_LITERAL(13, 156, 16), // "_k_deviceRemoved"
QT_MOC_LITERAL(14, 173, 14), // "_k_itemChanged"
QT_MOC_LITERAL(15, 188, 18), // "_k_reloadBookmarks"
QT_MOC_LITERAL(16, 207, 19), // "_k_storageSetupDone"
QT_MOC_LITERAL(17, 227, 16), // "Solid::ErrorType"
QT_MOC_LITERAL(18, 244, 22) // "_k_storageTeardownDone"

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

static const uint qt_meta_data_KFilePlacesModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       4,    2,   67,    2, 0x06 /* Public */,
       7,    2,   72,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,   77,    2, 0x08 /* Private */,
      12,    1,   78,    2, 0x08 /* Private */,
      13,    1,   81,    2, 0x08 /* Private */,
      14,    1,   84,    2, 0x08 /* Private */,
      15,    0,   87,    2, 0x08 /* Private */,
      16,    2,   88,    2, 0x08 /* Private */,
      18,    2,   93,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Bool,    5,    6,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Bool,    9,   10,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17, QMetaType::QVariant,    2,    2,
    QMetaType::Void, 0x80000000 | 17, 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->groupHiddenChanged((*reinterpret_cast< KFilePlacesModel::GroupType(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->d->_k_initDeviceList(); break;
        case 4: _t->d->_k_deviceAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->d->_k_deviceRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->d->_k_itemChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->d->_k_reloadBookmarks(); break;
        case 8: _t->d->_k_storageSetupDone((*reinterpret_cast< Solid::ErrorType(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 9: _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;
            }
        }
        {
            typedef void (KFilePlacesModel::*_t)(KFilePlacesModel::GroupType , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFilePlacesModel::groupHiddenChanged)) {
                *result = 2;
                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*>(const_cast< KFilePlacesModel*>(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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    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);
}

// SIGNAL 2
void KFilePlacesModel::groupHiddenChanged(KFilePlacesModel::GroupType _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, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
