/****************************************************************************
** Meta object code from reading C++ file 'spectrogramcontrols.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../src/spectrogramcontrols.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'spectrogramcontrols.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_SpectrogramControls_t {
    QByteArrayData data[21];
    char stringdata0[259];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SpectrogramControls_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SpectrogramControls_t qt_meta_stringdata_SpectrogramControls = {
    {
QT_MOC_LITERAL(0, 0, 19), // "SpectrogramControls"
QT_MOC_LITERAL(1, 20, 16), // "fftOrZoomChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 7), // "fftSize"
QT_MOC_LITERAL(4, 46, 9), // "zoomLevel"
QT_MOC_LITERAL(5, 56, 8), // "openFile"
QT_MOC_LITERAL(6, 65, 8), // "fileName"
QT_MOC_LITERAL(7, 74, 20), // "timeSelectionChanged"
QT_MOC_LITERAL(8, 95, 4), // "time"
QT_MOC_LITERAL(9, 100, 6), // "zoomIn"
QT_MOC_LITERAL(10, 107, 7), // "zoomOut"
QT_MOC_LITERAL(11, 115, 17), // "enableAnnotations"
QT_MOC_LITERAL(12, 133, 7), // "enabled"
QT_MOC_LITERAL(13, 141, 14), // "fftSizeChanged"
QT_MOC_LITERAL(14, 156, 5), // "value"
QT_MOC_LITERAL(15, 162, 16), // "zoomLevelChanged"
QT_MOC_LITERAL(16, 179, 15), // "powerMinChanged"
QT_MOC_LITERAL(17, 195, 15), // "powerMaxChanged"
QT_MOC_LITERAL(18, 211, 21), // "fileOpenButtonClicked"
QT_MOC_LITERAL(19, 233, 19), // "cursorsStateChanged"
QT_MOC_LITERAL(20, 253, 5) // "state"

    },
    "SpectrogramControls\0fftOrZoomChanged\0"
    "\0fftSize\0zoomLevel\0openFile\0fileName\0"
    "timeSelectionChanged\0time\0zoomIn\0"
    "zoomOut\0enableAnnotations\0enabled\0"
    "fftSizeChanged\0value\0zoomLevelChanged\0"
    "powerMinChanged\0powerMaxChanged\0"
    "fileOpenButtonClicked\0cursorsStateChanged\0"
    "state"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SpectrogramControls[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    1,   82,    2, 0x0a /* Public */,
       9,    0,   85,    2, 0x0a /* Public */,
      10,    0,   86,    2, 0x0a /* Public */,
      11,    1,   87,    2, 0x0a /* Public */,
      13,    1,   90,    2, 0x08 /* Private */,
      15,    1,   93,    2, 0x08 /* Private */,
      16,    1,   96,    2, 0x08 /* Private */,
      17,    1,   99,    2, 0x08 /* Private */,
      18,    0,  102,    2, 0x08 /* Private */,
      19,    1,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,
    QMetaType::Void, QMetaType::QString,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::Float,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   20,

       0        // eod
};

void SpectrogramControls::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SpectrogramControls *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->fftOrZoomChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->openFile((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->timeSelectionChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 3: _t->zoomIn(); break;
        case 4: _t->zoomOut(); break;
        case 5: _t->enableAnnotations((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->fftSizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->zoomLevelChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->powerMinChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->powerMaxChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->fileOpenButtonClicked(); break;
        case 11: _t->cursorsStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SpectrogramControls::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpectrogramControls::fftOrZoomChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SpectrogramControls::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpectrogramControls::openFile)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SpectrogramControls::staticMetaObject = { {
    QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
    qt_meta_stringdata_SpectrogramControls.data,
    qt_meta_data_SpectrogramControls,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *SpectrogramControls::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_SpectrogramControls.stringdata0))
        return static_cast<void*>(this);
    return QDockWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void SpectrogramControls::fftOrZoomChanged(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void SpectrogramControls::openFile(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
