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

#include "../../src/kwave-17.08.3/libkwave/Signal.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Signal.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_Kwave__Signal_t {
    QByteArrayData data[19];
    char stringdata0[255];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__Signal_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__Signal_t qt_meta_stringdata_Kwave__Signal = {
    {
QT_MOC_LITERAL(0, 0, 13), // "Kwave::Signal"
QT_MOC_LITERAL(1, 14, 16), // "sigTrackInserted"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 5), // "index"
QT_MOC_LITERAL(4, 38, 13), // "Kwave::Track*"
QT_MOC_LITERAL(5, 52, 5), // "track"
QT_MOC_LITERAL(6, 58, 15), // "sigTrackDeleted"
QT_MOC_LITERAL(7, 74, 24), // "sigTrackSelectionChanged"
QT_MOC_LITERAL(8, 99, 7), // "enabled"
QT_MOC_LITERAL(9, 107, 18), // "sigSamplesInserted"
QT_MOC_LITERAL(10, 126, 14), // "sample_index_t"
QT_MOC_LITERAL(11, 141, 6), // "offset"
QT_MOC_LITERAL(12, 148, 6), // "length"
QT_MOC_LITERAL(13, 155, 17), // "sigSamplesDeleted"
QT_MOC_LITERAL(14, 173, 18), // "sigSamplesModified"
QT_MOC_LITERAL(15, 192, 19), // "slotSamplesInserted"
QT_MOC_LITERAL(16, 212, 3), // "src"
QT_MOC_LITERAL(17, 216, 18), // "slotSamplesDeleted"
QT_MOC_LITERAL(18, 235, 19) // "slotSamplesModified"

    },
    "Kwave::Signal\0sigTrackInserted\0\0index\0"
    "Kwave::Track*\0track\0sigTrackDeleted\0"
    "sigTrackSelectionChanged\0enabled\0"
    "sigSamplesInserted\0sample_index_t\0"
    "offset\0length\0sigSamplesDeleted\0"
    "sigSamplesModified\0slotSamplesInserted\0"
    "src\0slotSamplesDeleted\0slotSamplesModified"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__Signal[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,   59,    2, 0x06 /* Public */,
       6,    2,   64,    2, 0x06 /* Public */,
       7,    1,   69,    2, 0x06 /* Public */,
       9,    3,   72,    2, 0x06 /* Public */,
      13,    3,   79,    2, 0x06 /* Public */,
      14,    3,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    3,   93,    2, 0x08 /* Private */,
      17,    3,  100,    2, 0x08 /* Private */,
      18,    3,  107,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 10, 0x80000000 | 10,    5,   11,   12,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 10, 0x80000000 | 10,    5,   11,   12,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 10, 0x80000000 | 10,    5,   11,   12,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 10, 0x80000000 | 10,   16,   11,   12,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 10, 0x80000000 | 10,   16,   11,   12,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 10, 0x80000000 | 10,   16,   11,   12,

       0        // eod
};

void Kwave::Signal::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Signal *_t = static_cast<Signal *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigTrackInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 1: _t->sigTrackDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 2: _t->sigTrackSelectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->sigSamplesInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 4: _t->sigSamplesDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 5: _t->sigSamplesModified((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 6: _t->slotSamplesInserted((*reinterpret_cast< Kwave::Track*(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 7: _t->slotSamplesDeleted((*reinterpret_cast< Kwave::Track*(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 8: _t->slotSamplesModified((*reinterpret_cast< Kwave::Track*(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Signal::*_t)(unsigned int , Kwave::Track * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Signal::sigTrackInserted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Signal::*_t)(unsigned int , Kwave::Track * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Signal::sigTrackDeleted)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Signal::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Signal::sigTrackSelectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Signal::*_t)(unsigned int , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Signal::sigSamplesInserted)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Signal::*_t)(unsigned int , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Signal::sigSamplesDeleted)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Signal::*_t)(unsigned int , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Signal::sigSamplesModified)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject Kwave::Signal::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__Signal.data,
      qt_meta_data_Kwave__Signal,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kwave::Signal::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__Signal.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void Kwave::Signal::sigTrackInserted(unsigned int _t1, Kwave::Track * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kwave::Signal::sigTrackDeleted(unsigned int _t1, Kwave::Track * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kwave::Signal::sigTrackSelectionChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Kwave::Signal::sigSamplesInserted(unsigned int _t1, sample_index_t _t2, sample_index_t _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Kwave::Signal::sigSamplesDeleted(unsigned int _t1, sample_index_t _t2, sample_index_t _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Kwave::Signal::sigSamplesModified(unsigned int _t1, sample_index_t _t2, sample_index_t _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
