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

#include "../../jacktrip-3.0.0/src/JackTrip.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'JackTrip.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN8JackTripE_t {};
} // unnamed namespace

template <> constexpr inline auto JackTrip::qt_create_metaobjectdata<qt_meta_tag_ZN8JackTripE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "JackTrip",
        "signalProcessesStopped",
        "",
        "signalNoUdpPacketsForSeconds",
        "signalTcpClientConnected",
        "signalError",
        "errorMessage",
        "signalReceivedConnectionFromPeer",
        "signalUdpWaitingTooLong",
        "signalQueueLengthChanged",
        "queueLength",
        "signalAudioStarted",
        "slotStopProcesses",
        "slotStopProcessesDueToError",
        "slotUdpWaitingTooLongClientGoneProbably",
        "wait_msec",
        "slotUdpWaitingTooLong",
        "slotPrintTest",
        "slotReceivedConnectionFromPeer",
        "onStatTimer",
        "receivedConnectionTCP",
        "receivedDataTCP",
        "receivedErrorTCP",
        "QAbstractSocket::SocketError",
        "socketError",
        "connectionSecured",
        "receivedFirstPacketUDP",
        "udpTimerTick",
        "tcpTimerTick"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'signalProcessesStopped'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalNoUdpPacketsForSeconds'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalTcpClientConnected'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalError'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'signalReceivedConnectionFromPeer'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalUdpWaitingTooLong'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalQueueLengthChanged'
        QtMocHelpers::SignalData<void(int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 },
        }}),
        // Signal 'signalAudioStarted'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotStopProcesses'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotStopProcessesDueToError'
        QtMocHelpers::SlotData<void(const QString &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Slot 'slotUdpWaitingTooLongClientGoneProbably'
        QtMocHelpers::SlotData<void(int)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 15 },
        }}),
        // Slot 'slotUdpWaitingTooLong'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotPrintTest'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotReceivedConnectionFromPeer'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onStatTimer'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'receivedConnectionTCP'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'receivedDataTCP'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'receivedErrorTCP'
        QtMocHelpers::SlotData<void(QAbstractSocket::SocketError)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'connectionSecured'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'receivedFirstPacketUDP'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'udpTimerTick'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'tcpTimerTick'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<JackTrip, qt_meta_tag_ZN8JackTripE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject JackTrip::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8JackTripE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8JackTripE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8JackTripE_t>.metaTypes,
    nullptr
} };

void JackTrip::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<JackTrip *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->signalProcessesStopped(); break;
        case 1: _t->signalNoUdpPacketsForSeconds(); break;
        case 2: _t->signalTcpClientConnected(); break;
        case 3: _t->signalError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->signalReceivedConnectionFromPeer(); break;
        case 5: _t->signalUdpWaitingTooLong(); break;
        case 6: _t->signalQueueLengthChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->signalAudioStarted(); break;
        case 8: _t->slotStopProcesses(); break;
        case 9: _t->slotStopProcessesDueToError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->slotUdpWaitingTooLongClientGoneProbably((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->slotUdpWaitingTooLong(); break;
        case 12: _t->slotPrintTest(); break;
        case 13: _t->slotReceivedConnectionFromPeer(); break;
        case 14: _t->onStatTimer(); break;
        case 15: _t->receivedConnectionTCP(); break;
        case 16: _t->receivedDataTCP(); break;
        case 17: _t->receivedErrorTCP((*reinterpret_cast<std::add_pointer_t<QAbstractSocket::SocketError>>(_a[1]))); break;
        case 18: _t->connectionSecured(); break;
        case 19: _t->receivedFirstPacketUDP(); break;
        case 20: _t->udpTimerTick(); break;
        case 21: _t->tcpTimerTick(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)()>(_a, &JackTrip::signalProcessesStopped, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)()>(_a, &JackTrip::signalNoUdpPacketsForSeconds, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)()>(_a, &JackTrip::signalTcpClientConnected, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)(const QString & )>(_a, &JackTrip::signalError, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)()>(_a, &JackTrip::signalReceivedConnectionFromPeer, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)()>(_a, &JackTrip::signalUdpWaitingTooLong, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)(int )>(_a, &JackTrip::signalQueueLengthChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (JackTrip::*)()>(_a, &JackTrip::signalAudioStarted, 7))
            return;
    }
}

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

void *JackTrip::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8JackTripE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int JackTrip::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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 22;
    }
    return _id;
}

// SIGNAL 0
void JackTrip::signalProcessesStopped()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void JackTrip::signalNoUdpPacketsForSeconds()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void JackTrip::signalTcpClientConnected()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void JackTrip::signalError(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void JackTrip::signalReceivedConnectionFromPeer()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void JackTrip::signalUdpWaitingTooLong()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void JackTrip::signalQueueLengthChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void JackTrip::signalAudioStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
