/****************************************************************************
** Meta object code from reading C++ file 'elided_label.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 "../../../muse-4.2.1/src/muse/components/elided_label.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'elided_label.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_MusEGui__ElidedLabel_t {
    QByteArrayData data[14];
    char stringdata0[139];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__ElidedLabel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__ElidedLabel_t qt_meta_stringdata_MusEGui__ElidedLabel = {
    {
QT_MOC_LITERAL(0, 0, 20), // "MusEGui::ElidedLabel"
QT_MOC_LITERAL(1, 21, 7), // "pressed"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 1), // "p"
QT_MOC_LITERAL(4, 32, 2), // "id"
QT_MOC_LITERAL(5, 35, 16), // "Qt::MouseButtons"
QT_MOC_LITERAL(6, 52, 7), // "buttons"
QT_MOC_LITERAL(7, 60, 21), // "Qt::KeyboardModifiers"
QT_MOC_LITERAL(8, 82, 4), // "keys"
QT_MOC_LITERAL(9, 87, 8), // "released"
QT_MOC_LITERAL(10, 96, 13), // "returnPressed"
QT_MOC_LITERAL(11, 110, 13), // "doubleClicked"
QT_MOC_LITERAL(12, 124, 7), // "style3d"
QT_MOC_LITERAL(13, 132, 6) // "radius"

    },
    "MusEGui::ElidedLabel\0pressed\0\0p\0id\0"
    "Qt::MouseButtons\0buttons\0Qt::KeyboardModifiers\0"
    "keys\0released\0returnPressed\0doubleClicked\0"
    "style3d\0radius"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__ElidedLabel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    4,   34,    2, 0x06 /* Public */,
       9,    4,   43,    2, 0x06 /* Public */,
      10,    3,   52,    2, 0x06 /* Public */,
      11,    0,   59,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QPoint, QMetaType::Int, 0x80000000 | 5, 0x80000000 | 7,    3,    4,    6,    8,
    QMetaType::Void, QMetaType::QPoint, QMetaType::Int, 0x80000000 | 5, 0x80000000 | 7,    3,    4,    6,    8,
    QMetaType::Void, QMetaType::QPoint, QMetaType::Int, 0x80000000 | 7,    3,    4,    8,
    QMetaType::Void,

 // properties: name, type, flags
      12, QMetaType::Bool, 0x00095103,
      13, QMetaType::Int, 0x00095103,

       0        // eod
};

void MusEGui::ElidedLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ElidedLabel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->pressed((*reinterpret_cast< QPoint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Qt::MouseButtons(*)>(_a[3])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[4]))); break;
        case 1: _t->released((*reinterpret_cast< QPoint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Qt::MouseButtons(*)>(_a[3])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[4]))); break;
        case 2: _t->returnPressed((*reinterpret_cast< QPoint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[3]))); break;
        case 3: _t->doubleClicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ElidedLabel::*)(QPoint , int , Qt::MouseButtons , Qt::KeyboardModifiers );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ElidedLabel::pressed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ElidedLabel::*)(QPoint , int , Qt::MouseButtons , Qt::KeyboardModifiers );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ElidedLabel::released)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ElidedLabel::*)(QPoint , int , Qt::KeyboardModifiers );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ElidedLabel::returnPressed)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ElidedLabel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ElidedLabel::doubleClicked)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<ElidedLabel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->style3d(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->radius(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<ElidedLabel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setStyle3d(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setRadius(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::ElidedLabel::staticMetaObject = { {
    QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__ElidedLabel.data,
    qt_meta_data_MusEGui__ElidedLabel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MusEGui::ElidedLabel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MusEGui__ElidedLabel.stringdata0))
        return static_cast<void*>(this);
    return QFrame::qt_metacast(_clname);
}

int MusEGui::ElidedLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void MusEGui::ElidedLabel::pressed(QPoint _t1, int _t2, Qt::MouseButtons _t3, Qt::KeyboardModifiers _t4)
{
    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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void MusEGui::ElidedLabel::released(QPoint _t1, int _t2, Qt::MouseButtons _t3, Qt::KeyboardModifiers _t4)
{
    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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void MusEGui::ElidedLabel::returnPressed(QPoint _t1, int _t2, Qt::KeyboardModifiers _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 MusEGui::ElidedLabel::doubleClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
