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

#include <memory>
#include "../timeslider.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'timeslider.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_TimeSlider_t {
    QByteArrayData data[19];
    char stringdata0[215];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TimeSlider_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TimeSlider_t qt_meta_stringdata_TimeSlider = {
    {
QT_MOC_LITERAL(0, 0, 10), // "TimeSlider"
QT_MOC_LITERAL(1, 11, 10), // "posChanged"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 11), // "draggingPos"
QT_MOC_LITERAL(4, 35, 18), // "delayedDraggingPos"
QT_MOC_LITERAL(5, 54, 7), // "wheelUp"
QT_MOC_LITERAL(6, 62, 9), // "wheelDown"
QT_MOC_LITERAL(7, 72, 6), // "setPos"
QT_MOC_LITERAL(8, 79, 3), // "pos"
QT_MOC_LITERAL(9, 83, 11), // "setDuration"
QT_MOC_LITERAL(10, 95, 1), // "t"
QT_MOC_LITERAL(11, 97, 8), // "duration"
QT_MOC_LITERAL(12, 106, 12), // "setDragDelay"
QT_MOC_LITERAL(13, 119, 9), // "dragDelay"
QT_MOC_LITERAL(14, 129, 18), // "sliderPressed_slot"
QT_MOC_LITERAL(15, 148, 19), // "sliderReleased_slot"
QT_MOC_LITERAL(16, 168, 17), // "valueChanged_slot"
QT_MOC_LITERAL(17, 186, 13), // "checkDragging"
QT_MOC_LITERAL(18, 200, 14) // "sendDelayedPos"

    },
    "TimeSlider\0posChanged\0\0draggingPos\0"
    "delayedDraggingPos\0wheelUp\0wheelDown\0"
    "setPos\0pos\0setDuration\0t\0duration\0"
    "setDragDelay\0dragDelay\0sliderPressed_slot\0"
    "sliderReleased_slot\0valueChanged_slot\0"
    "checkDragging\0sendDelayedPos"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TimeSlider[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       3,    1,   97,    2, 0x06 /* Public */,
       4,    1,  100,    2, 0x06 /* Public */,
       5,    0,  103,    2, 0x06 /* Public */,
       6,    0,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,  105,    2, 0x0a /* Public */,
       8,    0,  108,    2, 0x0a /* Public */,
       9,    1,  109,    2, 0x0a /* Public */,
      11,    0,  112,    2, 0x0a /* Public */,
      12,    1,  113,    2, 0x0a /* Public */,
      13,    0,  116,    2, 0x0a /* Public */,
      14,    0,  117,    2, 0x09 /* Protected */,
      15,    0,  118,    2, 0x09 /* Protected */,
      16,    1,  119,    2, 0x09 /* Protected */,
      17,    1,  122,    2, 0x09 /* Protected */,
      18,    0,  125,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Double,   10,
    QMetaType::Double,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

       0        // eod
};

void TimeSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TimeSlider *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->posChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->draggingPos((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->delayedDraggingPos((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->wheelUp(); break;
        case 4: _t->wheelDown(); break;
        case 5: _t->setPos((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: { int _r = _t->pos();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setDuration((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: { double _r = _t->duration();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->setDragDelay((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: { int _r = _t->dragDelay();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->sliderPressed_slot(); break;
        case 12: _t->sliderReleased_slot(); break;
        case 13: _t->valueChanged_slot((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->checkDragging((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->sendDelayedPos(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TimeSlider::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TimeSlider::posChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TimeSlider::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TimeSlider::draggingPos)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TimeSlider::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TimeSlider::delayedDraggingPos)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TimeSlider::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TimeSlider::wheelUp)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TimeSlider::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TimeSlider::wheelDown)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TimeSlider::staticMetaObject = { {
    QMetaObject::SuperData::link<MySlider::staticMetaObject>(),
    qt_meta_stringdata_TimeSlider.data,
    qt_meta_data_TimeSlider,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *TimeSlider::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_TimeSlider.stringdata0))
        return static_cast<void*>(this);
    return MySlider::qt_metacast(_clname);
}

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

// SIGNAL 0
void TimeSlider::posChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void TimeSlider::draggingPos(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void TimeSlider::delayedDraggingPos(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void TimeSlider::wheelUp()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void TimeSlider::wheelDown()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
