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

#include "../../src/kwave-17.04.3/libkwave/SignalManager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SignalManager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_Kwave__SignalManager_t {
    QByteArrayData data[30];
    char stringdata0[433];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__SignalManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__SignalManager_t qt_meta_stringdata_Kwave__SignalManager = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Kwave::SignalManager"
QT_MOC_LITERAL(1, 21, 19), // "sigSelectionChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 14), // "sample_index_t"
QT_MOC_LITERAL(4, 57, 6), // "offset"
QT_MOC_LITERAL(5, 64, 6), // "length"
QT_MOC_LITERAL(6, 71, 16), // "sigTrackInserted"
QT_MOC_LITERAL(7, 88, 5), // "index"
QT_MOC_LITERAL(8, 94, 13), // "Kwave::Track*"
QT_MOC_LITERAL(9, 108, 5), // "track"
QT_MOC_LITERAL(10, 114, 15), // "sigTrackDeleted"
QT_MOC_LITERAL(11, 130, 24), // "sigTrackSelectionChanged"
QT_MOC_LITERAL(12, 155, 7), // "enabled"
QT_MOC_LITERAL(13, 163, 18), // "sigSamplesInserted"
QT_MOC_LITERAL(14, 182, 17), // "sigSamplesDeleted"
QT_MOC_LITERAL(15, 200, 18), // "sigSamplesModified"
QT_MOC_LITERAL(16, 219, 18), // "sigMetaDataChanged"
QT_MOC_LITERAL(17, 238, 19), // "Kwave::MetaDataList"
QT_MOC_LITERAL(18, 258, 4), // "meta"
QT_MOC_LITERAL(19, 263, 15), // "sigUndoRedoInfo"
QT_MOC_LITERAL(20, 279, 4), // "undo"
QT_MOC_LITERAL(21, 284, 4), // "redo"
QT_MOC_LITERAL(22, 289, 11), // "sigModified"
QT_MOC_LITERAL(23, 301, 17), // "slotTrackInserted"
QT_MOC_LITERAL(24, 319, 16), // "slotTrackDeleted"
QT_MOC_LITERAL(25, 336, 19), // "slotSamplesInserted"
QT_MOC_LITERAL(26, 356, 18), // "slotSamplesDeleted"
QT_MOC_LITERAL(27, 375, 19), // "slotSamplesModified"
QT_MOC_LITERAL(28, 395, 20), // "closeUndoTransaction"
QT_MOC_LITERAL(29, 416, 16) // "emitUndoRedoInfo"

    },
    "Kwave::SignalManager\0sigSelectionChanged\0"
    "\0sample_index_t\0offset\0length\0"
    "sigTrackInserted\0index\0Kwave::Track*\0"
    "track\0sigTrackDeleted\0sigTrackSelectionChanged\0"
    "enabled\0sigSamplesInserted\0sigSamplesDeleted\0"
    "sigSamplesModified\0sigMetaDataChanged\0"
    "Kwave::MetaDataList\0meta\0sigUndoRedoInfo\0"
    "undo\0redo\0sigModified\0slotTrackInserted\0"
    "slotTrackDeleted\0slotSamplesInserted\0"
    "slotSamplesDeleted\0slotSamplesModified\0"
    "closeUndoTransaction\0emitUndoRedoInfo"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__SignalManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  109,    2, 0x06 /* Public */,
       6,    2,  114,    2, 0x06 /* Public */,
      10,    2,  119,    2, 0x06 /* Public */,
      11,    1,  124,    2, 0x06 /* Public */,
      13,    3,  127,    2, 0x06 /* Public */,
      14,    3,  134,    2, 0x06 /* Public */,
      15,    3,  141,    2, 0x06 /* Public */,
      16,    1,  148,    2, 0x06 /* Public */,
      19,    2,  151,    2, 0x06 /* Public */,
      22,    0,  156,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    0,  157,    2, 0x0a /* Public */,
      21,    0,  158,    2, 0x0a /* Public */,
      23,    2,  159,    2, 0x08 /* Private */,
      24,    2,  164,    2, 0x08 /* Private */,
      25,    3,  169,    2, 0x08 /* Private */,
      26,    3,  176,    2, 0x08 /* Private */,
      27,    3,  183,    2, 0x08 /* Private */,
      28,    0,  190,    2, 0x08 /* Private */,
      29,    0,  191,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    5,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 8,    7,    9,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 8,    7,    9,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 3, 0x80000000 | 3,    9,    4,    5,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 3, 0x80000000 | 3,    9,    4,    5,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 3, 0x80000000 | 3,    9,    4,    5,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   20,   21,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 8,    7,    9,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 8,    7,    9,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 3, 0x80000000 | 3,    9,    4,    5,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 3, 0x80000000 | 3,    9,    4,    5,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 3, 0x80000000 | 3,    9,    4,    5,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Kwave::SignalManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SignalManager *_t = static_cast<SignalManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigSelectionChanged((*reinterpret_cast< sample_index_t(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2]))); break;
        case 1: _t->sigTrackInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 2: _t->sigTrackDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 3: _t->sigTrackSelectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->sigSamplesInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 5: _t->sigSamplesDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 6: _t->sigSamplesModified((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 7: _t->sigMetaDataChanged((*reinterpret_cast< Kwave::MetaDataList(*)>(_a[1]))); break;
        case 8: _t->sigUndoRedoInfo((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: _t->sigModified(); break;
        case 10: _t->undo(); break;
        case 11: _t->redo(); break;
        case 12: _t->slotTrackInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 13: _t->slotTrackDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 14: _t->slotSamplesInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 15: _t->slotSamplesDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 16: _t->slotSamplesModified((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 17: _t->closeUndoTransaction(); break;
        case 18: _t->emitUndoRedoInfo(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SignalManager::*_t)(sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigSelectionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(unsigned int , Kwave::Track * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigTrackInserted)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(unsigned int , Kwave::Track * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigTrackDeleted)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigTrackSelectionChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(unsigned int , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigSamplesInserted)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(unsigned int , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigSamplesDeleted)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(unsigned int , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigSamplesModified)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(Kwave::MetaDataList );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigMetaDataChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigUndoRedoInfo)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (SignalManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalManager::sigModified)) {
                *result = 9;
                return;
            }
        }
    }
}

const QMetaObject Kwave::SignalManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__SignalManager.data,
      qt_meta_data_Kwave__SignalManager,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kwave::SignalManager::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__SignalManager.stringdata0))
        return static_cast<void*>(const_cast< SignalManager*>(this));
    return QObject::qt_metacast(_clname);
}

int Kwave::SignalManager::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void Kwave::SignalManager::sigSelectionChanged(sample_index_t _t1, sample_index_t _t2)
{
    void *_a[] = { Q_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::SignalManager::sigTrackInserted(unsigned int _t1, Kwave::Track * _t2)
{
    void *_a[] = { Q_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::SignalManager::sigTrackDeleted(unsigned int _t1, Kwave::Track * _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void Kwave::SignalManager::sigSamplesInserted(unsigned int _t1, sample_index_t _t2, sample_index_t _t3)
{
    void *_a[] = { Q_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::SignalManager::sigSamplesDeleted(unsigned int _t1, sample_index_t _t2, sample_index_t _t3)
{
    void *_a[] = { Q_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);
}

// SIGNAL 6
void Kwave::SignalManager::sigSamplesModified(unsigned int _t1, sample_index_t _t2, sample_index_t _t3)
{
    void *_a[] = { Q_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, 6, _a);
}

// SIGNAL 7
void Kwave::SignalManager::sigMetaDataChanged(Kwave::MetaDataList _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Kwave::SignalManager::sigUndoRedoInfo(const QString & _t1, const QString & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Kwave::SignalManager::sigModified()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
