/****************************************************************************
** Meta object code from reading C++ file 'skgadvice.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/skrooge-2.10.5/skgbasemodeler/skgadvice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'skgadvice.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_SKGAdvice_t {
    QByteArrayData data[22];
    char stringdata0[275];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SKGAdvice_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SKGAdvice_t qt_meta_stringdata_SKGAdvice = {
    {
QT_MOC_LITERAL(0, 0, 9), // "SKGAdvice"
QT_MOC_LITERAL(1, 10, 7), // "setUUID"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 5), // "iUUID"
QT_MOC_LITERAL(4, 25, 7), // "getUUID"
QT_MOC_LITERAL(5, 33, 11), // "setPriority"
QT_MOC_LITERAL(6, 45, 9), // "iPriority"
QT_MOC_LITERAL(7, 55, 11), // "getPriority"
QT_MOC_LITERAL(8, 67, 15), // "setShortMessage"
QT_MOC_LITERAL(9, 83, 8), // "iMessage"
QT_MOC_LITERAL(10, 92, 15), // "getShortMessage"
QT_MOC_LITERAL(11, 108, 14), // "setLongMessage"
QT_MOC_LITERAL(12, 123, 14), // "getLongMessage"
QT_MOC_LITERAL(13, 138, 18), // "setAutoCorrections"
QT_MOC_LITERAL(14, 157, 12), // "iCorrections"
QT_MOC_LITERAL(15, 170, 30), // "SKGAdvice::SKGAdviceActionList"
QT_MOC_LITERAL(16, 201, 18), // "getAutoCorrections"
QT_MOC_LITERAL(17, 220, 8), // "priority"
QT_MOC_LITERAL(18, 229, 4), // "uuid"
QT_MOC_LITERAL(19, 234, 12), // "shortMessage"
QT_MOC_LITERAL(20, 247, 11), // "longMessage"
QT_MOC_LITERAL(21, 259, 15) // "autoCorrections"

    },
    "SKGAdvice\0setUUID\0\0iUUID\0getUUID\0"
    "setPriority\0iPriority\0getPriority\0"
    "setShortMessage\0iMessage\0getShortMessage\0"
    "setLongMessage\0getLongMessage\0"
    "setAutoCorrections\0iCorrections\0"
    "SKGAdvice::SKGAdviceActionList\0"
    "getAutoCorrections\0priority\0uuid\0"
    "shortMessage\0longMessage\0autoCorrections"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SKGAdvice[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x0a /* Public */,
       4,    0,   72,    2, 0x0a /* Public */,
       5,    1,   73,    2, 0x0a /* Public */,
       7,    0,   76,    2, 0x0a /* Public */,
       8,    1,   77,    2, 0x0a /* Public */,
      10,    0,   80,    2, 0x0a /* Public */,
      11,    1,   81,    2, 0x0a /* Public */,
      12,    0,   84,    2, 0x0a /* Public */,
      13,    1,   85,    2, 0x0a /* Public */,
      13,    1,   88,    2, 0x0a /* Public */,
      16,    0,   91,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::QString,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Int,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QStringList,   14,
    QMetaType::Void, 0x80000000 | 15,   14,
    0x80000000 | 15,

 // properties: name, type, flags
      17, QMetaType::Int, 0x00095103,
      18, QMetaType::QString, 0x00095003,
      19, QMetaType::QString, 0x00095103,
      20, QMetaType::QString, 0x00095103,
      21, 0x80000000 | 15, 0x0009510b,

       0        // eod
};

void SKGAdvice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SKGAdvice *_t = static_cast<SKGAdvice *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setUUID((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: { QString _r = _t->getUUID();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->setPriority((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: { int _r = _t->getPriority();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->setShortMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: { QString _r = _t->getShortMessage();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->setLongMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: { QString _r = _t->getLongMessage();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setAutoCorrections((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 9: _t->setAutoCorrections((*reinterpret_cast< const SKGAdvice::SKGAdviceActionList(*)>(_a[1]))); break;
        case 10: { SKGAdvice::SKGAdviceActionList _r = _t->getAutoCorrections();
            if (_a[0]) *reinterpret_cast< SKGAdvice::SKGAdviceActionList*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SKGAdvice *_t = static_cast<SKGAdvice *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->getPriority(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->getUUID(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->getShortMessage(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->getLongMessage(); break;
        case 4: *reinterpret_cast< SKGAdvice::SKGAdviceActionList*>(_v) = _t->getAutoCorrections(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SKGAdvice *_t = static_cast<SKGAdvice *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPriority(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setUUID(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setShortMessage(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setLongMessage(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setAutoCorrections(*reinterpret_cast< SKGAdvice::SKGAdviceActionList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject SKGAdvice::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_SKGAdvice.data,
      qt_meta_data_SKGAdvice,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SKGAdvice::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
