/****************************************************************************
** Meta object code from reading C++ file 'PlayerToolBar.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/kwave/PlayerToolBar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PlayerToolBar.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__PlayerToolBar_t {
    QByteArrayData data[34];
    char stringdata0[442];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__PlayerToolBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__PlayerToolBar_t qt_meta_stringdata_Kwave__PlayerToolBar = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Kwave::PlayerToolBar"
QT_MOC_LITERAL(1, 21, 10), // "sigCommand"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 7), // "command"
QT_MOC_LITERAL(4, 41, 21), // "sigSetMenuItemEnabled"
QT_MOC_LITERAL(5, 63, 3), // "uid"
QT_MOC_LITERAL(6, 67, 6), // "enable"
QT_MOC_LITERAL(7, 74, 15), // "contextSwitched"
QT_MOC_LITERAL(8, 90, 19), // "Kwave::FileContext*"
QT_MOC_LITERAL(9, 110, 7), // "context"
QT_MOC_LITERAL(10, 118, 16), // "contextDestroyed"
QT_MOC_LITERAL(11, 135, 14), // "executeCommand"
QT_MOC_LITERAL(12, 150, 15), // "metaDataChanged"
QT_MOC_LITERAL(13, 166, 19), // "Kwave::MetaDataList"
QT_MOC_LITERAL(14, 186, 9), // "meta_data"
QT_MOC_LITERAL(15, 196, 19), // "visibleRangeChanged"
QT_MOC_LITERAL(16, 216, 14), // "sample_index_t"
QT_MOC_LITERAL(17, 231, 6), // "offset"
QT_MOC_LITERAL(18, 238, 7), // "visible"
QT_MOC_LITERAL(19, 246, 5), // "total"
QT_MOC_LITERAL(20, 252, 17), // "toolbarRewindPrev"
QT_MOC_LITERAL(21, 270, 13), // "toolbarRewind"
QT_MOC_LITERAL(22, 284, 13), // "toolbarRecord"
QT_MOC_LITERAL(23, 298, 12), // "toolbarStart"
QT_MOC_LITERAL(24, 311, 11), // "toolbarLoop"
QT_MOC_LITERAL(25, 323, 14), // "playbackPaused"
QT_MOC_LITERAL(26, 338, 12), // "toolbarPause"
QT_MOC_LITERAL(27, 351, 11), // "toolbarStop"
QT_MOC_LITERAL(28, 363, 10), // "blinkPause"
QT_MOC_LITERAL(29, 374, 14), // "toolbarForward"
QT_MOC_LITERAL(30, 389, 18), // "toolbarForwardNext"
QT_MOC_LITERAL(31, 408, 11), // "updateState"
QT_MOC_LITERAL(32, 420, 17), // "updatePlaybackPos"
QT_MOC_LITERAL(33, 438, 3) // "pos"

    },
    "Kwave::PlayerToolBar\0sigCommand\0\0"
    "command\0sigSetMenuItemEnabled\0uid\0"
    "enable\0contextSwitched\0Kwave::FileContext*\0"
    "context\0contextDestroyed\0executeCommand\0"
    "metaDataChanged\0Kwave::MetaDataList\0"
    "meta_data\0visibleRangeChanged\0"
    "sample_index_t\0offset\0visible\0total\0"
    "toolbarRewindPrev\0toolbarRewind\0"
    "toolbarRecord\0toolbarStart\0toolbarLoop\0"
    "playbackPaused\0toolbarPause\0toolbarStop\0"
    "blinkPause\0toolbarForward\0toolbarForwardNext\0"
    "updateState\0updatePlaybackPos\0pos"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__PlayerToolBar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  114,    2, 0x06 /* Public */,
       4,    2,  117,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,  122,    2, 0x0a /* Public */,
      10,    1,  125,    2, 0x0a /* Public */,
      11,    1,  128,    2, 0x0a /* Public */,
      12,    1,  131,    2, 0x0a /* Public */,
      15,    3,  134,    2, 0x0a /* Public */,
      20,    0,  141,    2, 0x08 /* Private */,
      21,    0,  142,    2, 0x08 /* Private */,
      22,    0,  143,    2, 0x08 /* Private */,
      23,    0,  144,    2, 0x08 /* Private */,
      24,    0,  145,    2, 0x08 /* Private */,
      25,    0,  146,    2, 0x08 /* Private */,
      26,    0,  147,    2, 0x08 /* Private */,
      27,    0,  148,    2, 0x08 /* Private */,
      28,    0,  149,    2, 0x08 /* Private */,
      29,    0,  150,    2, 0x08 /* Private */,
      30,    0,  151,    2, 0x08 /* Private */,
      31,    0,  152,    2, 0x08 /* Private */,
      32,    1,  153,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    5,    6,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Int, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 16, 0x80000000 | 16, 0x80000000 | 16,   17,   18,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   33,

       0        // eod
};

void Kwave::PlayerToolBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlayerToolBar *_t = static_cast<PlayerToolBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->sigSetMenuItemEnabled((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->contextSwitched((*reinterpret_cast< Kwave::FileContext*(*)>(_a[1]))); break;
        case 3: _t->contextDestroyed((*reinterpret_cast< Kwave::FileContext*(*)>(_a[1]))); break;
        case 4: { int _r = _t->executeCommand((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 5: _t->metaDataChanged((*reinterpret_cast< Kwave::MetaDataList(*)>(_a[1]))); break;
        case 6: _t->visibleRangeChanged((*reinterpret_cast< sample_index_t(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 7: _t->toolbarRewindPrev(); break;
        case 8: _t->toolbarRewind(); break;
        case 9: _t->toolbarRecord(); break;
        case 10: _t->toolbarStart(); break;
        case 11: _t->toolbarLoop(); break;
        case 12: _t->playbackPaused(); break;
        case 13: _t->toolbarPause(); break;
        case 14: _t->toolbarStop(); break;
        case 15: _t->blinkPause(); break;
        case 16: _t->toolbarForward(); break;
        case 17: _t->toolbarForwardNext(); break;
        case 18: _t->updateState(); break;
        case 19: _t->updatePlaybackPos((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlayerToolBar::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayerToolBar::sigCommand)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlayerToolBar::*_t)(const QString & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayerToolBar::sigSetMenuItemEnabled)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Kwave::PlayerToolBar::staticMetaObject = {
    { &KToolBar::staticMetaObject, qt_meta_stringdata_Kwave__PlayerToolBar.data,
      qt_meta_data_Kwave__PlayerToolBar,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Kwave::PlayerToolBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KToolBar::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::PlayerToolBar::sigCommand(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kwave::PlayerToolBar::sigSetMenuItemEnabled(const QString & _t1, bool _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);
}
QT_END_MOC_NAMESPACE
