/****************************************************************************
** Meta object code from reading C++ file 'SelectionTracker.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/libgui/SelectionTracker.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SelectionTracker.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__SelectionTracker_t {
    QByteArrayData data[22];
    char stringdata0[285];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__SelectionTracker_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__SelectionTracker_t qt_meta_stringdata_Kwave__SelectionTracker = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Kwave::SelectionTracker"
QT_MOC_LITERAL(1, 24, 16), // "sigTrackInserted"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 4), // "uuid"
QT_MOC_LITERAL(4, 47, 15), // "sigTrackDeleted"
QT_MOC_LITERAL(5, 63, 16), // "sigOffsetChanged"
QT_MOC_LITERAL(6, 80, 14), // "sample_index_t"
QT_MOC_LITERAL(7, 95, 6), // "offset"
QT_MOC_LITERAL(8, 102, 16), // "sigLengthChanged"
QT_MOC_LITERAL(9, 119, 6), // "length"
QT_MOC_LITERAL(10, 126, 14), // "sigInvalidated"
QT_MOC_LITERAL(11, 141, 12), // "const QUuid*"
QT_MOC_LITERAL(12, 154, 5), // "track"
QT_MOC_LITERAL(13, 160, 5), // "first"
QT_MOC_LITERAL(14, 166, 4), // "last"
QT_MOC_LITERAL(15, 171, 17), // "slotTrackInserted"
QT_MOC_LITERAL(16, 189, 5), // "index"
QT_MOC_LITERAL(17, 195, 13), // "Kwave::Track*"
QT_MOC_LITERAL(18, 209, 16), // "slotTrackDeleted"
QT_MOC_LITERAL(19, 226, 19), // "slotSamplesInserted"
QT_MOC_LITERAL(20, 246, 18), // "slotSamplesDeleted"
QT_MOC_LITERAL(21, 265, 19) // "slotSamplesModified"

    },
    "Kwave::SelectionTracker\0sigTrackInserted\0"
    "\0uuid\0sigTrackDeleted\0sigOffsetChanged\0"
    "sample_index_t\0offset\0sigLengthChanged\0"
    "length\0sigInvalidated\0const QUuid*\0"
    "track\0first\0last\0slotTrackInserted\0"
    "index\0Kwave::Track*\0slotTrackDeleted\0"
    "slotSamplesInserted\0slotSamplesDeleted\0"
    "slotSamplesModified"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__SelectionTracker[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       4,    1,   67,    2, 0x06 /* Public */,
       5,    1,   70,    2, 0x06 /* Public */,
       8,    1,   73,    2, 0x06 /* Public */,
      10,    3,   76,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    2,   83,    2, 0x08 /* Private */,
      18,    2,   88,    2, 0x08 /* Private */,
      19,    3,   93,    2, 0x08 /* Private */,
      20,    3,  100,    2, 0x08 /* Private */,
      21,    3,  107,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUuid,    3,
    QMetaType::Void, QMetaType::QUuid,    3,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    9,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 6, 0x80000000 | 6,   12,   13,   14,

 // slots: parameters
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 17,   16,   12,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 17,   16,   12,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 6, 0x80000000 | 6,   12,    7,    9,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 6, 0x80000000 | 6,   12,    7,    9,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 6, 0x80000000 | 6,   12,    7,    9,

       0        // eod
};

void Kwave::SelectionTracker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SelectionTracker *_t = static_cast<SelectionTracker *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigTrackInserted((*reinterpret_cast< const QUuid(*)>(_a[1]))); break;
        case 1: _t->sigTrackDeleted((*reinterpret_cast< const QUuid(*)>(_a[1]))); break;
        case 2: _t->sigOffsetChanged((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 3: _t->sigLengthChanged((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 4: _t->sigInvalidated((*reinterpret_cast< const QUuid*(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 5: _t->slotTrackInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 6: _t->slotTrackDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 7: _t->slotSamplesInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 8: _t->slotSamplesDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 9: _t->slotSamplesModified((*reinterpret_cast< uint(*)>(_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 (SelectionTracker::*_t)(const QUuid & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SelectionTracker::sigTrackInserted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SelectionTracker::*_t)(const QUuid & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SelectionTracker::sigTrackDeleted)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SelectionTracker::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SelectionTracker::sigOffsetChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (SelectionTracker::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SelectionTracker::sigLengthChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (SelectionTracker::*_t)(const QUuid * , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SelectionTracker::sigInvalidated)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject Kwave::SelectionTracker::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__SelectionTracker.data,
      qt_meta_data_Kwave__SelectionTracker,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Kwave::SelectionTracker::sigTrackInserted(const QUuid & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kwave::SelectionTracker::sigTrackDeleted(const QUuid & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kwave::SelectionTracker::sigOffsetChanged(sample_index_t _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void Kwave::SelectionTracker::sigInvalidated(const QUuid * _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);
}
QT_END_MOC_NAMESPACE
