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

#include <memory>
#include "../widgets/qtoolbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtoolbar.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QToolBar_t {
    QByteArrayData data[29];
    char stringdata0[404];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QToolBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QToolBar_t qt_meta_stringdata_QToolBar = {
    {
QT_MOC_LITERAL(0, 0, 8), // "QToolBar"
QT_MOC_LITERAL(1, 9, 15), // "actionTriggered"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 8), // "QAction*"
QT_MOC_LITERAL(4, 35, 6), // "action"
QT_MOC_LITERAL(5, 42, 14), // "movableChanged"
QT_MOC_LITERAL(6, 57, 7), // "movable"
QT_MOC_LITERAL(7, 65, 19), // "allowedAreasChanged"
QT_MOC_LITERAL(8, 85, 16), // "Qt::ToolBarAreas"
QT_MOC_LITERAL(9, 102, 12), // "allowedAreas"
QT_MOC_LITERAL(10, 115, 18), // "orientationChanged"
QT_MOC_LITERAL(11, 134, 15), // "Qt::Orientation"
QT_MOC_LITERAL(12, 150, 11), // "orientation"
QT_MOC_LITERAL(13, 162, 15), // "iconSizeChanged"
QT_MOC_LITERAL(14, 178, 8), // "iconSize"
QT_MOC_LITERAL(15, 187, 22), // "toolButtonStyleChanged"
QT_MOC_LITERAL(16, 210, 19), // "Qt::ToolButtonStyle"
QT_MOC_LITERAL(17, 230, 15), // "toolButtonStyle"
QT_MOC_LITERAL(18, 246, 15), // "topLevelChanged"
QT_MOC_LITERAL(19, 262, 8), // "topLevel"
QT_MOC_LITERAL(20, 271, 17), // "visibilityChanged"
QT_MOC_LITERAL(21, 289, 7), // "visible"
QT_MOC_LITERAL(22, 297, 11), // "setIconSize"
QT_MOC_LITERAL(23, 309, 18), // "setToolButtonStyle"
QT_MOC_LITERAL(24, 328, 13), // "_q_toggleView"
QT_MOC_LITERAL(25, 342, 17), // "_q_updateIconSize"
QT_MOC_LITERAL(26, 360, 24), // "_q_updateToolButtonStyle"
QT_MOC_LITERAL(27, 385, 8), // "floating"
QT_MOC_LITERAL(28, 394, 9) // "floatable"

    },
    "QToolBar\0actionTriggered\0\0QAction*\0"
    "action\0movableChanged\0movable\0"
    "allowedAreasChanged\0Qt::ToolBarAreas\0"
    "allowedAreas\0orientationChanged\0"
    "Qt::Orientation\0orientation\0iconSizeChanged\0"
    "iconSize\0toolButtonStyleChanged\0"
    "Qt::ToolButtonStyle\0toolButtonStyle\0"
    "topLevelChanged\0topLevel\0visibilityChanged\0"
    "visible\0setIconSize\0setToolButtonStyle\0"
    "_q_toggleView\0_q_updateIconSize\0"
    "_q_updateToolButtonStyle\0floating\0"
    "floatable"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QToolBar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       5,    1,   82,    2, 0x06 /* Public */,
       7,    1,   85,    2, 0x06 /* Public */,
      10,    1,   88,    2, 0x06 /* Public */,
      13,    1,   91,    2, 0x06 /* Public */,
      15,    1,   94,    2, 0x06 /* Public */,
      18,    1,   97,    2, 0x06 /* Public */,
      20,    1,  100,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      22,    1,  103,    2, 0x0a /* Public */,
      23,    1,  106,    2, 0x0a /* Public */,
      24,    1,  109,    2, 0x08 /* Private */,
      25,    1,  112,    2, 0x08 /* Private */,
      26,    1,  115,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QSize,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   21,

 // slots: parameters
    QMetaType::Void, QMetaType::QSize,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QSize,    2,
    QMetaType::Void, 0x80000000 | 16,    2,

 // properties: name, type, flags
       6, QMetaType::Bool, 0x00495103,
       9, 0x80000000 | 8, 0x0049510b,
      12, 0x80000000 | 11, 0x0049510b,
      14, QMetaType::QSize, 0x00495103,
      17, 0x80000000 | 16, 0x0049510b,
      27, QMetaType::Bool, 0x00095001,
      28, QMetaType::Bool, 0x00095103,

 // properties: notify_signal_id
       1,
       2,
       3,
       4,
       5,
       0,
       0,

       0        // eod
};

void QToolBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QToolBar *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->actionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 1: _t->movableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->allowedAreasChanged((*reinterpret_cast< Qt::ToolBarAreas(*)>(_a[1]))); break;
        case 3: _t->orientationChanged((*reinterpret_cast< Qt::Orientation(*)>(_a[1]))); break;
        case 4: _t->iconSizeChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 5: _t->toolButtonStyleChanged((*reinterpret_cast< Qt::ToolButtonStyle(*)>(_a[1]))); break;
        case 6: _t->topLevelChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->visibilityChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setIconSize((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 9: _t->setToolButtonStyle((*reinterpret_cast< Qt::ToolButtonStyle(*)>(_a[1]))); break;
        case 10: _t->d_func()->_q_toggleView((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->d_func()->_q_updateIconSize((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 12: _t->d_func()->_q_updateToolButtonStyle((*reinterpret_cast< Qt::ToolButtonStyle(*)>(_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< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QToolBar::*)(QAction * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::actionTriggered)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QToolBar::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::movableChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QToolBar::*)(Qt::ToolBarAreas );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::allowedAreasChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QToolBar::*)(Qt::Orientation );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::orientationChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QToolBar::*)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::iconSizeChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QToolBar::*)(Qt::ToolButtonStyle );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::toolButtonStyleChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QToolBar::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::topLevelChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QToolBar::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QToolBar::visibilityChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QToolBar *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isMovable(); break;
        case 1: *reinterpret_cast< Qt::ToolBarAreas*>(_v) = _t->allowedAreas(); break;
        case 2: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
        case 3: *reinterpret_cast< QSize*>(_v) = _t->iconSize(); break;
        case 4: *reinterpret_cast< Qt::ToolButtonStyle*>(_v) = _t->toolButtonStyle(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isFloating(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isFloatable(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QToolBar *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMovable(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setAllowedAreas(*reinterpret_cast< Qt::ToolBarAreas*>(_v)); break;
        case 2: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
        case 3: _t->setIconSize(*reinterpret_cast< QSize*>(_v)); break;
        case 4: _t->setToolButtonStyle(*reinterpret_cast< Qt::ToolButtonStyle*>(_v)); break;
        case 6: _t->setFloatable(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QToolBar::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QToolBar.data,
    qt_meta_data_QToolBar,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QToolBar::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QToolBar::movableChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

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

// SIGNAL 5
void QToolBar::toolButtonStyleChanged(Qt::ToolButtonStyle _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QToolBar::topLevelChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

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