/****************************************************************************
** Meta object code from reading C++ file 'skgreport.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/skgreport.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'skgreport.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_SKGReport_t {
    QByteArrayData data[30];
    char stringdata0[345];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SKGReport_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SKGReport_t qt_meta_stringdata_SKGReport = {
    {
QT_MOC_LITERAL(0, 0, 9), // "SKGReport"
QT_MOC_LITERAL(1, 10, 7), // "changed"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 9), // "setPeriod"
QT_MOC_LITERAL(4, 29, 7), // "iPeriod"
QT_MOC_LITERAL(5, 37, 9), // "getPeriod"
QT_MOC_LITERAL(6, 47, 17), // "getPreviousPeriod"
QT_MOC_LITERAL(7, 65, 11), // "getPrevious"
QT_MOC_LITERAL(8, 77, 10), // "SKGReport*"
QT_MOC_LITERAL(9, 88, 12), // "setPointSize"
QT_MOC_LITERAL(10, 101, 10), // "iPointSize"
QT_MOC_LITERAL(11, 112, 12), // "getPointSize"
QT_MOC_LITERAL(12, 125, 12), // "setTipsOfDay"
QT_MOC_LITERAL(13, 138, 11), // "iTipsOfDays"
QT_MOC_LITERAL(14, 150, 11), // "getTipOfDay"
QT_MOC_LITERAL(15, 162, 12), // "getTipsOfDay"
QT_MOC_LITERAL(16, 175, 10), // "cleanCache"
QT_MOC_LITERAL(17, 186, 11), // "iEmitSignal"
QT_MOC_LITERAL(18, 198, 18), // "getContextProperty"
QT_MOC_LITERAL(19, 217, 17), // "addItemsInMapping"
QT_MOC_LITERAL(20, 235, 13), // "QVariantHash&"
QT_MOC_LITERAL(21, 249, 8), // "iMapping"
QT_MOC_LITERAL(22, 258, 6), // "period"
QT_MOC_LITERAL(23, 265, 5), // "month"
QT_MOC_LITERAL(24, 271, 8), // "previous"
QT_MOC_LITERAL(25, 280, 15), // "previous_period"
QT_MOC_LITERAL(26, 296, 14), // "previous_month"
QT_MOC_LITERAL(27, 311, 10), // "point_size"
QT_MOC_LITERAL(28, 322, 11), // "tips_of_day"
QT_MOC_LITERAL(29, 334, 10) // "tip_of_day"

    },
    "SKGReport\0changed\0\0setPeriod\0iPeriod\0"
    "getPeriod\0getPreviousPeriod\0getPrevious\0"
    "SKGReport*\0setPointSize\0iPointSize\0"
    "getPointSize\0setTipsOfDay\0iTipsOfDays\0"
    "getTipOfDay\0getTipsOfDay\0cleanCache\0"
    "iEmitSignal\0getContextProperty\0"
    "addItemsInMapping\0QVariantHash&\0"
    "iMapping\0period\0month\0previous\0"
    "previous_period\0previous_month\0"
    "point_size\0tips_of_day\0tip_of_day"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SKGReport[] = {

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

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

 // methods: name, argc, parameters, tag, flags
       3,    1,   85,    2, 0x02 /* Public */,
       5,    0,   88,    2, 0x02 /* Public */,
       6,    0,   89,    2, 0x02 /* Public */,
       7,    0,   90,    2, 0x02 /* Public */,
       9,    1,   91,    2, 0x02 /* Public */,
      11,    0,   94,    2, 0x02 /* Public */,
      12,    1,   95,    2, 0x02 /* Public */,
      14,    0,   98,    2, 0x02 /* Public */,
      15,    0,   99,    2, 0x02 /* Public */,
      16,    1,  100,    2, 0x02 /* Public */,
      16,    0,  103,    2, 0x22 /* Public | MethodCloned */,
      18,    0,  104,    2, 0x02 /* Public */,
      19,    1,  105,    2, 0x01 /* Protected */,

 // signals: parameters
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::QString,
    QMetaType::QString,
    0x80000000 | 8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Int,
    QMetaType::Void, QMetaType::QStringList,   13,
    QMetaType::QString,
    QMetaType::QStringList,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void,
    QMetaType::QVariantHash,
    QMetaType::Void, 0x80000000 | 20,   21,

 // properties: name, type, flags
      22, QMetaType::QString, 0x00495103,
      23, QMetaType::QString, 0x00495001,
      24, 0x80000000 | 8, 0x00495009,
      25, QMetaType::QString, 0x00495001,
      26, QMetaType::QString, 0x00495001,
      27, QMetaType::Double, 0x00495003,
      28, QMetaType::QStringList, 0x00495003,
      29, QMetaType::QString, 0x00495001,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

       0        // eod
};

void SKGReport::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SKGReport *_t = static_cast<SKGReport *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->setPeriod((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: { QString _r = _t->getPeriod();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: { QString _r = _t->getPreviousPeriod();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { SKGReport* _r = _t->getPrevious();
            if (_a[0]) *reinterpret_cast< SKGReport**>(_a[0]) = std::move(_r); }  break;
        case 5: _t->setPointSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: { int _r = _t->getPointSize();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setTipsOfDay((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 8: { QString _r = _t->getTipOfDay();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QStringList _r = _t->getTipsOfDay();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->cleanCache((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->cleanCache(); break;
        case 12: { QVariantHash _r = _t->getContextProperty();
            if (_a[0]) *reinterpret_cast< QVariantHash*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->addItemsInMapping((*reinterpret_cast< QVariantHash(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SKGReport::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SKGReport::changed)) {
                *result = 0;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SKGReport* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SKGReport *_t = static_cast<SKGReport *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->getPeriod(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->getPeriod(); break;
        case 2: *reinterpret_cast< SKGReport**>(_v) = _t->getPrevious(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->getPreviousPeriod(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->getPreviousPeriod(); break;
        case 5: *reinterpret_cast< double*>(_v) = _t->getPointSize(); break;
        case 6: *reinterpret_cast< QStringList*>(_v) = _t->getTipsOfDay(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->getTipOfDay(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SKGReport *_t = static_cast<SKGReport *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPeriod(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setPointSize(*reinterpret_cast< double*>(_v)); break;
        case 6: _t->setTipsOfDay(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject SKGReport::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_SKGReport.data,
      qt_meta_data_SKGReport,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SKGReport::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;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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