/****************************************************************************
** Meta object code from reading C++ file 'backgroundlistmodel.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-workspace-5.8.8/wallpapers/image/backgroundlistmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'backgroundlistmodel.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_ImageSizeFinder_t {
    QByteArrayData data[5];
    char stringdata0[37];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ImageSizeFinder_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ImageSizeFinder_t qt_meta_stringdata_ImageSizeFinder = {
    {
QT_MOC_LITERAL(0, 0, 15), // "ImageSizeFinder"
QT_MOC_LITERAL(1, 16, 9), // "sizeFound"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 4), // "path"
QT_MOC_LITERAL(4, 32, 4) // "size"

    },
    "ImageSizeFinder\0sizeFound\0\0path\0size"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ImageSizeFinder[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QSize,    3,    4,

       0        // eod
};

void ImageSizeFinder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ImageSizeFinder *_t = static_cast<ImageSizeFinder *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sizeFound((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_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 (ImageSizeFinder::*_t)(const QString & , const QSize & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ImageSizeFinder::sizeFound)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject ImageSizeFinder::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ImageSizeFinder.data,
      qt_meta_data_ImageSizeFinder,  qt_static_metacall, nullptr, nullptr}
};


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

void *ImageSizeFinder::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ImageSizeFinder.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QRunnable"))
        return static_cast< QRunnable*>(this);
    return QObject::qt_metacast(_clname);
}

int ImageSizeFinder::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void ImageSizeFinder::sizeFound(const QString & _t1, const QSize & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_BackgroundListModel_t {
    QByteArrayData data[21];
    char stringdata0[217];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BackgroundListModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BackgroundListModel_t qt_meta_stringdata_BackgroundListModel = {
    {
QT_MOC_LITERAL(0, 0, 19), // "BackgroundListModel"
QT_MOC_LITERAL(1, 20, 12), // "countChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 16), // "removeBackground"
QT_MOC_LITERAL(4, 51, 4), // "path"
QT_MOC_LITERAL(5, 56, 11), // "showPreview"
QT_MOC_LITERAL(6, 68, 9), // "KFileItem"
QT_MOC_LITERAL(7, 78, 4), // "item"
QT_MOC_LITERAL(8, 83, 7), // "preview"
QT_MOC_LITERAL(9, 91, 13), // "previewFailed"
QT_MOC_LITERAL(10, 105, 9), // "sizeFound"
QT_MOC_LITERAL(11, 115, 1), // "s"
QT_MOC_LITERAL(12, 117, 16), // "backgroundsFound"
QT_MOC_LITERAL(13, 134, 5), // "paths"
QT_MOC_LITERAL(14, 140, 5), // "token"
QT_MOC_LITERAL(15, 146, 12), // "processPaths"
QT_MOC_LITERAL(16, 159, 7), // "indexOf"
QT_MOC_LITERAL(17, 167, 18), // "setPendingDeletion"
QT_MOC_LITERAL(18, 186, 8), // "rowIndex"
QT_MOC_LITERAL(19, 195, 15), // "pendingDeletion"
QT_MOC_LITERAL(20, 211, 5) // "count"

    },
    "BackgroundListModel\0countChanged\0\0"
    "removeBackground\0path\0showPreview\0"
    "KFileItem\0item\0preview\0previewFailed\0"
    "sizeFound\0s\0backgroundsFound\0paths\0"
    "token\0processPaths\0indexOf\0"
    "setPendingDeletion\0rowIndex\0pendingDeletion\0"
    "count"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BackgroundListModel[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    1,   60,    2, 0x09 /* Protected */,
       5,    2,   63,    2, 0x09 /* Protected */,
       9,    1,   68,    2, 0x09 /* Protected */,
      10,    2,   71,    2, 0x09 /* Protected */,
      12,    2,   76,    2, 0x09 /* Protected */,
      15,    1,   81,    2, 0x09 /* Protected */,

 // methods: name, argc, parameters, tag, flags
      16,    1,   84,    2, 0x02 /* Public */,
      17,    2,   87,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::QPixmap,    7,    8,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QSize,    4,   11,
    QMetaType::Void, QMetaType::QStringList, QMetaType::QString,   13,   14,
    QMetaType::Void, QMetaType::QStringList,   13,

 // methods: parameters
    QMetaType::Int, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   18,   19,

 // properties: name, type, flags
      20, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,

       0        // eod
};

void BackgroundListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BackgroundListModel *_t = static_cast<BackgroundListModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->removeBackground((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->showPreview((*reinterpret_cast< const KFileItem(*)>(_a[1])),(*reinterpret_cast< const QPixmap(*)>(_a[2]))); break;
        case 3: _t->previewFailed((*reinterpret_cast< const KFileItem(*)>(_a[1]))); break;
        case 4: _t->sizeFound((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2]))); break;
        case 5: _t->backgroundsFound((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->processPaths((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 7: { int _r = _t->indexOf((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setPendingDeletion((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KFileItem >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KFileItem >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (BackgroundListModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BackgroundListModel::countChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        BackgroundListModel *_t = static_cast<BackgroundListModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->count(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject BackgroundListModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_BackgroundListModel.data,
      qt_meta_data_BackgroundListModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int BackgroundListModel::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
#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 -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void BackgroundListModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_BackgroundFinder_t {
    QByteArrayData data[5];
    char stringdata0[47];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BackgroundFinder_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BackgroundFinder_t qt_meta_stringdata_BackgroundFinder = {
    {
QT_MOC_LITERAL(0, 0, 16), // "BackgroundFinder"
QT_MOC_LITERAL(1, 17, 16), // "backgroundsFound"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 5), // "paths"
QT_MOC_LITERAL(4, 41, 5) // "token"

    },
    "BackgroundFinder\0backgroundsFound\0\0"
    "paths\0token"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BackgroundFinder[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QStringList, QMetaType::QString,    3,    4,

       0        // eod
};

void BackgroundFinder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BackgroundFinder *_t = static_cast<BackgroundFinder *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->backgroundsFound((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_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 (BackgroundFinder::*_t)(const QStringList & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BackgroundFinder::backgroundsFound)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject BackgroundFinder::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_BackgroundFinder.data,
      qt_meta_data_BackgroundFinder,  qt_static_metacall, nullptr, nullptr}
};


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

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

int BackgroundFinder::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void BackgroundFinder::backgroundsFound(const QStringList & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
