/****************************************************************************
** Meta object code from reading C++ file 'SelectTimeWidget.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/SelectTimeWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SelectTimeWidget.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__SelectTimeWidget_t {
    QByteArrayData data[14];
    char stringdata0[162];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__SelectTimeWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__SelectTimeWidget_t qt_meta_stringdata_Kwave__SelectTimeWidget = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Kwave::SelectTimeWidget"
QT_MOC_LITERAL(1, 24, 12), // "valueChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 14), // "sample_index_t"
QT_MOC_LITERAL(4, 53, 7), // "samples"
QT_MOC_LITERAL(5, 61, 9), // "setOffset"
QT_MOC_LITERAL(6, 71, 6), // "offset"
QT_MOC_LITERAL(7, 78, 11), // "modeChanged"
QT_MOC_LITERAL(8, 90, 7), // "checked"
QT_MOC_LITERAL(9, 98, 11), // "timeChanged"
QT_MOC_LITERAL(10, 110, 18), // "checkNewSampleEdit"
QT_MOC_LITERAL(11, 129, 14), // "samplesChanged"
QT_MOC_LITERAL(12, 144, 15), // "percentsChanged"
QT_MOC_LITERAL(13, 160, 1) // "p"

    },
    "Kwave::SelectTimeWidget\0valueChanged\0"
    "\0sample_index_t\0samples\0setOffset\0"
    "offset\0modeChanged\0checked\0timeChanged\0"
    "checkNewSampleEdit\0samplesChanged\0"
    "percentsChanged\0p"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__SelectTimeWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   52,    2, 0x0a /* Public */,
       7,    1,   55,    2, 0x08 /* Private */,
       9,    1,   58,    2, 0x08 /* Private */,
      10,    0,   61,    2, 0x08 /* Private */,
      11,    1,   62,    2, 0x08 /* Private */,
      12,    1,   65,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,   13,

       0        // eod
};

void Kwave::SelectTimeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SelectTimeWidget *_t = static_cast<SelectTimeWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->valueChanged((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 1: _t->setOffset((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 2: _t->modeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->timeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->checkNewSampleEdit(); break;
        case 5: _t->samplesChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->percentsChanged((*reinterpret_cast< int(*)>(_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 (SelectTimeWidget::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SelectTimeWidget::valueChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Kwave::SelectTimeWidget::staticMetaObject = {
    { &QGroupBox::staticMetaObject, qt_meta_stringdata_Kwave__SelectTimeWidget.data,
      qt_meta_data_Kwave__SelectTimeWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kwave::SelectTimeWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__SelectTimeWidget.stringdata0))
        return static_cast<void*>(const_cast< SelectTimeWidget*>(this));
    if (!strcmp(_clname, "Ui::SelectTimeWidgetBase"))
        return static_cast< Ui::SelectTimeWidgetBase*>(const_cast< SelectTimeWidget*>(this));
    return QGroupBox::qt_metacast(_clname);
}

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

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