/****************************************************************************
** Meta object code from reading C++ file 'FileContext.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/kwave/FileContext.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'FileContext.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__FileContext_t {
    QByteArrayData data[35];
    char stringdata0[465];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__FileContext_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__FileContext_t qt_meta_stringdata_Kwave__FileContext = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Kwave::FileContext"
QT_MOC_LITERAL(1, 19, 19), // "sigStatusBarMessage"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 7), // "message"
QT_MOC_LITERAL(4, 48, 2), // "ms"
QT_MOC_LITERAL(5, 51, 14), // "sigZoomChanged"
QT_MOC_LITERAL(6, 66, 19), // "Kwave::FileContext*"
QT_MOC_LITERAL(7, 86, 7), // "context"
QT_MOC_LITERAL(8, 94, 4), // "zoom"
QT_MOC_LITERAL(9, 99, 18), // "sigMetaDataChanged"
QT_MOC_LITERAL(10, 118, 19), // "Kwave::MetaDataList"
QT_MOC_LITERAL(11, 138, 9), // "meta_data"
QT_MOC_LITERAL(12, 148, 19), // "sigSelectionChanged"
QT_MOC_LITERAL(13, 168, 14), // "sample_index_t"
QT_MOC_LITERAL(14, 183, 6), // "offset"
QT_MOC_LITERAL(15, 190, 6), // "length"
QT_MOC_LITERAL(16, 197, 15), // "sigUndoRedoInfo"
QT_MOC_LITERAL(17, 213, 4), // "undo"
QT_MOC_LITERAL(18, 218, 4), // "redo"
QT_MOC_LITERAL(19, 223, 22), // "sigVisibleRangeChanged"
QT_MOC_LITERAL(20, 246, 7), // "visible"
QT_MOC_LITERAL(21, 254, 5), // "total"
QT_MOC_LITERAL(22, 260, 11), // "sigModified"
QT_MOC_LITERAL(23, 272, 9), // "destroyed"
QT_MOC_LITERAL(24, 282, 14), // "executeCommand"
QT_MOC_LITERAL(25, 297, 7), // "command"
QT_MOC_LITERAL(26, 305, 15), // "contextSwitched"
QT_MOC_LITERAL(27, 321, 18), // "forwardZoomChanged"
QT_MOC_LITERAL(28, 340, 17), // "updatePlaybackPos"
QT_MOC_LITERAL(29, 358, 15), // "metaDataChanged"
QT_MOC_LITERAL(30, 374, 16), // "selectionChanged"
QT_MOC_LITERAL(31, 391, 15), // "setUndoRedoInfo"
QT_MOC_LITERAL(32, 407, 19), // "visibleRangeChanged"
QT_MOC_LITERAL(33, 427, 15), // "modifiedChanged"
QT_MOC_LITERAL(34, 443, 21) // "processDelayedCommand"

    },
    "Kwave::FileContext\0sigStatusBarMessage\0"
    "\0message\0ms\0sigZoomChanged\0"
    "Kwave::FileContext*\0context\0zoom\0"
    "sigMetaDataChanged\0Kwave::MetaDataList\0"
    "meta_data\0sigSelectionChanged\0"
    "sample_index_t\0offset\0length\0"
    "sigUndoRedoInfo\0undo\0redo\0"
    "sigVisibleRangeChanged\0visible\0total\0"
    "sigModified\0destroyed\0executeCommand\0"
    "command\0contextSwitched\0forwardZoomChanged\0"
    "updatePlaybackPos\0metaDataChanged\0"
    "selectionChanged\0setUndoRedoInfo\0"
    "visibleRangeChanged\0modifiedChanged\0"
    "processDelayedCommand"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__FileContext[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  104,    2, 0x06 /* Public */,
       5,    2,  109,    2, 0x06 /* Public */,
       9,    1,  114,    2, 0x06 /* Public */,
      12,    2,  117,    2, 0x06 /* Public */,
      16,    2,  122,    2, 0x06 /* Public */,
      19,    3,  127,    2, 0x06 /* Public */,
      22,    0,  134,    2, 0x06 /* Public */,
      23,    1,  135,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      24,    1,  138,    2, 0x0a /* Public */,
      26,    1,  141,    2, 0x08 /* Private */,
      27,    1,  144,    2, 0x08 /* Private */,
      28,    1,  147,    2, 0x08 /* Private */,
      29,    1,  150,    2, 0x08 /* Private */,
      30,    2,  153,    2, 0x08 /* Private */,
      31,    2,  158,    2, 0x08 /* Private */,
      32,    3,  163,    2, 0x08 /* Private */,
      33,    0,  170,    2, 0x08 /* Private */,
      34,    0,  171,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::UInt,    3,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Double,    7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13,   14,   15,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   17,   18,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13, 0x80000000 | 13,   14,   20,   21,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,

 // slots: parameters
    QMetaType::Int, QMetaType::QString,   25,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::Double,    8,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13,   14,   15,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   17,   18,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13, 0x80000000 | 13,   14,   20,   21,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Kwave::FileContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FileContext *_t = static_cast<FileContext *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigStatusBarMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 1: _t->sigZoomChanged((*reinterpret_cast< Kwave::FileContext*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 2: _t->sigMetaDataChanged((*reinterpret_cast< Kwave::MetaDataList(*)>(_a[1]))); break;
        case 3: _t->sigSelectionChanged((*reinterpret_cast< sample_index_t(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2]))); break;
        case 4: _t->sigUndoRedoInfo((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->sigVisibleRangeChanged((*reinterpret_cast< sample_index_t(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 6: _t->sigModified(); break;
        case 7: _t->destroyed((*reinterpret_cast< Kwave::FileContext*(*)>(_a[1]))); break;
        case 8: { int _r = _t->executeCommand((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->contextSwitched((*reinterpret_cast< Kwave::FileContext*(*)>(_a[1]))); break;
        case 10: _t->forwardZoomChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->updatePlaybackPos((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 12: _t->metaDataChanged((*reinterpret_cast< Kwave::MetaDataList(*)>(_a[1]))); break;
        case 13: _t->selectionChanged((*reinterpret_cast< sample_index_t(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2]))); break;
        case 14: _t->setUndoRedoInfo((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: _t->visibleRangeChanged((*reinterpret_cast< sample_index_t(*)>(_a[1])),(*reinterpret_cast< sample_index_t(*)>(_a[2])),(*reinterpret_cast< sample_index_t(*)>(_a[3]))); break;
        case 16: _t->modifiedChanged(); break;
        case 17: _t->processDelayedCommand(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kwave::FileContext* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kwave::FileContext* >(); 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< Kwave::FileContext* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FileContext::*_t)(const QString & , unsigned int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::sigStatusBarMessage)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FileContext::*_t)(Kwave::FileContext * , double );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::sigZoomChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FileContext::*_t)(Kwave::MetaDataList );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::sigMetaDataChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FileContext::*_t)(sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::sigSelectionChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (FileContext::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::sigUndoRedoInfo)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (FileContext::*_t)(sample_index_t , sample_index_t , sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::sigVisibleRangeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (FileContext::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::sigModified)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (FileContext::*_t)(Kwave::FileContext * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileContext::destroyed)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject Kwave::FileContext::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__FileContext.data,
      qt_meta_data_Kwave__FileContext,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Kwave::FileContext::sigStatusBarMessage(const QString & _t1, unsigned int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kwave::FileContext::sigZoomChanged(Kwave::FileContext * _t1, double _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void Kwave::FileContext::sigSelectionChanged(sample_index_t _t1, sample_index_t _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Kwave::FileContext::sigUndoRedoInfo(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Kwave::FileContext::sigVisibleRangeChanged(sample_index_t _t1, sample_index_t _t2, sample_index_t _t3)
{
    void *_a[] = { 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, 5, _a);
}

// SIGNAL 6
void Kwave::FileContext::sigModified()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Kwave::FileContext::destroyed(Kwave::FileContext * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
