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

#include <memory>
#include "../src/weatherworker.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'weatherworker.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. 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_WeatherWorker_t {
    QByteArrayData data[27];
    char stringdata0[377];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WeatherWorker_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WeatherWorker_t qt_meta_stringdata_WeatherWorker = {
    {
QT_MOC_LITERAL(0, 0, 13), // "WeatherWorker"
QT_MOC_LITERAL(1, 14, 20), // "observeDataRefreshed"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 14), // "ObserveWeather"
QT_MOC_LITERAL(4, 51, 4), // "data"
QT_MOC_LITERAL(5, 56, 21), // "forecastDataRefreshed"
QT_MOC_LITERAL(6, 78, 22), // "QList<ForecastWeather>"
QT_MOC_LITERAL(7, 101, 5), // "datas"
QT_MOC_LITERAL(8, 107, 9), // "LifeStyle"
QT_MOC_LITERAL(9, 117, 19), // "nofityNetworkStatus"
QT_MOC_LITERAL(10, 137, 6), // "status"
QT_MOC_LITERAL(11, 144, 15), // "responseFailure"
QT_MOC_LITERAL(12, 160, 4), // "code"
QT_MOC_LITERAL(13, 165, 25), // "requestDiplayServerNotify"
QT_MOC_LITERAL(14, 191, 10), // "notifyInfo"
QT_MOC_LITERAL(15, 202, 23), // "requestAutoLocationData"
QT_MOC_LITERAL(16, 226, 15), // "CitySettingData"
QT_MOC_LITERAL(17, 242, 4), // "info"
QT_MOC_LITERAL(18, 247, 7), // "success"
QT_MOC_LITERAL(19, 255, 21), // "onWeatherObserveReply"
QT_MOC_LITERAL(20, 277, 22), // "onWeatherForecastReply"
QT_MOC_LITERAL(21, 300, 19), // "onPingBackPostReply"
QT_MOC_LITERAL(22, 320, 15), // "networkLookedUp"
QT_MOC_LITERAL(23, 336, 9), // "QHostInfo"
QT_MOC_LITERAL(24, 346, 4), // "host"
QT_MOC_LITERAL(25, 351, 16), // "setAutomaticCity"
QT_MOC_LITERAL(26, 368, 8) // "cityName"

    },
    "WeatherWorker\0observeDataRefreshed\0\0"
    "ObserveWeather\0data\0forecastDataRefreshed\0"
    "QList<ForecastWeather>\0datas\0LifeStyle\0"
    "nofityNetworkStatus\0status\0responseFailure\0"
    "code\0requestDiplayServerNotify\0"
    "notifyInfo\0requestAutoLocationData\0"
    "CitySettingData\0info\0success\0"
    "onWeatherObserveReply\0onWeatherForecastReply\0"
    "onPingBackPostReply\0networkLookedUp\0"
    "QHostInfo\0host\0setAutomaticCity\0"
    "cityName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WeatherWorker[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       5,    2,   72,    2, 0x06 /* Public */,
       9,    1,   77,    2, 0x06 /* Public */,
      11,    1,   80,    2, 0x06 /* Public */,
      13,    1,   83,    2, 0x06 /* Public */,
      15,    2,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    0,   91,    2, 0x0a /* Public */,
      20,    0,   92,    2, 0x0a /* Public */,
      21,    0,   93,    2, 0x0a /* Public */,
      22,    1,   94,    2, 0x0a /* Public */,
      25,    1,   97,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 8,    7,    4,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Bool,   17,   18,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void, QMetaType::QString,   26,

       0        // eod
};

void WeatherWorker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<WeatherWorker *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->observeDataRefreshed((*reinterpret_cast< const ObserveWeather(*)>(_a[1]))); break;
        case 1: _t->forecastDataRefreshed((*reinterpret_cast< const QList<ForecastWeather>(*)>(_a[1])),(*reinterpret_cast< LifeStyle(*)>(_a[2]))); break;
        case 2: _t->nofityNetworkStatus((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->responseFailure((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->requestDiplayServerNotify((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->requestAutoLocationData((*reinterpret_cast< const CitySettingData(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->onWeatherObserveReply(); break;
        case 7: _t->onWeatherForecastReply(); break;
        case 8: _t->onPingBackPostReply(); break;
        case 9: _t->networkLookedUp((*reinterpret_cast< const QHostInfo(*)>(_a[1]))); break;
        case 10: _t->setAutomaticCity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ObserveWeather >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LifeStyle >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<ForecastWeather> >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< CitySettingData >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QHostInfo >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (WeatherWorker::*)(const ObserveWeather & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WeatherWorker::observeDataRefreshed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (WeatherWorker::*)(const QList<ForecastWeather> & , LifeStyle );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WeatherWorker::forecastDataRefreshed)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (WeatherWorker::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WeatherWorker::nofityNetworkStatus)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (WeatherWorker::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WeatherWorker::responseFailure)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (WeatherWorker::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WeatherWorker::requestDiplayServerNotify)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (WeatherWorker::*)(const CitySettingData & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WeatherWorker::requestAutoLocationData)) {
                *result = 5;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject WeatherWorker::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_WeatherWorker.data,
    qt_meta_data_WeatherWorker,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int WeatherWorker::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void WeatherWorker::observeDataRefreshed(const ObserveWeather & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void WeatherWorker::forecastDataRefreshed(const QList<ForecastWeather> & _t1, LifeStyle _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void WeatherWorker::nofityNetworkStatus(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void WeatherWorker::responseFailure(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void WeatherWorker::requestDiplayServerNotify(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void WeatherWorker::requestAutoLocationData(const CitySettingData & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
