/****************************************************************************
** Meta object code from reading C++ file 'skgadvice.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/skrooge-2.12.0/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.4. 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[17];
    char stringdata0[205];
};
#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, 11), // "setPriority"
QT_MOC_LITERAL(5, 37, 9), // "iPriority"
QT_MOC_LITERAL(6, 47, 15), // "setShortMessage"
QT_MOC_LITERAL(7, 63, 8), // "iMessage"
QT_MOC_LITERAL(8, 72, 14), // "setLongMessage"
QT_MOC_LITERAL(9, 87, 18), // "setAutoCorrections"
QT_MOC_LITERAL(10, 106, 12), // "iCorrections"
QT_MOC_LITERAL(11, 119, 30), // "SKGAdvice::SKGAdviceActionList"
QT_MOC_LITERAL(12, 150, 8), // "priority"
QT_MOC_LITERAL(13, 159, 4), // "uuid"
QT_MOC_LITERAL(14, 164, 12), // "shortMessage"
QT_MOC_LITERAL(15, 177, 11), // "longMessage"
QT_MOC_LITERAL(16, 189, 15) // "autoCorrections"

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

static const uint qt_meta_data_SKGAdvice[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x0a /* Public */,
       4,    1,   47,    2, 0x0a /* Public */,
       6,    1,   50,    2, 0x0a /* Public */,
       8,    1,   53,    2, 0x0a /* Public */,
       9,    1,   56,    2, 0x0a /* Public */,
       9,    1,   59,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, QMetaType::QStringList,   10,
    QMetaType::Void, 0x80000000 | 11,   10,

 // properties: name, type, flags
      12, QMetaType::Int, 0x00095103,
      13, QMetaType::QString, 0x00095003,
      14, QMetaType::QString, 0x00095103,
      15, QMetaType::QString, 0x00095103,
      16, 0x80000000 | 11, 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: _t->setPriority((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->setShortMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->setLongMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setAutoCorrections((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 5: _t->setAutoCorrections((*reinterpret_cast< const SKGAdvice::SKGAdviceActionList(*)>(_a[1]))); 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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#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
