#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "gen_qwavedecoder.h" #ifdef __cplusplus extern "C" { #endif void miqt_exec_callback_QWaveDecoder_FormatKnown(intptr_t); void miqt_exec_callback_QWaveDecoder_ParsingError(intptr_t); bool miqt_exec_callback_QWaveDecoder_Open(void*, intptr_t, int); void miqt_exec_callback_QWaveDecoder_Close(void*, intptr_t); bool miqt_exec_callback_QWaveDecoder_Seek(void*, intptr_t, long long); long long miqt_exec_callback_QWaveDecoder_Pos(void*, intptr_t); long long miqt_exec_callback_QWaveDecoder_Size(void*, intptr_t); bool miqt_exec_callback_QWaveDecoder_IsSequential(void*, intptr_t); long long miqt_exec_callback_QWaveDecoder_BytesAvailable(void*, intptr_t); bool miqt_exec_callback_QWaveDecoder_AtEnd(void*, intptr_t); bool miqt_exec_callback_QWaveDecoder_Reset(void*, intptr_t); long long miqt_exec_callback_QWaveDecoder_BytesToWrite(void*, intptr_t); bool miqt_exec_callback_QWaveDecoder_CanReadLine(void*, intptr_t); bool miqt_exec_callback_QWaveDecoder_WaitForReadyRead(void*, intptr_t, int); bool miqt_exec_callback_QWaveDecoder_WaitForBytesWritten(void*, intptr_t, int); long long miqt_exec_callback_QWaveDecoder_ReadLineData(void*, intptr_t, char*, long long); long long miqt_exec_callback_QWaveDecoder_SkipData(void*, intptr_t, long long); bool miqt_exec_callback_QWaveDecoder_Event(void*, intptr_t, QEvent*); bool miqt_exec_callback_QWaveDecoder_EventFilter(void*, intptr_t, QObject*, QEvent*); void miqt_exec_callback_QWaveDecoder_TimerEvent(void*, intptr_t, QTimerEvent*); void miqt_exec_callback_QWaveDecoder_ChildEvent(void*, intptr_t, QChildEvent*); void miqt_exec_callback_QWaveDecoder_CustomEvent(void*, intptr_t, QEvent*); void miqt_exec_callback_QWaveDecoder_ConnectNotify(void*, intptr_t, QMetaMethod*); void miqt_exec_callback_QWaveDecoder_DisconnectNotify(void*, intptr_t, QMetaMethod*); #ifdef __cplusplus } /* extern C */ #endif class MiqtVirtualQWaveDecoder final : public QWaveDecoder { public: MiqtVirtualQWaveDecoder(QIODevice* device): QWaveDecoder(device) {}; MiqtVirtualQWaveDecoder(QIODevice* device, const QAudioFormat& format): QWaveDecoder(device, format) {}; MiqtVirtualQWaveDecoder(QIODevice* device, QObject* parent): QWaveDecoder(device, parent) {}; MiqtVirtualQWaveDecoder(QIODevice* device, const QAudioFormat& format, QObject* parent): QWaveDecoder(device, format, parent) {}; virtual ~MiqtVirtualQWaveDecoder() override = default; // cgo.Handle value for overwritten implementation intptr_t handle__Open = 0; // Subclass to allow providing a Go implementation virtual bool open(QIODevice::OpenMode mode) override { if (handle__Open == 0) { return QWaveDecoder::open(mode); } QIODevice::OpenMode mode_ret = mode; int sigval1 = static_cast(mode_ret); bool callback_return_value = miqt_exec_callback_QWaveDecoder_Open(this, handle__Open, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_Open(int mode) { return QWaveDecoder::open(static_cast(mode)); } // cgo.Handle value for overwritten implementation intptr_t handle__Close = 0; // Subclass to allow providing a Go implementation virtual void close() override { if (handle__Close == 0) { QWaveDecoder::close(); return; } miqt_exec_callback_QWaveDecoder_Close(this, handle__Close); } // Wrapper to allow calling protected method void virtualbase_Close() { QWaveDecoder::close(); } // cgo.Handle value for overwritten implementation intptr_t handle__Seek = 0; // Subclass to allow providing a Go implementation virtual bool seek(qint64 pos) override { if (handle__Seek == 0) { return QWaveDecoder::seek(pos); } qint64 pos_ret = pos; long long sigval1 = static_cast(pos_ret); bool callback_return_value = miqt_exec_callback_QWaveDecoder_Seek(this, handle__Seek, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_Seek(long long pos) { return QWaveDecoder::seek(static_cast(pos)); } // cgo.Handle value for overwritten implementation intptr_t handle__Pos = 0; // Subclass to allow providing a Go implementation virtual qint64 pos() const override { if (handle__Pos == 0) { return QWaveDecoder::pos(); } long long callback_return_value = miqt_exec_callback_QWaveDecoder_Pos(const_cast(this), handle__Pos); return static_cast(callback_return_value); } // Wrapper to allow calling protected method long long virtualbase_Pos() const { qint64 _ret = QWaveDecoder::pos(); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__Size = 0; // Subclass to allow providing a Go implementation virtual qint64 size() const override { if (handle__Size == 0) { return QWaveDecoder::size(); } long long callback_return_value = miqt_exec_callback_QWaveDecoder_Size(const_cast(this), handle__Size); return static_cast(callback_return_value); } // Wrapper to allow calling protected method long long virtualbase_Size() const { qint64 _ret = QWaveDecoder::size(); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__IsSequential = 0; // Subclass to allow providing a Go implementation virtual bool isSequential() const override { if (handle__IsSequential == 0) { return QWaveDecoder::isSequential(); } bool callback_return_value = miqt_exec_callback_QWaveDecoder_IsSequential(const_cast(this), handle__IsSequential); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_IsSequential() const { return QWaveDecoder::isSequential(); } // cgo.Handle value for overwritten implementation intptr_t handle__BytesAvailable = 0; // Subclass to allow providing a Go implementation virtual qint64 bytesAvailable() const override { if (handle__BytesAvailable == 0) { return QWaveDecoder::bytesAvailable(); } long long callback_return_value = miqt_exec_callback_QWaveDecoder_BytesAvailable(const_cast(this), handle__BytesAvailable); return static_cast(callback_return_value); } // Wrapper to allow calling protected method long long virtualbase_BytesAvailable() const { qint64 _ret = QWaveDecoder::bytesAvailable(); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__AtEnd = 0; // Subclass to allow providing a Go implementation virtual bool atEnd() const override { if (handle__AtEnd == 0) { return QWaveDecoder::atEnd(); } bool callback_return_value = miqt_exec_callback_QWaveDecoder_AtEnd(const_cast(this), handle__AtEnd); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_AtEnd() const { return QWaveDecoder::atEnd(); } // cgo.Handle value for overwritten implementation intptr_t handle__Reset = 0; // Subclass to allow providing a Go implementation virtual bool reset() override { if (handle__Reset == 0) { return QWaveDecoder::reset(); } bool callback_return_value = miqt_exec_callback_QWaveDecoder_Reset(this, handle__Reset); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_Reset() { return QWaveDecoder::reset(); } // cgo.Handle value for overwritten implementation intptr_t handle__BytesToWrite = 0; // Subclass to allow providing a Go implementation virtual qint64 bytesToWrite() const override { if (handle__BytesToWrite == 0) { return QWaveDecoder::bytesToWrite(); } long long callback_return_value = miqt_exec_callback_QWaveDecoder_BytesToWrite(const_cast(this), handle__BytesToWrite); return static_cast(callback_return_value); } // Wrapper to allow calling protected method long long virtualbase_BytesToWrite() const { qint64 _ret = QWaveDecoder::bytesToWrite(); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__CanReadLine = 0; // Subclass to allow providing a Go implementation virtual bool canReadLine() const override { if (handle__CanReadLine == 0) { return QWaveDecoder::canReadLine(); } bool callback_return_value = miqt_exec_callback_QWaveDecoder_CanReadLine(const_cast(this), handle__CanReadLine); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_CanReadLine() const { return QWaveDecoder::canReadLine(); } // cgo.Handle value for overwritten implementation intptr_t handle__WaitForReadyRead = 0; // Subclass to allow providing a Go implementation virtual bool waitForReadyRead(int msecs) override { if (handle__WaitForReadyRead == 0) { return QWaveDecoder::waitForReadyRead(msecs); } int sigval1 = msecs; bool callback_return_value = miqt_exec_callback_QWaveDecoder_WaitForReadyRead(this, handle__WaitForReadyRead, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_WaitForReadyRead(int msecs) { return QWaveDecoder::waitForReadyRead(static_cast(msecs)); } // cgo.Handle value for overwritten implementation intptr_t handle__WaitForBytesWritten = 0; // Subclass to allow providing a Go implementation virtual bool waitForBytesWritten(int msecs) override { if (handle__WaitForBytesWritten == 0) { return QWaveDecoder::waitForBytesWritten(msecs); } int sigval1 = msecs; bool callback_return_value = miqt_exec_callback_QWaveDecoder_WaitForBytesWritten(this, handle__WaitForBytesWritten, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_WaitForBytesWritten(int msecs) { return QWaveDecoder::waitForBytesWritten(static_cast(msecs)); } // cgo.Handle value for overwritten implementation intptr_t handle__ReadLineData = 0; // Subclass to allow providing a Go implementation virtual qint64 readLineData(char* data, qint64 maxlen) override { if (handle__ReadLineData == 0) { return QWaveDecoder::readLineData(data, maxlen); } char* sigval1 = data; qint64 maxlen_ret = maxlen; long long sigval2 = static_cast(maxlen_ret); long long callback_return_value = miqt_exec_callback_QWaveDecoder_ReadLineData(this, handle__ReadLineData, sigval1, sigval2); return static_cast(callback_return_value); } // Wrapper to allow calling protected method long long virtualbase_ReadLineData(char* data, long long maxlen) { qint64 _ret = QWaveDecoder::readLineData(data, static_cast(maxlen)); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__SkipData = 0; // Subclass to allow providing a Go implementation virtual qint64 skipData(qint64 maxSize) override { if (handle__SkipData == 0) { return QWaveDecoder::skipData(maxSize); } qint64 maxSize_ret = maxSize; long long sigval1 = static_cast(maxSize_ret); long long callback_return_value = miqt_exec_callback_QWaveDecoder_SkipData(this, handle__SkipData, sigval1); return static_cast(callback_return_value); } // Wrapper to allow calling protected method long long virtualbase_SkipData(long long maxSize) { qint64 _ret = QWaveDecoder::skipData(static_cast(maxSize)); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__Event = 0; // Subclass to allow providing a Go implementation virtual bool event(QEvent* event) override { if (handle__Event == 0) { return QWaveDecoder::event(event); } QEvent* sigval1 = event; bool callback_return_value = miqt_exec_callback_QWaveDecoder_Event(this, handle__Event, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_Event(QEvent* event) { return QWaveDecoder::event(event); } // cgo.Handle value for overwritten implementation intptr_t handle__EventFilter = 0; // Subclass to allow providing a Go implementation virtual bool eventFilter(QObject* watched, QEvent* event) override { if (handle__EventFilter == 0) { return QWaveDecoder::eventFilter(watched, event); } QObject* sigval1 = watched; QEvent* sigval2 = event; bool callback_return_value = miqt_exec_callback_QWaveDecoder_EventFilter(this, handle__EventFilter, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_EventFilter(QObject* watched, QEvent* event) { return QWaveDecoder::eventFilter(watched, event); } // cgo.Handle value for overwritten implementation intptr_t handle__TimerEvent = 0; // Subclass to allow providing a Go implementation virtual void timerEvent(QTimerEvent* event) override { if (handle__TimerEvent == 0) { QWaveDecoder::timerEvent(event); return; } QTimerEvent* sigval1 = event; miqt_exec_callback_QWaveDecoder_TimerEvent(this, handle__TimerEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_TimerEvent(QTimerEvent* event) { QWaveDecoder::timerEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__ChildEvent = 0; // Subclass to allow providing a Go implementation virtual void childEvent(QChildEvent* event) override { if (handle__ChildEvent == 0) { QWaveDecoder::childEvent(event); return; } QChildEvent* sigval1 = event; miqt_exec_callback_QWaveDecoder_ChildEvent(this, handle__ChildEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ChildEvent(QChildEvent* event) { QWaveDecoder::childEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__CustomEvent = 0; // Subclass to allow providing a Go implementation virtual void customEvent(QEvent* event) override { if (handle__CustomEvent == 0) { QWaveDecoder::customEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QWaveDecoder_CustomEvent(this, handle__CustomEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_CustomEvent(QEvent* event) { QWaveDecoder::customEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__ConnectNotify = 0; // Subclass to allow providing a Go implementation virtual void connectNotify(const QMetaMethod& signal) override { if (handle__ConnectNotify == 0) { QWaveDecoder::connectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QWaveDecoder_ConnectNotify(this, handle__ConnectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_ConnectNotify(QMetaMethod* signal) { QWaveDecoder::connectNotify(*signal); } // cgo.Handle value for overwritten implementation intptr_t handle__DisconnectNotify = 0; // Subclass to allow providing a Go implementation virtual void disconnectNotify(const QMetaMethod& signal) override { if (handle__DisconnectNotify == 0) { QWaveDecoder::disconnectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QWaveDecoder_DisconnectNotify(this, handle__DisconnectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_DisconnectNotify(QMetaMethod* signal) { QWaveDecoder::disconnectNotify(*signal); } }; QWaveDecoder* QWaveDecoder_new(QIODevice* device) { return new MiqtVirtualQWaveDecoder(device); } QWaveDecoder* QWaveDecoder_new2(QIODevice* device, QAudioFormat* format) { return new MiqtVirtualQWaveDecoder(device, *format); } QWaveDecoder* QWaveDecoder_new3(QIODevice* device, QObject* parent) { return new MiqtVirtualQWaveDecoder(device, parent); } QWaveDecoder* QWaveDecoder_new4(QIODevice* device, QAudioFormat* format, QObject* parent) { return new MiqtVirtualQWaveDecoder(device, *format, parent); } void QWaveDecoder_virtbase(QWaveDecoder* src, QIODevice** outptr_QIODevice) { *outptr_QIODevice = static_cast(src); } QMetaObject* QWaveDecoder_MetaObject(const QWaveDecoder* self) { return (QMetaObject*) self->metaObject(); } void* QWaveDecoder_Metacast(QWaveDecoder* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QWaveDecoder_Tr(const char* s) { QString _ret = QWaveDecoder::tr(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } QAudioFormat* QWaveDecoder_AudioFormat(const QWaveDecoder* self) { return new QAudioFormat(self->audioFormat()); } QIODevice* QWaveDecoder_GetDevice(QWaveDecoder* self) { return self->getDevice(); } int QWaveDecoder_Duration(const QWaveDecoder* self) { return self->duration(); } long long QWaveDecoder_HeaderLength() { qint64 _ret = QWaveDecoder::headerLength(); return static_cast(_ret); } bool QWaveDecoder_Open(QWaveDecoder* self, int mode) { return self->open(static_cast(mode)); } void QWaveDecoder_Close(QWaveDecoder* self) { self->close(); } bool QWaveDecoder_Seek(QWaveDecoder* self, long long pos) { return self->seek(static_cast(pos)); } long long QWaveDecoder_Pos(const QWaveDecoder* self) { qint64 _ret = self->pos(); return static_cast(_ret); } long long QWaveDecoder_Size(const QWaveDecoder* self) { qint64 _ret = self->size(); return static_cast(_ret); } bool QWaveDecoder_IsSequential(const QWaveDecoder* self) { return self->isSequential(); } long long QWaveDecoder_BytesAvailable(const QWaveDecoder* self) { qint64 _ret = self->bytesAvailable(); return static_cast(_ret); } void QWaveDecoder_FormatKnown(QWaveDecoder* self) { self->formatKnown(); } void QWaveDecoder_connect_FormatKnown(QWaveDecoder* self, intptr_t slot) { MiqtVirtualQWaveDecoder::connect(self, static_cast(&QWaveDecoder::formatKnown), self, [=]() { miqt_exec_callback_QWaveDecoder_FormatKnown(slot); }); } void QWaveDecoder_ParsingError(QWaveDecoder* self) { self->parsingError(); } void QWaveDecoder_connect_ParsingError(QWaveDecoder* self, intptr_t slot) { MiqtVirtualQWaveDecoder::connect(self, static_cast(&QWaveDecoder::parsingError), self, [=]() { miqt_exec_callback_QWaveDecoder_ParsingError(slot); }); } struct miqt_string QWaveDecoder_Tr2(const char* s, const char* c) { QString _ret = QWaveDecoder::tr(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QWaveDecoder_Tr3(const char* s, const char* c, int n) { QString _ret = QWaveDecoder::tr(s, c, static_cast(n)); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } bool QWaveDecoder_override_virtual_Open(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__Open = slot; return true; } bool QWaveDecoder_virtualbase_Open(void* self, int mode) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_Open(mode); } bool QWaveDecoder_override_virtual_Close(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__Close = slot; return true; } void QWaveDecoder_virtualbase_Close(void* self) { ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_Close(); } bool QWaveDecoder_override_virtual_Seek(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__Seek = slot; return true; } bool QWaveDecoder_virtualbase_Seek(void* self, long long pos) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_Seek(pos); } bool QWaveDecoder_override_virtual_Pos(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__Pos = slot; return true; } long long QWaveDecoder_virtualbase_Pos(const void* self) { return ( (const MiqtVirtualQWaveDecoder*)(self) )->virtualbase_Pos(); } bool QWaveDecoder_override_virtual_Size(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__Size = slot; return true; } long long QWaveDecoder_virtualbase_Size(const void* self) { return ( (const MiqtVirtualQWaveDecoder*)(self) )->virtualbase_Size(); } bool QWaveDecoder_override_virtual_IsSequential(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__IsSequential = slot; return true; } bool QWaveDecoder_virtualbase_IsSequential(const void* self) { return ( (const MiqtVirtualQWaveDecoder*)(self) )->virtualbase_IsSequential(); } bool QWaveDecoder_override_virtual_BytesAvailable(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__BytesAvailable = slot; return true; } long long QWaveDecoder_virtualbase_BytesAvailable(const void* self) { return ( (const MiqtVirtualQWaveDecoder*)(self) )->virtualbase_BytesAvailable(); } bool QWaveDecoder_override_virtual_AtEnd(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__AtEnd = slot; return true; } bool QWaveDecoder_virtualbase_AtEnd(const void* self) { return ( (const MiqtVirtualQWaveDecoder*)(self) )->virtualbase_AtEnd(); } bool QWaveDecoder_override_virtual_Reset(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__Reset = slot; return true; } bool QWaveDecoder_virtualbase_Reset(void* self) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_Reset(); } bool QWaveDecoder_override_virtual_BytesToWrite(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__BytesToWrite = slot; return true; } long long QWaveDecoder_virtualbase_BytesToWrite(const void* self) { return ( (const MiqtVirtualQWaveDecoder*)(self) )->virtualbase_BytesToWrite(); } bool QWaveDecoder_override_virtual_CanReadLine(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__CanReadLine = slot; return true; } bool QWaveDecoder_virtualbase_CanReadLine(const void* self) { return ( (const MiqtVirtualQWaveDecoder*)(self) )->virtualbase_CanReadLine(); } bool QWaveDecoder_override_virtual_WaitForReadyRead(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__WaitForReadyRead = slot; return true; } bool QWaveDecoder_virtualbase_WaitForReadyRead(void* self, int msecs) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_WaitForReadyRead(msecs); } bool QWaveDecoder_override_virtual_WaitForBytesWritten(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__WaitForBytesWritten = slot; return true; } bool QWaveDecoder_virtualbase_WaitForBytesWritten(void* self, int msecs) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_WaitForBytesWritten(msecs); } bool QWaveDecoder_override_virtual_ReadLineData(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__ReadLineData = slot; return true; } long long QWaveDecoder_virtualbase_ReadLineData(void* self, char* data, long long maxlen) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_ReadLineData(data, maxlen); } bool QWaveDecoder_override_virtual_SkipData(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__SkipData = slot; return true; } long long QWaveDecoder_virtualbase_SkipData(void* self, long long maxSize) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_SkipData(maxSize); } bool QWaveDecoder_override_virtual_Event(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__Event = slot; return true; } bool QWaveDecoder_virtualbase_Event(void* self, QEvent* event) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_Event(event); } bool QWaveDecoder_override_virtual_EventFilter(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__EventFilter = slot; return true; } bool QWaveDecoder_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event) { return ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_EventFilter(watched, event); } bool QWaveDecoder_override_virtual_TimerEvent(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__TimerEvent = slot; return true; } void QWaveDecoder_virtualbase_TimerEvent(void* self, QTimerEvent* event) { ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_TimerEvent(event); } bool QWaveDecoder_override_virtual_ChildEvent(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__ChildEvent = slot; return true; } void QWaveDecoder_virtualbase_ChildEvent(void* self, QChildEvent* event) { ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_ChildEvent(event); } bool QWaveDecoder_override_virtual_CustomEvent(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__CustomEvent = slot; return true; } void QWaveDecoder_virtualbase_CustomEvent(void* self, QEvent* event) { ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_CustomEvent(event); } bool QWaveDecoder_override_virtual_ConnectNotify(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__ConnectNotify = slot; return true; } void QWaveDecoder_virtualbase_ConnectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_ConnectNotify(signal); } bool QWaveDecoder_override_virtual_DisconnectNotify(void* self, intptr_t slot) { MiqtVirtualQWaveDecoder* self_cast = dynamic_cast( (QWaveDecoder*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__DisconnectNotify = slot; return true; } void QWaveDecoder_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQWaveDecoder*)(self) )->virtualbase_DisconnectNotify(signal); } void QWaveDecoder_Delete(QWaveDecoder* self) { delete self; }