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

#include "../../../../src/qtbase-opensource-src-5.5.1/src/widgets/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.5.1. 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
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:
       7,       // 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) {
        QToolBar *_t = static_cast<QToolBar *>(_o);
        Q_UNUSED(_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::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QToolBar::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::actionTriggered)) {
                *result = 0;
            }
        }
        {
            typedef void (QToolBar::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::movableChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QToolBar::*_t)(Qt::ToolBarAreas );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::allowedAreasChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QToolBar::*_t)(Qt::Orientation );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::orientationChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QToolBar::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::iconSizeChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QToolBar::*_t)(Qt::ToolButtonStyle );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::toolButtonStyleChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QToolBar::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::topLevelChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (QToolBar::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QToolBar::visibilityChanged)) {
                *result = 7;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QToolBar *_t = static_cast<QToolBar *>(_o);
        Q_UNUSED(_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) {
        QToolBar *_t = static_cast<QToolBar *>(_o);
        Q_UNUSED(_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
}

const QMetaObject QToolBar::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QToolBar.data,
      qt_meta_data_QToolBar,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QToolBar.stringdata0))
        return static_cast<void*>(const_cast< QToolBar*>(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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _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) {
        bool *_b = reinterpret_cast<bool*>(_a[0]);
        switch (_id) {
        case 0: *_b = (qobject_cast<QMainWindow*>(parentWidget())!=0); break;
        case 1: *_b = (qobject_cast<QMainWindow*>(parentWidget())!=0); break;
        case 2: *_b = (qobject_cast<QMainWindow*>(parentWidget())==0); break;
        default: break;
        }
        _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[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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

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

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

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

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