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

#include "../../src/kwave-17.12.3/libgui/CurveWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'CurveWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_Kwave__CurveWidget_t {
    QByteArrayData data[20];
    char stringdata0[234];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__CurveWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__CurveWidget_t qt_meta_stringdata_Kwave__CurveWidget = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Kwave::CurveWidget"
QT_MOC_LITERAL(1, 19, 23), // "selectInterpolationType"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 8), // "QAction*"
QT_MOC_LITERAL(4, 53, 6), // "action"
QT_MOC_LITERAL(5, 60, 8), // "scaleFit"
QT_MOC_LITERAL(6, 69, 5), // "VFlip"
QT_MOC_LITERAL(7, 75, 5), // "HFlip"
QT_MOC_LITERAL(8, 81, 10), // "deleteLast"
QT_MOC_LITERAL(9, 92, 12), // "deleteSecond"
QT_MOC_LITERAL(10, 105, 9), // "firstHalf"
QT_MOC_LITERAL(11, 115, 10), // "secondHalf"
QT_MOC_LITERAL(12, 126, 10), // "savePreset"
QT_MOC_LITERAL(13, 137, 10), // "loadPreset"
QT_MOC_LITERAL(14, 148, 15), // "mousePressEvent"
QT_MOC_LITERAL(15, 164, 12), // "QMouseEvent*"
QT_MOC_LITERAL(16, 177, 17), // "mouseReleaseEvent"
QT_MOC_LITERAL(17, 195, 14), // "mouseMoveEvent"
QT_MOC_LITERAL(18, 210, 10), // "paintEvent"
QT_MOC_LITERAL(19, 221, 12) // "QPaintEvent*"

    },
    "Kwave::CurveWidget\0selectInterpolationType\0"
    "\0QAction*\0action\0scaleFit\0VFlip\0HFlip\0"
    "deleteLast\0deleteSecond\0firstHalf\0"
    "secondHalf\0savePreset\0loadPreset\0"
    "mousePressEvent\0QMouseEvent*\0"
    "mouseReleaseEvent\0mouseMoveEvent\0"
    "paintEvent\0QPaintEvent*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__CurveWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x0a /* Public */,
       5,    0,   87,    2, 0x0a /* Public */,
       6,    0,   88,    2, 0x0a /* Public */,
       7,    0,   89,    2, 0x0a /* Public */,
       8,    0,   90,    2, 0x0a /* Public */,
       9,    0,   91,    2, 0x0a /* Public */,
      10,    0,   92,    2, 0x0a /* Public */,
      11,    0,   93,    2, 0x0a /* Public */,
      12,    0,   94,    2, 0x0a /* Public */,
      13,    1,   95,    2, 0x0a /* Public */,
      14,    1,   98,    2, 0x09 /* Protected */,
      16,    1,  101,    2, 0x09 /* Protected */,
      17,    1,  104,    2, 0x09 /* Protected */,
      18,    1,  107,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void, 0x80000000 | 19,    2,

       0        // eod
};

void Kwave::CurveWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CurveWidget *_t = static_cast<CurveWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->selectInterpolationType((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 1: _t->scaleFit(); break;
        case 2: _t->VFlip(); break;
        case 3: _t->HFlip(); break;
        case 4: _t->deleteLast(); break;
        case 5: _t->deleteSecond(); break;
        case 6: _t->firstHalf(); break;
        case 7: _t->secondHalf(); break;
        case 8: _t->savePreset(); break;
        case 9: _t->loadPreset((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 10: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 11: _t->mouseReleaseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 12: _t->mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 13: _t->paintEvent((*reinterpret_cast< QPaintEvent*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    }
}

const QMetaObject Kwave::CurveWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Kwave__CurveWidget.data,
      qt_meta_data_Kwave__CurveWidget,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Kwave::CurveWidget::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
