/****************************************************************************
** Meta object code from reading C++ file 'freqcontrolpanel.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 "../../../../../../../gr-qtgui/include/gnuradio/qtgui/freqcontrolpanel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'freqcontrolpanel.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_FreqControlPanel_t {
    QByteArrayData data[23];
    char stringdata0[303];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FreqControlPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FreqControlPanel_t qt_meta_stringdata_FreqControlPanel = {
    {
QT_MOC_LITERAL(0, 0, 16), // "FreqControlPanel"
QT_MOC_LITERAL(1, 17, 15), // "signalAvgSlider"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 3), // "val"
QT_MOC_LITERAL(4, 38, 9), // "signalAvg"
QT_MOC_LITERAL(5, 48, 2), // "en"
QT_MOC_LITERAL(6, 51, 22), // "signalToggleStopButton"
QT_MOC_LITERAL(7, 74, 15), // "notifyAvgSlider"
QT_MOC_LITERAL(8, 90, 13), // "setFFTAverage"
QT_MOC_LITERAL(9, 104, 10), // "toggleGrid"
QT_MOC_LITERAL(10, 115, 16), // "toggleAxisLabels"
QT_MOC_LITERAL(11, 132, 13), // "toggleMaxHold"
QT_MOC_LITERAL(12, 146, 13), // "toggleMinHold"
QT_MOC_LITERAL(13, 160, 13), // "toggleFFTSize"
QT_MOC_LITERAL(14, 174, 15), // "toggleFFTWindow"
QT_MOC_LITERAL(15, 190, 25), // "gr::fft::window::win_type"
QT_MOC_LITERAL(16, 216, 3), // "win"
QT_MOC_LITERAL(17, 220, 17), // "toggleTriggerMode"
QT_MOC_LITERAL(18, 238, 23), // "gr::qtgui::trigger_mode"
QT_MOC_LITERAL(19, 262, 4), // "mode"
QT_MOC_LITERAL(20, 267, 16), // "toggleStopButton"
QT_MOC_LITERAL(21, 284, 15), // "updateStopLabel"
QT_MOC_LITERAL(22, 300, 2) // "on"

    },
    "FreqControlPanel\0signalAvgSlider\0\0val\0"
    "signalAvg\0en\0signalToggleStopButton\0"
    "notifyAvgSlider\0setFFTAverage\0toggleGrid\0"
    "toggleAxisLabels\0toggleMaxHold\0"
    "toggleMinHold\0toggleFFTSize\0toggleFFTWindow\0"
    "gr::fft::window::win_type\0win\0"
    "toggleTriggerMode\0gr::qtgui::trigger_mode\0"
    "mode\0toggleStopButton\0updateStopLabel\0"
    "on"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FreqControlPanel[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    1,   91,    2, 0x0a /* Public */,
       8,    1,   94,    2, 0x0a /* Public */,
       9,    1,   97,    2, 0x0a /* Public */,
      10,    1,  100,    2, 0x0a /* Public */,
      11,    1,  103,    2, 0x0a /* Public */,
      12,    1,  106,    2, 0x0a /* Public */,
      13,    1,  109,    2, 0x0a /* Public */,
      14,    1,  112,    2, 0x0a /* Public */,
      17,    1,  115,    2, 0x0a /* Public */,
      20,    0,  118,    2, 0x0a /* Public */,
      21,    1,  119,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Float,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Float,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   22,

       0        // eod
};

void FreqControlPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FreqControlPanel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->signalAvgSlider((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 1: _t->signalAvg((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->signalToggleStopButton(); break;
        case 3: _t->notifyAvgSlider((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setFFTAverage((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 5: _t->toggleGrid((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->toggleAxisLabels((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->toggleMaxHold((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->toggleMinHold((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->toggleFFTSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->toggleFFTWindow((*reinterpret_cast< const gr::fft::window::win_type(*)>(_a[1]))); break;
        case 11: _t->toggleTriggerMode((*reinterpret_cast< gr::qtgui::trigger_mode(*)>(_a[1]))); break;
        case 12: _t->toggleStopButton(); break;
        case 13: _t->updateStopLabel((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (FreqControlPanel::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FreqControlPanel::signalAvgSlider)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (FreqControlPanel::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FreqControlPanel::signalAvg)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (FreqControlPanel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FreqControlPanel::signalToggleStopButton)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FreqControlPanel::staticMetaObject = { {
    QMetaObject::SuperData::link<QVBoxLayout::staticMetaObject>(),
    qt_meta_stringdata_FreqControlPanel.data,
    qt_meta_data_FreqControlPanel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int FreqControlPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QVBoxLayout::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 FreqControlPanel::signalAvgSlider(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void FreqControlPanel::signalAvg(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void FreqControlPanel::signalToggleStopButton()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
