/****************************************************************************
** Meta object code from reading C++ file 'speeddial.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/lib/plugins/speeddial.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'speeddial.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_SpeedDial_t {
    QByteArrayData data[23];
    char stringdata0[263];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SpeedDial_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SpeedDial_t qt_meta_stringdata_SpeedDial = {
    {
QT_MOC_LITERAL(0, 0, 9), // "SpeedDial"
QT_MOC_LITERAL(1, 10, 12), // "pagesChanged"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 7), // "changed"
QT_MOC_LITERAL(4, 32, 8), // "allPages"
QT_MOC_LITERAL(5, 41, 13), // "loadThumbnail"
QT_MOC_LITERAL(6, 55, 3), // "url"
QT_MOC_LITERAL(7, 59, 9), // "loadTitle"
QT_MOC_LITERAL(8, 69, 17), // "removeImageForUrl"
QT_MOC_LITERAL(9, 87, 15), // "getOpenFileName"
QT_MOC_LITERAL(10, 103, 16), // "urlFromUserInput"
QT_MOC_LITERAL(11, 120, 18), // "setBackgroundImage"
QT_MOC_LITERAL(12, 139, 5), // "image"
QT_MOC_LITERAL(13, 145, 22), // "setBackgroundImageSize"
QT_MOC_LITERAL(14, 168, 4), // "size"
QT_MOC_LITERAL(15, 173, 13), // "setPagesInRow"
QT_MOC_LITERAL(16, 187, 5), // "count"
QT_MOC_LITERAL(17, 193, 9), // "setSdSize"
QT_MOC_LITERAL(18, 203, 13), // "setSdCentered"
QT_MOC_LITERAL(19, 217, 8), // "centered"
QT_MOC_LITERAL(20, 226, 16), // "thumbnailCreated"
QT_MOC_LITERAL(21, 243, 6), // "pixmap"
QT_MOC_LITERAL(22, 250, 12) // "saveSettings"

    },
    "SpeedDial\0pagesChanged\0\0changed\0"
    "allPages\0loadThumbnail\0url\0loadTitle\0"
    "removeImageForUrl\0getOpenFileName\0"
    "urlFromUserInput\0setBackgroundImage\0"
    "image\0setBackgroundImageSize\0size\0"
    "setPagesInRow\0count\0setSdSize\0"
    "setSdCentered\0centered\0thumbnailCreated\0"
    "pixmap\0saveSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SpeedDial[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    1,   85,    2, 0x0a /* Public */,
       5,    2,   88,    2, 0x0a /* Public */,
       5,    1,   93,    2, 0x2a /* Public | MethodCloned */,
       8,    1,   96,    2, 0x0a /* Public */,
       9,    0,   99,    2, 0x0a /* Public */,
      10,    1,  100,    2, 0x0a /* Public */,
      11,    1,  103,    2, 0x0a /* Public */,
      13,    1,  106,    2, 0x0a /* Public */,
      15,    1,  109,    2, 0x0a /* Public */,
      17,    1,  112,    2, 0x0a /* Public */,
      18,    1,  115,    2, 0x0a /* Public */,
      20,    1,  118,    2, 0x08 /* Private */,
      22,    0,  121,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    6,    7,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::QString,
    QMetaType::QString, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::QPixmap,   21,
    QMetaType::Void,

       0        // eod
};

void SpeedDial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SpeedDial *_t = static_cast<SpeedDial *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pagesChanged(); break;
        case 1: _t->changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->loadThumbnail((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->loadThumbnail((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->removeImageForUrl((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: { QString _r = _t->getOpenFileName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 6: { QString _r = _t->urlFromUserInput((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setBackgroundImage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->setBackgroundImageSize((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setPagesInRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setSdSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setSdCentered((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->thumbnailCreated((*reinterpret_cast< const QPixmap(*)>(_a[1]))); break;
        case 13: _t->saveSettings(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SpeedDial::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SpeedDial::pagesChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject SpeedDial::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_SpeedDial.data,
      qt_meta_data_SpeedDial,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void SpeedDial::pagesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
