/****************************************************************************
** Meta object code from reading C++ file 'tlist.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/arranger/tlist.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tlist.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__TList_t {
    QByteArrayData data[48];
    char stringdata0[710];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__TList_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__TList_t qt_meta_stringdata_MusEGui__TList = {
    {
QT_MOC_LITERAL(0, 0, 14), // "MusEGui::TList"
QT_MOC_LITERAL(1, 15, 11), // "keyPressExt"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 10), // "QKeyEvent*"
QT_MOC_LITERAL(4, 39, 18), // "redirectWheelEvent"
QT_MOC_LITERAL(5, 58, 12), // "QWheelEvent*"
QT_MOC_LITERAL(6, 71, 21), // "verticalScrollSetYpos"
QT_MOC_LITERAL(7, 93, 4), // "ypos"
QT_MOC_LITERAL(8, 98, 32), // "maybeUpdateVolatileCustomColumns"
QT_MOC_LITERAL(9, 131, 13), // "returnPressed"
QT_MOC_LITERAL(10, 145, 17), // "chanValueFinished"
QT_MOC_LITERAL(11, 163, 17), // "ctrlValueFinished"
QT_MOC_LITERAL(12, 181, 19), // "instrPopupActivated"
QT_MOC_LITERAL(13, 201, 8), // "QAction*"
QT_MOC_LITERAL(14, 210, 11), // "songChanged"
QT_MOC_LITERAL(15, 222, 29), // "MusECore::SongChangedStruct_t"
QT_MOC_LITERAL(16, 252, 5), // "flags"
QT_MOC_LITERAL(17, 258, 16), // "changeAutomation"
QT_MOC_LITERAL(18, 275, 21), // "changeAutomationColor"
QT_MOC_LITERAL(19, 297, 16), // "loadTrackDrummap"
QT_MOC_LITERAL(20, 314, 20), // "MusECore::MidiTrack*"
QT_MOC_LITERAL(21, 335, 11), // "const char*"
QT_MOC_LITERAL(22, 347, 8), // "filename"
QT_MOC_LITERAL(23, 356, 23), // "loadTrackDrummapFromXML"
QT_MOC_LITERAL(24, 380, 1), // "t"
QT_MOC_LITERAL(25, 382, 14), // "MusECore::Xml&"
QT_MOC_LITERAL(26, 397, 3), // "xml"
QT_MOC_LITERAL(27, 401, 16), // "saveTrackDrummap"
QT_MOC_LITERAL(28, 418, 4), // "full"
QT_MOC_LITERAL(29, 423, 16), // "copyTrackDrummap"
QT_MOC_LITERAL(30, 440, 16), // "tracklistChanged"
QT_MOC_LITERAL(31, 457, 7), // "setYPos"
QT_MOC_LITERAL(32, 465, 6), // "redraw"
QT_MOC_LITERAL(33, 472, 11), // "selectTrack"
QT_MOC_LITERAL(34, 484, 16), // "MusECore::Track*"
QT_MOC_LITERAL(35, 501, 8), // "deselect"
QT_MOC_LITERAL(36, 510, 16), // "selectTrackAbove"
QT_MOC_LITERAL(37, 527, 16), // "selectTrackBelow"
QT_MOC_LITERAL(38, 544, 17), // "editTrackNameSlot"
QT_MOC_LITERAL(39, 562, 22), // "muteSelectedTracksSlot"
QT_MOC_LITERAL(40, 585, 22), // "soloSelectedTracksSlot"
QT_MOC_LITERAL(41, 608, 24), // "volumeSelectedTracksSlot"
QT_MOC_LITERAL(42, 633, 21), // "panSelectedTracksSlot"
QT_MOC_LITERAL(43, 655, 9), // "setHeader"
QT_MOC_LITERAL(44, 665, 7), // "Header*"
QT_MOC_LITERAL(45, 673, 5), // "sel3d"
QT_MOC_LITERAL(46, 679, 12), // "curSelBorder"
QT_MOC_LITERAL(47, 692, 17) // "curSelBorderColor"

    },
    "MusEGui::TList\0keyPressExt\0\0QKeyEvent*\0"
    "redirectWheelEvent\0QWheelEvent*\0"
    "verticalScrollSetYpos\0ypos\0"
    "maybeUpdateVolatileCustomColumns\0"
    "returnPressed\0chanValueFinished\0"
    "ctrlValueFinished\0instrPopupActivated\0"
    "QAction*\0songChanged\0MusECore::SongChangedStruct_t\0"
    "flags\0changeAutomation\0changeAutomationColor\0"
    "loadTrackDrummap\0MusECore::MidiTrack*\0"
    "const char*\0filename\0loadTrackDrummapFromXML\0"
    "t\0MusECore::Xml&\0xml\0saveTrackDrummap\0"
    "full\0copyTrackDrummap\0tracklistChanged\0"
    "setYPos\0redraw\0selectTrack\0MusECore::Track*\0"
    "deselect\0selectTrackAbove\0selectTrackBelow\0"
    "editTrackNameSlot\0muteSelectedTracksSlot\0"
    "soloSelectedTracksSlot\0volumeSelectedTracksSlot\0"
    "panSelectedTracksSlot\0setHeader\0Header*\0"
    "sel3d\0curSelBorder\0curSelBorderColor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__TList[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  164,    2, 0x06 /* Public */,
       4,    1,  167,    2, 0x06 /* Public */,
       6,    1,  170,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  173,    2, 0x08 /* Private */,
       9,    0,  174,    2, 0x08 /* Private */,
      10,    0,  175,    2, 0x08 /* Private */,
      11,    0,  176,    2, 0x08 /* Private */,
      12,    1,  177,    2, 0x08 /* Private */,
      14,    1,  180,    2, 0x08 /* Private */,
      17,    1,  183,    2, 0x08 /* Private */,
      18,    1,  186,    2, 0x08 /* Private */,
      19,    2,  189,    2, 0x08 /* Private */,
      19,    1,  194,    2, 0x28 /* Private | MethodCloned */,
      23,    2,  197,    2, 0x08 /* Private */,
      27,    3,  202,    2, 0x08 /* Private */,
      27,    2,  209,    2, 0x28 /* Private | MethodCloned */,
      29,    2,  214,    2, 0x08 /* Private */,
      30,    0,  219,    2, 0x0a /* Public */,
      31,    1,  220,    2, 0x0a /* Public */,
      32,    0,  223,    2, 0x0a /* Public */,
      33,    2,  224,    2, 0x0a /* Public */,
      33,    1,  229,    2, 0x2a /* Public | MethodCloned */,
      36,    0,  232,    2, 0x0a /* Public */,
      37,    0,  233,    2, 0x0a /* Public */,
      38,    0,  234,    2, 0x0a /* Public */,
      39,    0,  235,    2, 0x0a /* Public */,
      40,    0,  236,    2, 0x0a /* Public */,
      41,    1,  237,    2, 0x0a /* Public */,
      42,    1,  240,    2, 0x0a /* Public */,
      43,    1,  243,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, QMetaType::UInt,    7,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 21,    2,   22,
    QMetaType::Void, 0x80000000 | 20,    2,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 25,   24,   26,
    QMetaType::Void, 0x80000000 | 20, QMetaType::Bool, 0x80000000 | 21,    2,   28,   22,
    QMetaType::Void, 0x80000000 | 20, QMetaType::Bool,    2,   28,
    QMetaType::Void, 0x80000000 | 20, QMetaType::Bool,    2,   28,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 34, QMetaType::Bool,    2,   35,
    QMetaType::Void, 0x80000000 | 34,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 44,    2,

 // properties: name, type, flags
      45, QMetaType::Bool, 0x00095103,
      46, QMetaType::Bool, 0x00095103,
      47, QMetaType::QColor, 0x00095103,

       0        // eod
};

void MusEGui::TList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TList *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->keyPressExt((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 1: _t->redirectWheelEvent((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
        case 2: _t->verticalScrollSetYpos((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 3: _t->maybeUpdateVolatileCustomColumns(); break;
        case 4: _t->returnPressed(); break;
        case 5: _t->chanValueFinished(); break;
        case 6: _t->ctrlValueFinished(); break;
        case 7: _t->instrPopupActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 8: _t->songChanged((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 9: _t->changeAutomation((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 10: _t->changeAutomationColor((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 11: _t->loadTrackDrummap((*reinterpret_cast< MusECore::MidiTrack*(*)>(_a[1])),(*reinterpret_cast< const char*(*)>(_a[2]))); break;
        case 12: _t->loadTrackDrummap((*reinterpret_cast< MusECore::MidiTrack*(*)>(_a[1]))); break;
        case 13: _t->loadTrackDrummapFromXML((*reinterpret_cast< MusECore::MidiTrack*(*)>(_a[1])),(*reinterpret_cast< MusECore::Xml(*)>(_a[2]))); break;
        case 14: _t->saveTrackDrummap((*reinterpret_cast< MusECore::MidiTrack*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< const char*(*)>(_a[3]))); break;
        case 15: _t->saveTrackDrummap((*reinterpret_cast< MusECore::MidiTrack*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 16: _t->copyTrackDrummap((*reinterpret_cast< MusECore::MidiTrack*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 17: _t->tracklistChanged(); break;
        case 18: _t->setYPos((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->redraw(); break;
        case 20: _t->selectTrack((*reinterpret_cast< MusECore::Track*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 21: _t->selectTrack((*reinterpret_cast< MusECore::Track*(*)>(_a[1]))); break;
        case 22: _t->selectTrackAbove(); break;
        case 23: _t->selectTrackBelow(); break;
        case 24: _t->editTrackNameSlot(); break;
        case 25: _t->muteSelectedTracksSlot(); break;
        case 26: _t->soloSelectedTracksSlot(); break;
        case 27: _t->volumeSelectedTracksSlot((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 28: _t->panSelectedTracksSlot((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 29: _t->setHeader((*reinterpret_cast< Header*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TList::*)(QKeyEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TList::keyPressExt)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TList::*)(QWheelEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TList::redirectWheelEvent)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TList::*)(unsigned  );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TList::verticalScrollSetYpos)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<TList *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->sel3d(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->curSelBorder(); break;
        case 2: *reinterpret_cast< QColor*>(_v) = _t->curSelBorderColor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<TList *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSel3d(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setCurSelBorder(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setCurSelBorderColor(*reinterpret_cast< QColor*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::TList::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__TList.data,
    qt_meta_data_MusEGui__TList,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MusEGui::TList::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 < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 30)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 30;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void MusEGui::TList::verticalScrollSetYpos(unsigned  _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
