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

#include "../../rgb.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'rgb.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.8.0. 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_RGB_t {
    QByteArrayData data[25];
    char stringdata0[477];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_RGB_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_RGB_t qt_meta_stringdata_RGB = {
    {
QT_MOC_LITERAL(0, 0, 3), // "RGB"
QT_MOC_LITERAL(1, 4, 25), // "on_btn_OpenSerial_clicked"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 20), // "serialPort_readyRead"
QT_MOC_LITERAL(4, 52, 19), // "on_btn_exit_clicked"
QT_MOC_LITERAL(5, 72, 23), // "on_btn_selColor_clicked"
QT_MOC_LITERAL(6, 96, 22), // "on_sb_Red_valueChanged"
QT_MOC_LITERAL(7, 119, 4), // "arg1"
QT_MOC_LITERAL(8, 124, 24), // "on_sb_Green_valueChanged"
QT_MOC_LITERAL(9, 149, 23), // "on_sb_Blue_valueChanged"
QT_MOC_LITERAL(10, 173, 22), // "on_hs_Red_valueChanged"
QT_MOC_LITERAL(11, 196, 5), // "value"
QT_MOC_LITERAL(12, 202, 24), // "on_hs_Green_valueChanged"
QT_MOC_LITERAL(13, 227, 23), // "on_hs_Blue_valueChanged"
QT_MOC_LITERAL(14, 251, 24), // "on_hs_Red_sliderReleased"
QT_MOC_LITERAL(15, 276, 26), // "on_hs_Green_sliderReleased"
QT_MOC_LITERAL(16, 303, 25), // "on_hs_Blue_sliderReleased"
QT_MOC_LITERAL(17, 329, 20), // "UART_Send_RGB_String"
QT_MOC_LITERAL(18, 350, 19), // "on_btn_shut_clicked"
QT_MOC_LITERAL(19, 370, 20), // "on_btn_about_clicked"
QT_MOC_LITERAL(20, 391, 24), // "on_btn_chkUpdate_clicked"
QT_MOC_LITERAL(21, 416, 13), // "replyFinished"
QT_MOC_LITERAL(22, 430, 14), // "QNetworkReply*"
QT_MOC_LITERAL(23, 445, 5), // "reply"
QT_MOC_LITERAL(24, 451, 25) // "on_btn_ScanSerial_clicked"

    },
    "RGB\0on_btn_OpenSerial_clicked\0\0"
    "serialPort_readyRead\0on_btn_exit_clicked\0"
    "on_btn_selColor_clicked\0on_sb_Red_valueChanged\0"
    "arg1\0on_sb_Green_valueChanged\0"
    "on_sb_Blue_valueChanged\0on_hs_Red_valueChanged\0"
    "value\0on_hs_Green_valueChanged\0"
    "on_hs_Blue_valueChanged\0"
    "on_hs_Red_sliderReleased\0"
    "on_hs_Green_sliderReleased\0"
    "on_hs_Blue_sliderReleased\0"
    "UART_Send_RGB_String\0on_btn_shut_clicked\0"
    "on_btn_about_clicked\0on_btn_chkUpdate_clicked\0"
    "replyFinished\0QNetworkReply*\0reply\0"
    "on_btn_ScanSerial_clicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_RGB[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x08 /* Private */,
       3,    0,  110,    2, 0x08 /* Private */,
       4,    0,  111,    2, 0x08 /* Private */,
       5,    0,  112,    2, 0x08 /* Private */,
       6,    1,  113,    2, 0x08 /* Private */,
       8,    1,  116,    2, 0x08 /* Private */,
       9,    1,  119,    2, 0x08 /* Private */,
      10,    1,  122,    2, 0x08 /* Private */,
      12,    1,  125,    2, 0x08 /* Private */,
      13,    1,  128,    2, 0x08 /* Private */,
      14,    0,  131,    2, 0x08 /* Private */,
      15,    0,  132,    2, 0x08 /* Private */,
      16,    0,  133,    2, 0x08 /* Private */,
      17,    0,  134,    2, 0x08 /* Private */,
      18,    0,  135,    2, 0x08 /* Private */,
      19,    0,  136,    2, 0x08 /* Private */,
      20,    0,  137,    2, 0x08 /* Private */,
      21,    1,  138,    2, 0x08 /* Private */,
      24,    0,  141,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void,

       0        // eod
};

void RGB::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RGB *_t = static_cast<RGB *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->on_btn_OpenSerial_clicked(); break;
        case 1: _t->serialPort_readyRead(); break;
        case 2: _t->on_btn_exit_clicked(); break;
        case 3: _t->on_btn_selColor_clicked(); break;
        case 4: _t->on_sb_Red_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->on_sb_Green_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->on_sb_Blue_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->on_hs_Red_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->on_hs_Green_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->on_hs_Blue_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->on_hs_Red_sliderReleased(); break;
        case 11: _t->on_hs_Green_sliderReleased(); break;
        case 12: _t->on_hs_Blue_sliderReleased(); break;
        case 13: _t->UART_Send_RGB_String(); break;
        case 14: _t->on_btn_shut_clicked(); break;
        case 15: _t->on_btn_about_clicked(); break;
        case 16: _t->on_btn_chkUpdate_clicked(); break;
        case 17: _t->replyFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 18: _t->on_btn_ScanSerial_clicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break;
            }
            break;
        }
    }
}

const QMetaObject RGB::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_RGB.data,
      qt_meta_data_RGB,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *RGB::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_RGB.stringdata0))
        return static_cast<void*>(const_cast< RGB*>(this));
    return QDialog::qt_metacast(_clname);
}

int RGB::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
