/****************************************************************************
** Meta object code from reading C++ file 'skgerror.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/skgerror.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'skgerror.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_SKGError_t {
    QByteArrayData data[27];
    char stringdata0[292];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SKGError_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SKGError_t qt_meta_stringdata_SKGError = {
    {
QT_MOC_LITERAL(0, 0, 8), // "SKGError"
QT_MOC_LITERAL(1, 9, 8), // "isFailed"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 11), // "isSucceeded"
QT_MOC_LITERAL(4, 31, 9), // "isWarning"
QT_MOC_LITERAL(5, 41, 13), // "getReturnCode"
QT_MOC_LITERAL(6, 55, 13), // "setReturnCode"
QT_MOC_LITERAL(7, 69, 11), // "iReturnCode"
QT_MOC_LITERAL(8, 81, 10), // "setMessage"
QT_MOC_LITERAL(9, 92, 8), // "iMessage"
QT_MOC_LITERAL(10, 101, 10), // "getMessage"
QT_MOC_LITERAL(11, 112, 14), // "getFullMessage"
QT_MOC_LITERAL(12, 127, 28), // "getFullMessageWithHistorical"
QT_MOC_LITERAL(13, 156, 17), // "getHistoricalSize"
QT_MOC_LITERAL(14, 174, 9), // "setAction"
QT_MOC_LITERAL(15, 184, 7), // "iAction"
QT_MOC_LITERAL(16, 192, 9), // "getAction"
QT_MOC_LITERAL(17, 202, 8), // "addError"
QT_MOC_LITERAL(18, 211, 3), // "iRc"
QT_MOC_LITERAL(19, 215, 6), // "iError"
QT_MOC_LITERAL(20, 222, 16), // "getPreviousError"
QT_MOC_LITERAL(21, 239, 9), // "SKGError*"
QT_MOC_LITERAL(22, 249, 10), // "returnCode"
QT_MOC_LITERAL(23, 260, 7), // "message"
QT_MOC_LITERAL(24, 268, 6), // "action"
QT_MOC_LITERAL(25, 275, 9), // "succeeded"
QT_MOC_LITERAL(26, 285, 6) // "failed"

    },
    "SKGError\0isFailed\0\0isSucceeded\0isWarning\0"
    "getReturnCode\0setReturnCode\0iReturnCode\0"
    "setMessage\0iMessage\0getMessage\0"
    "getFullMessage\0getFullMessageWithHistorical\0"
    "getHistoricalSize\0setAction\0iAction\0"
    "getAction\0addError\0iRc\0iError\0"
    "getPreviousError\0SKGError*\0returnCode\0"
    "message\0action\0succeeded\0failed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SKGError[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x0a /* Public */,
       3,    0,   95,    2, 0x0a /* Public */,
       4,    0,   96,    2, 0x0a /* Public */,
       5,    0,   97,    2, 0x0a /* Public */,
       6,    1,   98,    2, 0x0a /* Public */,
       8,    1,  101,    2, 0x0a /* Public */,
      10,    0,  104,    2, 0x0a /* Public */,
      11,    0,  105,    2, 0x0a /* Public */,
      12,    0,  106,    2, 0x0a /* Public */,
      13,    0,  107,    2, 0x0a /* Public */,
      14,    1,  108,    2, 0x0a /* Public */,
      16,    0,  111,    2, 0x0a /* Public */,
      17,    3,  112,    2, 0x0a /* Public */,
      17,    2,  119,    2, 0x2a /* Public | MethodCloned */,
      17,    1,  124,    2, 0x0a /* Public */,
      20,    0,  127,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Int,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::QString,
    QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::QString,   18,    9,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   18,    9,
    QMetaType::Void, 0x80000000 | 0,   19,
    0x80000000 | 21,

 // properties: name, type, flags
      22, QMetaType::Int, 0x00095103,
      23, QMetaType::QString, 0x00095103,
      24, QMetaType::QString, 0x00095103,
      25, QMetaType::Bool, 0x00095001,
      26, QMetaType::Bool, 0x00095001,

       0        // eod
};

void SKGError::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SKGError *_t = static_cast<SKGError *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { bool _r = _t->isFailed();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->isSucceeded();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { bool _r = _t->isWarning();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 3: { int _r = _t->getReturnCode();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->setReturnCode((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: { QString _r = _t->getMessage();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 7: { QString _r = _t->getFullMessage();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->getFullMessageWithHistorical();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { int _r = _t->getHistoricalSize();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->setAction((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: { QString _r = _t->getAction();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->addError((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 13: _t->addError((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 14: _t->addError((*reinterpret_cast< const SKGError(*)>(_a[1]))); break;
        case 15: { SKGError* _r = _t->getPreviousError();
            if (_a[0]) *reinterpret_cast< SKGError**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SKGError *_t = static_cast<SKGError *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->getReturnCode(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->getMessage(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->getAction(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isSucceeded(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isFailed(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SKGError *_t = static_cast<SKGError *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setReturnCode(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setMessage(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setAction(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject SKGError::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_SKGError.data,
      qt_meta_data_SKGError,  qt_static_metacall, nullptr, nullptr}
};


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

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

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