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

#include "../../src/kwave-17.08.3/libgui/TrackPixmap.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TrackPixmap.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Kwave__TrackPixmap_t {
    QByteArrayData data[15];
    char stringdata0[178];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__TrackPixmap_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__TrackPixmap_t qt_meta_stringdata_Kwave__TrackPixmap = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Kwave::TrackPixmap"
QT_MOC_LITERAL(1, 19, 11), // "sigModified"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 9), // "setOffset"
QT_MOC_LITERAL(4, 42, 14), // "sample_index_t"
QT_MOC_LITERAL(5, 57, 6), // "offset"
QT_MOC_LITERAL(6, 64, 7), // "setZoom"
QT_MOC_LITERAL(7, 72, 4), // "zoom"
QT_MOC_LITERAL(8, 77, 19), // "slotSamplesInserted"
QT_MOC_LITERAL(9, 97, 13), // "Kwave::Track*"
QT_MOC_LITERAL(10, 111, 3), // "src"
QT_MOC_LITERAL(11, 115, 6), // "length"
QT_MOC_LITERAL(12, 122, 18), // "slotSamplesDeleted"
QT_MOC_LITERAL(13, 141, 19), // "slotSamplesModified"
QT_MOC_LITERAL(14, 161, 16) // "selectionChanged"

    },
    "Kwave::TrackPixmap\0sigModified\0\0"
    "setOffset\0sample_index_t\0offset\0setZoom\0"
    "zoom\0slotSamplesInserted\0Kwave::Track*\0"
    "src\0length\0slotSamplesDeleted\0"
    "slotSamplesModified\0selectionChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__TrackPixmap[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    1,   50,    2, 0x0a /* Public */,
       6,    1,   53,    2, 0x0a /* Public */,
       8,    3,   56,    2, 0x08 /* Private */,
      12,    3,   63,    2, 0x08 /* Private */,
      13,    3,   70,    2, 0x08 /* Private */,
      14,    0,   77,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, QMetaType::Double,    7,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 4, 0x80000000 | 4,   10,    5,   11,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 4, 0x80000000 | 4,   10,    5,   11,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 4, 0x80000000 | 4,   10,    5,   11,
    QMetaType::Void,

       0        // eod
};

void Kwave::TrackPixmap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TrackPixmap *_t = static_cast<TrackPixmap *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigModified(); break;
        case 1: _t->setOffset((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 2: _t->setZoom((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 3: _t->slotSamplesInserted((*reinterpret_cast< Kwave::Track*(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 4: _t->slotSamplesDeleted((*reinterpret_cast< Kwave::Track*(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 5: _t->slotSamplesModified((*reinterpret_cast< Kwave::Track*(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 6: _t->selectionChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TrackPixmap::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrackPixmap::sigModified)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Kwave::TrackPixmap::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__TrackPixmap.data,
      qt_meta_data_Kwave__TrackPixmap,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Kwave::TrackPixmap::sigModified()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
