/****************************************************************************
** Meta object code from reading C++ file 'SignalWidget.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/SignalWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SignalWidget.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__SignalWidget_t {
    QByteArrayData data[35];
    char stringdata0[538];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__SignalWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__SignalWidget_t qt_meta_stringdata_Kwave__SignalWidget = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Kwave::SignalWidget"
QT_MOC_LITERAL(1, 20, 10), // "sigRepaint"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 16), // "selectedTimeInfo"
QT_MOC_LITERAL(4, 49, 14), // "sample_index_t"
QT_MOC_LITERAL(5, 64, 6), // "offset"
QT_MOC_LITERAL(6, 71, 6), // "length"
QT_MOC_LITERAL(7, 78, 4), // "rate"
QT_MOC_LITERAL(8, 83, 10), // "sigCommand"
QT_MOC_LITERAL(9, 94, 7), // "command"
QT_MOC_LITERAL(10, 102, 16), // "sigCursorChanged"
QT_MOC_LITERAL(11, 119, 3), // "pos"
QT_MOC_LITERAL(12, 123, 14), // "requestRepaint"
QT_MOC_LITERAL(13, 138, 18), // "Kwave::SignalView*"
QT_MOC_LITERAL(14, 157, 4), // "view"
QT_MOC_LITERAL(15, 162, 14), // "forwardCommand"
QT_MOC_LITERAL(16, 177, 16), // "contextMenuEvent"
QT_MOC_LITERAL(17, 194, 18), // "QContextMenuEvent*"
QT_MOC_LITERAL(18, 213, 1), // "e"
QT_MOC_LITERAL(19, 215, 19), // "repaintTimerElapsed"
QT_MOC_LITERAL(20, 235, 17), // "slotTrackInserted"
QT_MOC_LITERAL(21, 253, 5), // "index"
QT_MOC_LITERAL(22, 259, 13), // "Kwave::Track*"
QT_MOC_LITERAL(23, 273, 5), // "track"
QT_MOC_LITERAL(24, 279, 16), // "slotTrackDeleted"
QT_MOC_LITERAL(25, 296, 19), // "contextMenuEditUndo"
QT_MOC_LITERAL(26, 316, 19), // "contextMenuEditRedo"
QT_MOC_LITERAL(27, 336, 18), // "contextMenuEditCut"
QT_MOC_LITERAL(28, 355, 19), // "contextMenuEditCopy"
QT_MOC_LITERAL(29, 375, 20), // "contextMenuEditPaste"
QT_MOC_LITERAL(30, 396, 24), // "contextMenuSaveSelection"
QT_MOC_LITERAL(31, 421, 34), // "contextMenuSelectionExpandToL..."
QT_MOC_LITERAL(32, 456, 30), // "contextMenuSelectionNextLabels"
QT_MOC_LITERAL(33, 487, 30), // "contextMenuSelectionPrevLabels"
QT_MOC_LITERAL(34, 518, 19) // "updateMinimumHeight"

    },
    "Kwave::SignalWidget\0sigRepaint\0\0"
    "selectedTimeInfo\0sample_index_t\0offset\0"
    "length\0rate\0sigCommand\0command\0"
    "sigCursorChanged\0pos\0requestRepaint\0"
    "Kwave::SignalView*\0view\0forwardCommand\0"
    "contextMenuEvent\0QContextMenuEvent*\0"
    "e\0repaintTimerElapsed\0slotTrackInserted\0"
    "index\0Kwave::Track*\0track\0slotTrackDeleted\0"
    "contextMenuEditUndo\0contextMenuEditRedo\0"
    "contextMenuEditCut\0contextMenuEditCopy\0"
    "contextMenuEditPaste\0contextMenuSaveSelection\0"
    "contextMenuSelectionExpandToLabels\0"
    "contextMenuSelectionNextLabels\0"
    "contextMenuSelectionPrevLabels\0"
    "updateMinimumHeight"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__SignalWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    3,  115,    2, 0x06 /* Public */,
       8,    1,  122,    2, 0x06 /* Public */,
      10,    1,  125,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,  128,    2, 0x0a /* Public */,
      15,    1,  131,    2, 0x0a /* Public */,
      16,    1,  134,    2, 0x09 /* Protected */,
      19,    0,  137,    2, 0x08 /* Private */,
      20,    2,  138,    2, 0x08 /* Private */,
      24,    2,  143,    2, 0x08 /* Private */,
      25,    0,  148,    2, 0x08 /* Private */,
      26,    0,  149,    2, 0x08 /* Private */,
      27,    0,  150,    2, 0x08 /* Private */,
      28,    0,  151,    2, 0x08 /* Private */,
      29,    0,  152,    2, 0x08 /* Private */,
      30,    0,  153,    2, 0x08 /* Private */,
      31,    0,  154,    2, 0x08 /* Private */,
      32,    0,  155,    2, 0x08 /* Private */,
      33,    0,  156,    2, 0x08 /* Private */,
      34,    0,  157,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 4, QMetaType::Double,    5,    6,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, 0x80000000 | 4,   11,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 22,   21,   23,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 22,   21,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Kwave::SignalWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SignalWidget *_t = static_cast<SignalWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigRepaint(); break;
        case 1: _t->selectedTimeInfo((*reinterpret_cast< sample_index_t(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 2: _t->sigCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->sigCursorChanged((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 4: _t->requestRepaint((*reinterpret_cast< Kwave::SignalView*(*)>(_a[1]))); break;
        case 5: _t->forwardCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->contextMenuEvent((*reinterpret_cast< QContextMenuEvent*(*)>(_a[1]))); break;
        case 7: _t->repaintTimerElapsed(); break;
        case 8: _t->slotTrackInserted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 9: _t->slotTrackDeleted((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< Kwave::Track*(*)>(_a[2]))); break;
        case 10: _t->contextMenuEditUndo(); break;
        case 11: _t->contextMenuEditRedo(); break;
        case 12: _t->contextMenuEditCut(); break;
        case 13: _t->contextMenuEditCopy(); break;
        case 14: _t->contextMenuEditPaste(); break;
        case 15: _t->contextMenuSaveSelection(); break;
        case 16: _t->contextMenuSelectionExpandToLabels(); break;
        case 17: _t->contextMenuSelectionNextLabels(); break;
        case 18: _t->contextMenuSelectionPrevLabels(); break;
        case 19: _t->updateMinimumHeight(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            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 (SignalWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalWidget::sigRepaint)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SignalWidget::*_t)(sample_index_t , sample_index_t , double );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalWidget::selectedTimeInfo)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SignalWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalWidget::sigCommand)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (SignalWidget::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SignalWidget::sigCursorChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Kwave::SignalWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Kwave__SignalWidget.data,
      qt_meta_data_Kwave__SignalWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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

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

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