/****************************************************************************
** Meta object code from reading C++ file 'plotview.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/plotview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'plotview.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_PlotView_t {
    QByteArrayData data[22];
    char stringdata0[263];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlotView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlotView_t qt_meta_stringdata_PlotView = {
    {
QT_MOC_LITERAL(0, 0, 8), // "PlotView"
QT_MOC_LITERAL(1, 9, 20), // "timeSelectionChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 4), // "time"
QT_MOC_LITERAL(4, 36, 6), // "zoomIn"
QT_MOC_LITERAL(5, 43, 7), // "zoomOut"
QT_MOC_LITERAL(6, 51, 12), // "cursorsMoved"
QT_MOC_LITERAL(7, 64, 13), // "enableCursors"
QT_MOC_LITERAL(8, 78, 7), // "enabled"
QT_MOC_LITERAL(9, 86, 12), // "enableScales"
QT_MOC_LITERAL(10, 99, 17), // "enableAnnotations"
QT_MOC_LITERAL(11, 117, 32), // "enableAnnotationCommentsTooltips"
QT_MOC_LITERAL(12, 150, 15), // "invalidateEvent"
QT_MOC_LITERAL(13, 166, 7), // "repaint"
QT_MOC_LITERAL(14, 174, 17), // "setCursorSegments"
QT_MOC_LITERAL(15, 192, 8), // "segments"
QT_MOC_LITERAL(16, 201, 13), // "setFFTAndZoom"
QT_MOC_LITERAL(17, 215, 7), // "fftSize"
QT_MOC_LITERAL(18, 223, 9), // "zoomLevel"
QT_MOC_LITERAL(19, 233, 11), // "setPowerMin"
QT_MOC_LITERAL(20, 245, 5), // "power"
QT_MOC_LITERAL(21, 251, 11) // "setPowerMax"

    },
    "PlotView\0timeSelectionChanged\0\0time\0"
    "zoomIn\0zoomOut\0cursorsMoved\0enableCursors\0"
    "enabled\0enableScales\0enableAnnotations\0"
    "enableAnnotationCommentsTooltips\0"
    "invalidateEvent\0repaint\0setCursorSegments\0"
    "segments\0setFFTAndZoom\0fftSize\0zoomLevel\0"
    "setPowerMin\0power\0setPowerMax"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlotView[] = {

 // 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,    0,   87,    2, 0x06 /* Public */,
       5,    0,   88,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   89,    2, 0x0a /* Public */,
       7,    1,   90,    2, 0x0a /* Public */,
       9,    1,   93,    2, 0x0a /* Public */,
      10,    1,   96,    2, 0x0a /* Public */,
      11,    1,   99,    2, 0x0a /* Public */,
      12,    0,  102,    2, 0x0a /* Public */,
      13,    0,  103,    2, 0x0a /* Public */,
      14,    1,  104,    2, 0x0a /* Public */,
      16,    2,  107,    2, 0x0a /* Public */,
      19,    1,  112,    2, 0x0a /* Public */,
      21,    1,  115,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   17,   18,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   20,

       0        // eod
};

void PlotView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PlotView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->timeSelectionChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 1: _t->zoomIn(); break;
        case 2: _t->zoomOut(); break;
        case 3: _t->cursorsMoved(); break;
        case 4: _t->enableCursors((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->enableScales((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->enableAnnotations((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->enableAnnotationCommentsTooltips((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->invalidateEvent(); break;
        case 9: _t->repaint(); break;
        case 10: _t->setCursorSegments((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setFFTAndZoom((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->setPowerMin((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setPowerMax((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (PlotView::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlotView::timeSelectionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (PlotView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlotView::zoomIn)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (PlotView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlotView::zoomOut)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PlotView::staticMetaObject = { {
    QMetaObject::SuperData::link<QGraphicsView::staticMetaObject>(),
    qt_meta_stringdata_PlotView.data,
    qt_meta_data_PlotView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *PlotView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PlotView.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Subscriber"))
        return static_cast< Subscriber*>(this);
    return QGraphicsView::qt_metacast(_clname);
}

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

// SIGNAL 1
void PlotView::zoomIn()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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