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

#include "../../src/kwave-17.04.3/libgui/SignalView.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SignalView.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_Kwave__SignalView_t {
    QByteArrayData data[22];
    char stringdata0[240];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__SignalView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__SignalView_t qt_meta_stringdata_Kwave__SignalView = {
    {
QT_MOC_LITERAL(0, 0, 17), // "Kwave::SignalView"
QT_MOC_LITERAL(1, 18, 18), // "contentSizeChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 16), // "sigCursorChanged"
QT_MOC_LITERAL(4, 55, 14), // "sample_index_t"
QT_MOC_LITERAL(5, 70, 3), // "pos"
QT_MOC_LITERAL(6, 74, 14), // "sigNeedRepaint"
QT_MOC_LITERAL(7, 89, 18), // "Kwave::SignalView*"
QT_MOC_LITERAL(8, 108, 4), // "view"
QT_MOC_LITERAL(9, 113, 10), // "sigCommand"
QT_MOC_LITERAL(10, 124, 7), // "command"
QT_MOC_LITERAL(11, 132, 8), // "setTrack"
QT_MOC_LITERAL(12, 141, 5), // "track"
QT_MOC_LITERAL(13, 147, 16), // "setZoomAndOffset"
QT_MOC_LITERAL(14, 164, 4), // "zoom"
QT_MOC_LITERAL(15, 169, 6), // "offset"
QT_MOC_LITERAL(16, 176, 15), // "setVerticalZoom"
QT_MOC_LITERAL(17, 192, 10), // "showCursor"
QT_MOC_LITERAL(18, 203, 12), // "showPosition"
QT_MOC_LITERAL(19, 216, 4), // "text"
QT_MOC_LITERAL(20, 221, 5), // "mouse"
QT_MOC_LITERAL(21, 227, 12) // "hidePosition"

    },
    "Kwave::SignalView\0contentSizeChanged\0"
    "\0sigCursorChanged\0sample_index_t\0pos\0"
    "sigNeedRepaint\0Kwave::SignalView*\0"
    "view\0sigCommand\0command\0setTrack\0track\0"
    "setZoomAndOffset\0zoom\0offset\0"
    "setVerticalZoom\0showCursor\0showPosition\0"
    "text\0mouse\0hidePosition"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__SignalView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    1,   70,    2, 0x06 /* Public */,
       6,    1,   73,    2, 0x06 /* Public */,
       9,    1,   76,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,   79,    2, 0x0a /* Public */,
      13,    2,   82,    2, 0x0a /* Public */,
      16,    1,   87,    2, 0x0a /* Public */,
      17,    1,   90,    2, 0x0a /* Public */,
      17,    0,   93,    2, 0x2a /* Public | MethodCloned */,
      18,    3,   94,    2, 0x09 /* Protected */,
      21,    0,  101,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::QString,   10,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Double, 0x80000000 | 4,   14,   15,
    QMetaType::Void, QMetaType::Double,   14,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4, QMetaType::QPoint,   19,    5,   20,
    QMetaType::Void,

       0        // eod
};

void Kwave::SignalView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SignalView *_t = static_cast<SignalView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->contentSizeChanged(); break;
        case 1: _t->sigCursorChanged((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 2: _t->sigNeedRepaint((*reinterpret_cast< Kwave::SignalView*(*)>(_a[1]))); break;
        case 3: _t->sigCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setTrack((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setZoomAndOffset((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2]))); break;
        case 6: _t->setVerticalZoom((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: _t->showCursor((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 8: _t->showCursor(); break;
        case 9: _t->showPosition((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< const QPoint(*)>(_a[3]))); break;
        case 10: _t->hidePosition(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kwave::SignalView* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SignalView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalView::contentSizeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SignalView::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalView::sigCursorChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SignalView::*_t)(Kwave::SignalView * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalView::sigNeedRepaint)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (SignalView::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalView::sigCommand)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Kwave::SignalView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Kwave__SignalView.data,
      qt_meta_data_Kwave__SignalView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kwave::SignalView::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__SignalView.stringdata0))
        return static_cast<void*>(const_cast< SignalView*>(this));
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void Kwave::SignalView::contentSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Kwave::SignalView::sigCursorChanged(sample_index_t _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kwave::SignalView::sigNeedRepaint(Kwave::SignalView * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Kwave::SignalView::sigCommand(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
