/****************************************************************************
** Meta object code from reading C++ file 'PlaybackController.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/PlaybackController.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PlaybackController.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__PlaybackController_t {
    QByteArrayData data[24];
    char stringdata0[349];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__PlaybackController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__PlaybackController_t qt_meta_stringdata_Kwave__PlaybackController = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Kwave::PlaybackController"
QT_MOC_LITERAL(1, 26, 18), // "sigPlaybackStarted"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 17), // "sigPlaybackPaused"
QT_MOC_LITERAL(4, 64, 18), // "sigPlaybackStopped"
QT_MOC_LITERAL(5, 83, 14), // "sigPlaybackPos"
QT_MOC_LITERAL(6, 98, 14), // "sample_index_t"
QT_MOC_LITERAL(7, 113, 3), // "pos"
QT_MOC_LITERAL(8, 117, 11), // "sigSeekDone"
QT_MOC_LITERAL(9, 129, 21), // "sigDevicePlaybackDone"
QT_MOC_LITERAL(10, 151, 20), // "sigDevicePlaybackPos"
QT_MOC_LITERAL(11, 172, 17), // "sigDeviceSeekDone"
QT_MOC_LITERAL(12, 190, 13), // "playbackStart"
QT_MOC_LITERAL(13, 204, 12), // "playbackLoop"
QT_MOC_LITERAL(14, 217, 13), // "playbackPause"
QT_MOC_LITERAL(15, 231, 16), // "playbackContinue"
QT_MOC_LITERAL(16, 248, 12), // "playbackStop"
QT_MOC_LITERAL(17, 261, 6), // "reload"
QT_MOC_LITERAL(18, 268, 6), // "seekTo"
QT_MOC_LITERAL(19, 275, 8), // "seekDone"
QT_MOC_LITERAL(20, 284, 17), // "updatePlaybackPos"
QT_MOC_LITERAL(21, 302, 12), // "playbackDone"
QT_MOC_LITERAL(22, 315, 11), // "closeDevice"
QT_MOC_LITERAL(23, 327, 21) // "trackSelectionChanged"

    },
    "Kwave::PlaybackController\0sigPlaybackStarted\0"
    "\0sigPlaybackPaused\0sigPlaybackStopped\0"
    "sigPlaybackPos\0sample_index_t\0pos\0"
    "sigSeekDone\0sigDevicePlaybackDone\0"
    "sigDevicePlaybackPos\0sigDeviceSeekDone\0"
    "playbackStart\0playbackLoop\0playbackPause\0"
    "playbackContinue\0playbackStop\0reload\0"
    "seekTo\0seekDone\0updatePlaybackPos\0"
    "playbackDone\0closeDevice\0trackSelectionChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__PlaybackController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    0,  115,    2, 0x06 /* Public */,
       4,    0,  116,    2, 0x06 /* Public */,
       5,    1,  117,    2, 0x06 /* Public */,
       8,    1,  120,    2, 0x06 /* Public */,
       9,    0,  123,    2, 0x06 /* Public */,
      10,    1,  124,    2, 0x06 /* Public */,
      11,    1,  127,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,  130,    2, 0x0a /* Public */,
      13,    0,  131,    2, 0x0a /* Public */,
      14,    0,  132,    2, 0x0a /* Public */,
      15,    0,  133,    2, 0x0a /* Public */,
      16,    0,  134,    2, 0x0a /* Public */,
      17,    0,  135,    2, 0x0a /* Public */,
      18,    1,  136,    2, 0x0a /* Public */,
      19,    1,  139,    2, 0x0a /* Public */,
      20,    1,  142,    2, 0x0a /* Public */,
      21,    0,  145,    2, 0x0a /* Public */,
      22,    0,  146,    2, 0x08 /* Private */,
      23,    0,  147,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Kwave::PlaybackController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlaybackController *_t = static_cast<PlaybackController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigPlaybackStarted(); break;
        case 1: _t->sigPlaybackPaused(); break;
        case 2: _t->sigPlaybackStopped(); break;
        case 3: _t->sigPlaybackPos((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 4: _t->sigSeekDone((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 5: _t->sigDevicePlaybackDone(); break;
        case 6: _t->sigDevicePlaybackPos((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 7: _t->sigDeviceSeekDone((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 8: _t->playbackStart(); break;
        case 9: _t->playbackLoop(); break;
        case 10: _t->playbackPause(); break;
        case 11: _t->playbackContinue(); break;
        case 12: _t->playbackStop(); break;
        case 13: _t->reload(); break;
        case 14: _t->seekTo((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 15: _t->seekDone((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 16: _t->updatePlaybackPos((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 17: _t->playbackDone(); break;
        case 18: _t->closeDevice(); break;
        case 19: _t->trackSelectionChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlaybackController::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigPlaybackStarted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlaybackController::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigPlaybackPaused)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlaybackController::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigPlaybackStopped)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PlaybackController::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigPlaybackPos)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PlaybackController::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigSeekDone)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (PlaybackController::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigDevicePlaybackDone)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (PlaybackController::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigDevicePlaybackPos)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (PlaybackController::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlaybackController::sigDeviceSeekDone)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject Kwave::PlaybackController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__PlaybackController.data,
      qt_meta_data_Kwave__PlaybackController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Kwave::PlaybackController::sigPlaybackStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Kwave::PlaybackController::sigPlaybackPaused()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Kwave::PlaybackController::sigPlaybackStopped()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Kwave::PlaybackController::sigPlaybackPos(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::PlaybackController::sigSeekDone(sample_index_t _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Kwave::PlaybackController::sigDevicePlaybackDone()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

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

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