/****************************************************************************
** Meta object code from reading C++ file 'PlayBackDialog.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/plugins/playback/PlayBackDialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PlayBackDialog.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__PlayBackDialog_t {
    QByteArrayData data[29];
    char stringdata0[361];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__PlayBackDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__PlayBackDialog_t qt_meta_stringdata_Kwave__PlayBackDialog = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Kwave::PlayBackDialog"
QT_MOC_LITERAL(1, 22, 16), // "sigMethodChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 24), // "Kwave::playback_method_t"
QT_MOC_LITERAL(4, 65, 6), // "method"
QT_MOC_LITERAL(5, 72, 15), // "sigTestPlayback"
QT_MOC_LITERAL(6, 88, 13), // "setFileFilter"
QT_MOC_LITERAL(7, 102, 6), // "filter"
QT_MOC_LITERAL(8, 109, 9), // "setDevice"
QT_MOC_LITERAL(9, 119, 6), // "device"
QT_MOC_LITERAL(10, 126, 16), // "setBitsPerSample"
QT_MOC_LITERAL(11, 143, 4), // "bits"
QT_MOC_LITERAL(12, 148, 11), // "setChannels"
QT_MOC_LITERAL(13, 160, 8), // "channels"
QT_MOC_LITERAL(14, 169, 14), // "methodSelected"
QT_MOC_LITERAL(15, 184, 5), // "index"
QT_MOC_LITERAL(16, 190, 13), // "setBufferSize"
QT_MOC_LITERAL(17, 204, 3), // "exp"
QT_MOC_LITERAL(18, 208, 20), // "selectPlaybackDevice"
QT_MOC_LITERAL(19, 229, 17), // "listEntrySelected"
QT_MOC_LITERAL(20, 247, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(21, 264, 7), // "current"
QT_MOC_LITERAL(22, 272, 8), // "previous"
QT_MOC_LITERAL(23, 281, 16), // "listItemExpanded"
QT_MOC_LITERAL(24, 298, 4), // "item"
QT_MOC_LITERAL(25, 303, 19), // "updateListSelection"
QT_MOC_LITERAL(26, 323, 21), // "bitsPerSampleSelected"
QT_MOC_LITERAL(27, 345, 4), // "text"
QT_MOC_LITERAL(28, 350, 10) // "invokeHelp"

    },
    "Kwave::PlayBackDialog\0sigMethodChanged\0"
    "\0Kwave::playback_method_t\0method\0"
    "sigTestPlayback\0setFileFilter\0filter\0"
    "setDevice\0device\0setBitsPerSample\0"
    "bits\0setChannels\0channels\0methodSelected\0"
    "index\0setBufferSize\0exp\0selectPlaybackDevice\0"
    "listEntrySelected\0QTreeWidgetItem*\0"
    "current\0previous\0listItemExpanded\0"
    "item\0updateListSelection\0bitsPerSampleSelected\0"
    "text\0invokeHelp"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__PlayBackDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       5,    0,   87,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   88,    2, 0x0a /* Public */,
       8,    1,   91,    2, 0x0a /* Public */,
      10,    1,   94,    2, 0x0a /* Public */,
      12,    1,   97,    2, 0x0a /* Public */,
      14,    1,  100,    2, 0x08 /* Private */,
      16,    1,  103,    2, 0x08 /* Private */,
      18,    0,  106,    2, 0x08 /* Private */,
      19,    2,  107,    2, 0x08 /* Private */,
      23,    1,  112,    2, 0x08 /* Private */,
      25,    0,  115,    2, 0x08 /* Private */,
      26,    1,  116,    2, 0x08 /* Private */,
      28,    0,  119,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::UInt,   11,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 20,   21,   22,
    QMetaType::Void, 0x80000000 | 20,   24,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   27,
    QMetaType::Void,

       0        // eod
};

void Kwave::PlayBackDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlayBackDialog *_t = static_cast<PlayBackDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigMethodChanged((*reinterpret_cast< Kwave::playback_method_t(*)>(_a[1]))); break;
        case 1: _t->sigTestPlayback(); break;
        case 2: _t->setFileFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->setDevice((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setBitsPerSample((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 5: _t->setChannels((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->methodSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setBufferSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->selectPlaybackDevice(); break;
        case 9: _t->listEntrySelected((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
        case 10: _t->listItemExpanded((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 11: _t->updateListSelection(); break;
        case 12: _t->bitsPerSampleSelected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->invokeHelp(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlayBackDialog::*_t)(Kwave::playback_method_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayBackDialog::sigMethodChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlayBackDialog::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayBackDialog::sigTestPlayback)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Kwave::PlayBackDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Kwave__PlayBackDialog.data,
      qt_meta_data_Kwave__PlayBackDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kwave::PlayBackDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__PlayBackDialog.stringdata0))
        return static_cast<void*>(const_cast< PlayBackDialog*>(this));
    if (!strcmp(_clname, "Ui::PlayBackDlg"))
        return static_cast< Ui::PlayBackDlg*>(const_cast< PlayBackDialog*>(this));
    return QDialog::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void Kwave::PlayBackDialog::sigTestPlayback()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
