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

#include <memory>
#include "../ui/additional/additionalwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'additionalwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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_HeadButton_t {
    QByteArrayData data[4];
    char stringdata0[36];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_HeadButton_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_HeadButton_t qt_meta_stringdata_HeadButton = {
    {
QT_MOC_LITERAL(0, 0, 10), // "HeadButton"
QT_MOC_LITERAL(1, 11, 11), // "signalEnter"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 11) // "signalLeave"

    },
    "HeadButton\0signalEnter\0\0signalLeave"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_HeadButton[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x06 /* Public */,
       3,    0,   25,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void HeadButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<HeadButton *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalEnter(); break;
        case 1: _t->signalLeave(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (HeadButton::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadButton::signalEnter)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (HeadButton::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadButton::signalLeave)) {
                *result = 1;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

QT_INIT_METAOBJECT const QMetaObject HeadButton::staticMetaObject = { {
    QMetaObject::SuperData::link<QPushButton::staticMetaObject>(),
    qt_meta_stringdata_HeadButton.data,
    qt_meta_data_HeadButton,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int HeadButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QPushButton::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void HeadButton::signalEnter()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void HeadButton::signalLeave()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_AdditionalWidget_t {
    QByteArrayData data[8];
    char stringdata0[73];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AdditionalWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AdditionalWidget_t qt_meta_stringdata_AdditionalWidget = {
    {
QT_MOC_LITERAL(0, 0, 16), // "AdditionalWidget"
QT_MOC_LITERAL(1, 17, 7), // "logInfo"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 9), // "loginInfo"
QT_MOC_LITERAL(4, 36, 8), // "menuInfo"
QT_MOC_LITERAL(5, 45, 9), // "enterHead"
QT_MOC_LITERAL(6, 55, 9), // "leaveHead"
QT_MOC_LITERAL(7, 65, 7) // "refresh"

    },
    "AdditionalWidget\0logInfo\0\0loginInfo\0"
    "menuInfo\0enterHead\0leaveHead\0refresh"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AdditionalWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    0,   45,    2, 0x06 /* Public */,
       4,    0,   46,    2, 0x06 /* Public */,
       5,    0,   47,    2, 0x06 /* Public */,
       6,    0,   48,    2, 0x06 /* Public */,
       7,    0,   49,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void AdditionalWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AdditionalWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->logInfo(); break;
        case 1: _t->loginInfo(); break;
        case 2: _t->menuInfo(); break;
        case 3: _t->enterHead(); break;
        case 4: _t->leaveHead(); break;
        case 5: _t->refresh(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AdditionalWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AdditionalWidget::logInfo)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AdditionalWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AdditionalWidget::loginInfo)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (AdditionalWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AdditionalWidget::menuInfo)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (AdditionalWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AdditionalWidget::enterHead)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (AdditionalWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AdditionalWidget::leaveHead)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (AdditionalWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AdditionalWidget::refresh)) {
                *result = 5;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

QT_INIT_METAOBJECT const QMetaObject AdditionalWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_AdditionalWidget.data,
    qt_meta_data_AdditionalWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int AdditionalWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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;
    }
    return _id;
}

// SIGNAL 0
void AdditionalWidget::logInfo()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void AdditionalWidget::loginInfo()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void AdditionalWidget::menuInfo()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void AdditionalWidget::enterHead()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void AdditionalWidget::leaveHead()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void AdditionalWidget::refresh()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
