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

#include <memory>
#include "../../sonic-visualiser-4.5/svgui/widgets/PropertyStack.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PropertyStack.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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_PropertyStack_t {
    QByteArrayData data[22];
    char stringdata0[419];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PropertyStack_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PropertyStack_t qt_meta_stringdata_PropertyStack = {
    {
QT_MOC_LITERAL(0, 0, 13), // "PropertyStack"
QT_MOC_LITERAL(1, 14, 12), // "viewSelected"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 5), // "View*"
QT_MOC_LITERAL(4, 34, 6), // "client"
QT_MOC_LITERAL(5, 41, 25), // "propertyContainerSelected"
QT_MOC_LITERAL(6, 67, 18), // "PropertyContainer*"
QT_MOC_LITERAL(7, 86, 9), // "container"
QT_MOC_LITERAL(8, 96, 37), // "propertyContainerContextMenuR..."
QT_MOC_LITERAL(9, 134, 3), // "pos"
QT_MOC_LITERAL(10, 138, 18), // "contextHelpChanged"
QT_MOC_LITERAL(11, 157, 22), // "propertyContainerAdded"
QT_MOC_LITERAL(12, 180, 24), // "propertyContainerRemoved"
QT_MOC_LITERAL(13, 205, 32), // "propertyContainerPropertyChanged"
QT_MOC_LITERAL(14, 238, 37), // "propertyContainerPropertyRang..."
QT_MOC_LITERAL(15, 276, 28), // "propertyContainerNameChanged"
QT_MOC_LITERAL(16, 305, 9), // "showLayer"
QT_MOC_LITERAL(17, 315, 18), // "mouseEnteredTabBar"
QT_MOC_LITERAL(18, 334, 15), // "mouseLeftTabBar"
QT_MOC_LITERAL(19, 350, 16), // "activeTabClicked"
QT_MOC_LITERAL(20, 367, 26), // "tabBarContextMenuRequested"
QT_MOC_LITERAL(21, 394, 24) // "selectedContainerChanged"

    },
    "PropertyStack\0viewSelected\0\0View*\0"
    "client\0propertyContainerSelected\0"
    "PropertyContainer*\0container\0"
    "propertyContainerContextMenuRequested\0"
    "pos\0contextHelpChanged\0propertyContainerAdded\0"
    "propertyContainerRemoved\0"
    "propertyContainerPropertyChanged\0"
    "propertyContainerPropertyRangeChanged\0"
    "propertyContainerNameChanged\0showLayer\0"
    "mouseEnteredTabBar\0mouseLeftTabBar\0"
    "activeTabClicked\0tabBarContextMenuRequested\0"
    "selectedContainerChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PropertyStack[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       5,    2,   92,    2, 0x06 /* Public */,
       8,    3,   97,    2, 0x06 /* Public */,
      10,    1,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  107,    2, 0x0a /* Public */,
      12,    1,  110,    2, 0x0a /* Public */,
      13,    1,  113,    2, 0x0a /* Public */,
      14,    1,  116,    2, 0x0a /* Public */,
      15,    1,  119,    2, 0x0a /* Public */,
      16,    1,  122,    2, 0x0a /* Public */,
      17,    0,  125,    2, 0x0a /* Public */,
      18,    0,  126,    2, 0x0a /* Public */,
      19,    0,  127,    2, 0x0a /* Public */,
      20,    1,  128,    2, 0x0a /* Public */,
      21,    1,  131,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 6,    4,    7,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 6, QMetaType::QPoint,    4,    7,    9,
    QMetaType::Void, QMetaType::QString,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,    2,
    QMetaType::Void, QMetaType::Int,    2,

       0        // eod
};

void PropertyStack::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PropertyStack *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->viewSelected((*reinterpret_cast< View*(*)>(_a[1]))); break;
        case 1: _t->propertyContainerSelected((*reinterpret_cast< View*(*)>(_a[1])),(*reinterpret_cast< PropertyContainer*(*)>(_a[2]))); break;
        case 2: _t->propertyContainerContextMenuRequested((*reinterpret_cast< View*(*)>(_a[1])),(*reinterpret_cast< PropertyContainer*(*)>(_a[2])),(*reinterpret_cast< QPoint(*)>(_a[3]))); break;
        case 3: _t->contextHelpChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->propertyContainerAdded((*reinterpret_cast< PropertyContainer*(*)>(_a[1]))); break;
        case 5: _t->propertyContainerRemoved((*reinterpret_cast< PropertyContainer*(*)>(_a[1]))); break;
        case 6: _t->propertyContainerPropertyChanged((*reinterpret_cast< PropertyContainer*(*)>(_a[1]))); break;
        case 7: _t->propertyContainerPropertyRangeChanged((*reinterpret_cast< PropertyContainer*(*)>(_a[1]))); break;
        case 8: _t->propertyContainerNameChanged((*reinterpret_cast< PropertyContainer*(*)>(_a[1]))); break;
        case 9: _t->showLayer((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->mouseEnteredTabBar(); break;
        case 11: _t->mouseLeftTabBar(); break;
        case 12: _t->activeTabClicked(); break;
        case 13: _t->tabBarContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 14: _t->selectedContainerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (PropertyStack::*)(View * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PropertyStack::viewSelected)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (PropertyStack::*)(View * , PropertyContainer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PropertyStack::propertyContainerSelected)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (PropertyStack::*)(View * , PropertyContainer * , QPoint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PropertyStack::propertyContainerContextMenuRequested)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (PropertyStack::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PropertyStack::contextHelpChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PropertyStack::staticMetaObject = { {
    QMetaObject::SuperData::link<QTabWidget::staticMetaObject>(),
    qt_meta_stringdata_PropertyStack.data,
    qt_meta_data_PropertyStack,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void PropertyStack::propertyContainerSelected(View * _t1, PropertyContainer * _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 PropertyStack::propertyContainerContextMenuRequested(View * _t1, PropertyContainer * _t2, QPoint _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void PropertyStack::contextHelpChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
