/****************************************************************************
** Meta object code from reading C++ file 'graphwidget.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 "../../../../apitrace/gui/graphing/graphwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'graphwidget.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_GraphWidget_t {
    QByteArrayData data[23];
    char stringdata0[354];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GraphWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GraphWidget_t qt_meta_stringdata_GraphWidget = {
    {
QT_MOC_LITERAL(0, 0, 11), // "GraphWidget"
QT_MOC_LITERAL(1, 12, 16), // "selectionChanged"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 14), // "SelectionState"
QT_MOC_LITERAL(4, 45, 5), // "state"
QT_MOC_LITERAL(5, 51, 19), // "verticalViewChanged"
QT_MOC_LITERAL(6, 71, 5), // "start"
QT_MOC_LITERAL(7, 77, 3), // "end"
QT_MOC_LITERAL(8, 81, 20), // "verticalRangeChanged"
QT_MOC_LITERAL(9, 102, 21), // "horizontalViewChanged"
QT_MOC_LITERAL(10, 124, 22), // "horizontalRangeChanged"
QT_MOC_LITERAL(11, 147, 12), // "setSelection"
QT_MOC_LITERAL(12, 160, 17), // "setHorizontalView"
QT_MOC_LITERAL(13, 178, 15), // "setVerticalView"
QT_MOC_LITERAL(14, 194, 18), // "verticalViewChange"
QT_MOC_LITERAL(15, 213, 19), // "verticalRangeChange"
QT_MOC_LITERAL(16, 233, 20), // "horizontalViewChange"
QT_MOC_LITERAL(17, 254, 21), // "horizontalRangeChange"
QT_MOC_LITERAL(18, 276, 22), // "horizontalScrollAction"
QT_MOC_LITERAL(19, 299, 6), // "action"
QT_MOC_LITERAL(20, 306, 20), // "verticalScrollAction"
QT_MOC_LITERAL(21, 327, 15), // "updateSelection"
QT_MOC_LITERAL(22, 343, 10) // "emitSignal"

    },
    "GraphWidget\0selectionChanged\0\0"
    "SelectionState\0state\0verticalViewChanged\0"
    "start\0end\0verticalRangeChanged\0"
    "horizontalViewChanged\0horizontalRangeChanged\0"
    "setSelection\0setHorizontalView\0"
    "setVerticalView\0verticalViewChange\0"
    "verticalRangeChange\0horizontalViewChange\0"
    "horizontalRangeChange\0horizontalScrollAction\0"
    "action\0verticalScrollAction\0updateSelection\0"
    "emitSignal"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GraphWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       5,    2,   97,    2, 0x06 /* Public */,
       8,    2,  102,    2, 0x06 /* Public */,
       9,    2,  107,    2, 0x06 /* Public */,
      10,    2,  112,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  117,    2, 0x0a /* Public */,
      12,    2,  120,    2, 0x0a /* Public */,
      13,    2,  125,    2, 0x0a /* Public */,
      14,    2,  130,    2, 0x09 /* Protected */,
      15,    2,  135,    2, 0x09 /* Protected */,
      16,    2,  140,    2, 0x09 /* Protected */,
      17,    2,  145,    2, 0x09 /* Protected */,
      18,    1,  150,    2, 0x09 /* Protected */,
      20,    1,  153,    2, 0x09 /* Protected */,
      21,    1,  156,    2, 0x09 /* Protected */,
      21,    0,  159,    2, 0x29 /* Protected | MethodCloned */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    6,    7,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    6,    7,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    6,    7,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    6,    7,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    6,    7,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    6,    7,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void,

       0        // eod
};

void GraphWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GraphWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->selectionChanged((*reinterpret_cast< SelectionState(*)>(_a[1]))); break;
        case 1: _t->verticalViewChanged((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 2: _t->verticalRangeChanged((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 3: _t->horizontalViewChanged((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 4: _t->horizontalRangeChanged((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 5: _t->setSelection((*reinterpret_cast< SelectionState(*)>(_a[1]))); break;
        case 6: _t->setHorizontalView((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 7: _t->setVerticalView((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 8: _t->verticalViewChange((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 9: _t->verticalRangeChange((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 10: _t->horizontalViewChange((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 11: _t->horizontalRangeChange((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 12: _t->horizontalScrollAction((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->verticalScrollAction((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->updateSelection((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->updateSelection(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GraphWidget::*)(SelectionState );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GraphWidget::selectionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (GraphWidget::*)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GraphWidget::verticalViewChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (GraphWidget::*)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GraphWidget::verticalRangeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (GraphWidget::*)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GraphWidget::horizontalViewChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (GraphWidget::*)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GraphWidget::horizontalRangeChanged)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject GraphWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_GraphWidget.data,
    qt_meta_data_GraphWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void GraphWidget::verticalViewChanged(qint64 _t1, qint64 _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, 1, _a);
}

// SIGNAL 2
void GraphWidget::verticalRangeChanged(qint64 _t1, qint64 _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, 2, _a);
}

// SIGNAL 3
void GraphWidget::horizontalViewChanged(qint64 _t1, qint64 _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, 3, _a);
}

// SIGNAL 4
void GraphWidget::horizontalRangeChanged(qint64 _t1, qint64 _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, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
