#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "gen_qradiotuner.h" #ifdef __cplusplus extern "C" { #endif void miqt_exec_callback_QRadioTuner_stateChanged(intptr_t, int); void miqt_exec_callback_QRadioTuner_bandChanged(intptr_t, int); void miqt_exec_callback_QRadioTuner_frequencyChanged(intptr_t, int); void miqt_exec_callback_QRadioTuner_stereoStatusChanged(intptr_t, bool); void miqt_exec_callback_QRadioTuner_searchingChanged(intptr_t, bool); void miqt_exec_callback_QRadioTuner_signalStrengthChanged(intptr_t, int); void miqt_exec_callback_QRadioTuner_volumeChanged(intptr_t, int); void miqt_exec_callback_QRadioTuner_mutedChanged(intptr_t, bool); void miqt_exec_callback_QRadioTuner_stationFound(intptr_t, int, struct miqt_string); void miqt_exec_callback_QRadioTuner_antennaConnectedChanged(intptr_t, bool); void miqt_exec_callback_QRadioTuner_errorWithError(intptr_t, int); int miqt_exec_callback_QRadioTuner_availability(const QRadioTuner*, intptr_t); bool miqt_exec_callback_QRadioTuner_isAvailable(const QRadioTuner*, intptr_t); QMediaService* miqt_exec_callback_QRadioTuner_service(const QRadioTuner*, intptr_t); bool miqt_exec_callback_QRadioTuner_bind(QRadioTuner*, intptr_t, QObject*); void miqt_exec_callback_QRadioTuner_unbind(QRadioTuner*, intptr_t, QObject*); bool miqt_exec_callback_QRadioTuner_event(QRadioTuner*, intptr_t, QEvent*); bool miqt_exec_callback_QRadioTuner_eventFilter(QRadioTuner*, intptr_t, QObject*, QEvent*); void miqt_exec_callback_QRadioTuner_timerEvent(QRadioTuner*, intptr_t, QTimerEvent*); void miqt_exec_callback_QRadioTuner_childEvent(QRadioTuner*, intptr_t, QChildEvent*); void miqt_exec_callback_QRadioTuner_customEvent(QRadioTuner*, intptr_t, QEvent*); void miqt_exec_callback_QRadioTuner_connectNotify(QRadioTuner*, intptr_t, QMetaMethod*); void miqt_exec_callback_QRadioTuner_disconnectNotify(QRadioTuner*, intptr_t, QMetaMethod*); #ifdef __cplusplus } /* extern C */ #endif class MiqtVirtualQRadioTuner final : public QRadioTuner { public: MiqtVirtualQRadioTuner(): QRadioTuner() {}; MiqtVirtualQRadioTuner(QObject* parent): QRadioTuner(parent) {}; virtual ~MiqtVirtualQRadioTuner() override = default; // cgo.Handle value for overwritten implementation intptr_t handle__availability = 0; // Subclass to allow providing a Go implementation virtual QMultimedia::AvailabilityStatus availability() const override { if (handle__availability == 0) { return QRadioTuner::availability(); } int callback_return_value = miqt_exec_callback_QRadioTuner_availability(this, handle__availability); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_availability() const { QMultimedia::AvailabilityStatus _ret = QRadioTuner::availability(); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__isAvailable = 0; // Subclass to allow providing a Go implementation virtual bool isAvailable() const override { if (handle__isAvailable == 0) { return QRadioTuner::isAvailable(); } bool callback_return_value = miqt_exec_callback_QRadioTuner_isAvailable(this, handle__isAvailable); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_isAvailable() const { return QRadioTuner::isAvailable(); } // cgo.Handle value for overwritten implementation intptr_t handle__service = 0; // Subclass to allow providing a Go implementation virtual QMediaService* service() const override { if (handle__service == 0) { return QRadioTuner::service(); } QMediaService* callback_return_value = miqt_exec_callback_QRadioTuner_service(this, handle__service); return callback_return_value; } // Wrapper to allow calling protected method QMediaService* virtualbase_service() const { return QRadioTuner::service(); } // cgo.Handle value for overwritten implementation intptr_t handle__bind = 0; // Subclass to allow providing a Go implementation virtual bool bind(QObject* param1) override { if (handle__bind == 0) { return QRadioTuner::bind(param1); } QObject* sigval1 = param1; bool callback_return_value = miqt_exec_callback_QRadioTuner_bind(this, handle__bind, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_bind(QObject* param1) { return QRadioTuner::bind(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__unbind = 0; // Subclass to allow providing a Go implementation virtual void unbind(QObject* param1) override { if (handle__unbind == 0) { QRadioTuner::unbind(param1); return; } QObject* sigval1 = param1; miqt_exec_callback_QRadioTuner_unbind(this, handle__unbind, sigval1); } // Wrapper to allow calling protected method void virtualbase_unbind(QObject* param1) { QRadioTuner::unbind(param1); } // 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 QRadioTuner::event(event); } QEvent* sigval1 = event; bool callback_return_value = miqt_exec_callback_QRadioTuner_event(this, handle__event, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_event(QEvent* event) { return QRadioTuner::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 QRadioTuner::eventFilter(watched, event); } QObject* sigval1 = watched; QEvent* sigval2 = event; bool callback_return_value = miqt_exec_callback_QRadioTuner_eventFilter(this, handle__eventFilter, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_eventFilter(QObject* watched, QEvent* event) { return QRadioTuner::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) { QRadioTuner::timerEvent(event); return; } QTimerEvent* sigval1 = event; miqt_exec_callback_QRadioTuner_timerEvent(this, handle__timerEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_timerEvent(QTimerEvent* event) { QRadioTuner::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) { QRadioTuner::childEvent(event); return; } QChildEvent* sigval1 = event; miqt_exec_callback_QRadioTuner_childEvent(this, handle__childEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_childEvent(QChildEvent* event) { QRadioTuner::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) { QRadioTuner::customEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QRadioTuner_customEvent(this, handle__customEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_customEvent(QEvent* event) { QRadioTuner::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) { QRadioTuner::connectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QRadioTuner_connectNotify(this, handle__connectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_connectNotify(QMetaMethod* signal) { QRadioTuner::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) { QRadioTuner::disconnectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QRadioTuner_disconnectNotify(this, handle__disconnectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_disconnectNotify(QMetaMethod* signal) { QRadioTuner::disconnectNotify(*signal); } }; QRadioTuner* QRadioTuner_new() { return new MiqtVirtualQRadioTuner(); } QRadioTuner* QRadioTuner_new2(QObject* parent) { return new MiqtVirtualQRadioTuner(parent); } void QRadioTuner_virtbase(QRadioTuner* src, QMediaObject** outptr_QMediaObject) { *outptr_QMediaObject = static_cast(src); } QMetaObject* QRadioTuner_metaObject(const QRadioTuner* self) { return (QMetaObject*) self->metaObject(); } void* QRadioTuner_metacast(QRadioTuner* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QRadioTuner_tr(const char* s) { QString _ret = QRadioTuner::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; } struct miqt_string QRadioTuner_trUtf8(const char* s) { QString _ret = QRadioTuner::trUtf8(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; } int QRadioTuner_availability(const QRadioTuner* self) { QMultimedia::AvailabilityStatus _ret = self->availability(); return static_cast(_ret); } int QRadioTuner_state(const QRadioTuner* self) { QRadioTuner::State _ret = self->state(); return static_cast(_ret); } int QRadioTuner_band(const QRadioTuner* self) { QRadioTuner::Band _ret = self->band(); return static_cast(_ret); } bool QRadioTuner_isBandSupported(const QRadioTuner* self, int b) { return self->isBandSupported(static_cast(b)); } int QRadioTuner_frequency(const QRadioTuner* self) { return self->frequency(); } int QRadioTuner_frequencyStep(const QRadioTuner* self, int band) { return self->frequencyStep(static_cast(band)); } struct miqt_map /* tuple of int and int */ QRadioTuner_frequencyRange(const QRadioTuner* self, int band) { QPair _ret = self->frequencyRange(static_cast(band)); // Convert QPair<> from C++ memory to manually-managed C memory int* _first_arr = static_cast(malloc(sizeof(int))); int* _second_arr = static_cast(malloc(sizeof(int))); _first_arr[0] = _ret.first; _second_arr[0] = _ret.second; struct miqt_map _out; _out.len = 1; _out.keys = static_cast(_first_arr); _out.values = static_cast(_second_arr); return _out; } bool QRadioTuner_isStereo(const QRadioTuner* self) { return self->isStereo(); } void QRadioTuner_setStereoMode(QRadioTuner* self, int mode) { self->setStereoMode(static_cast(mode)); } int QRadioTuner_stereoMode(const QRadioTuner* self) { QRadioTuner::StereoMode _ret = self->stereoMode(); return static_cast(_ret); } int QRadioTuner_signalStrength(const QRadioTuner* self) { return self->signalStrength(); } int QRadioTuner_volume(const QRadioTuner* self) { return self->volume(); } bool QRadioTuner_isMuted(const QRadioTuner* self) { return self->isMuted(); } bool QRadioTuner_isSearching(const QRadioTuner* self) { return self->isSearching(); } bool QRadioTuner_isAntennaConnected(const QRadioTuner* self) { return self->isAntennaConnected(); } int QRadioTuner_error(const QRadioTuner* self) { QRadioTuner::Error _ret = self->error(); return static_cast(_ret); } struct miqt_string QRadioTuner_errorString(const QRadioTuner* self) { QString _ret = self->errorString(); // 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; } QRadioData* QRadioTuner_radioData(const QRadioTuner* self) { return self->radioData(); } void QRadioTuner_searchForward(QRadioTuner* self) { self->searchForward(); } void QRadioTuner_searchBackward(QRadioTuner* self) { self->searchBackward(); } void QRadioTuner_searchAllStations(QRadioTuner* self) { self->searchAllStations(); } void QRadioTuner_cancelSearch(QRadioTuner* self) { self->cancelSearch(); } void QRadioTuner_setBand(QRadioTuner* self, int band) { self->setBand(static_cast(band)); } void QRadioTuner_setFrequency(QRadioTuner* self, int frequency) { self->setFrequency(static_cast(frequency)); } void QRadioTuner_setVolume(QRadioTuner* self, int volume) { self->setVolume(static_cast(volume)); } void QRadioTuner_setMuted(QRadioTuner* self, bool muted) { self->setMuted(muted); } void QRadioTuner_start(QRadioTuner* self) { self->start(); } void QRadioTuner_stop(QRadioTuner* self) { self->stop(); } void QRadioTuner_stateChanged(QRadioTuner* self, int state) { self->stateChanged(static_cast(state)); } void QRadioTuner_connect_stateChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::stateChanged), self, [=](QRadioTuner::State state) { QRadioTuner::State state_ret = state; int sigval1 = static_cast(state_ret); miqt_exec_callback_QRadioTuner_stateChanged(slot, sigval1); }); } void QRadioTuner_bandChanged(QRadioTuner* self, int band) { self->bandChanged(static_cast(band)); } void QRadioTuner_connect_bandChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::bandChanged), self, [=](QRadioTuner::Band band) { QRadioTuner::Band band_ret = band; int sigval1 = static_cast(band_ret); miqt_exec_callback_QRadioTuner_bandChanged(slot, sigval1); }); } void QRadioTuner_frequencyChanged(QRadioTuner* self, int frequency) { self->frequencyChanged(static_cast(frequency)); } void QRadioTuner_connect_frequencyChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::frequencyChanged), self, [=](int frequency) { int sigval1 = frequency; miqt_exec_callback_QRadioTuner_frequencyChanged(slot, sigval1); }); } void QRadioTuner_stereoStatusChanged(QRadioTuner* self, bool stereo) { self->stereoStatusChanged(stereo); } void QRadioTuner_connect_stereoStatusChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::stereoStatusChanged), self, [=](bool stereo) { bool sigval1 = stereo; miqt_exec_callback_QRadioTuner_stereoStatusChanged(slot, sigval1); }); } void QRadioTuner_searchingChanged(QRadioTuner* self, bool searching) { self->searchingChanged(searching); } void QRadioTuner_connect_searchingChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::searchingChanged), self, [=](bool searching) { bool sigval1 = searching; miqt_exec_callback_QRadioTuner_searchingChanged(slot, sigval1); }); } void QRadioTuner_signalStrengthChanged(QRadioTuner* self, int signalStrength) { self->signalStrengthChanged(static_cast(signalStrength)); } void QRadioTuner_connect_signalStrengthChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::signalStrengthChanged), self, [=](int signalStrength) { int sigval1 = signalStrength; miqt_exec_callback_QRadioTuner_signalStrengthChanged(slot, sigval1); }); } void QRadioTuner_volumeChanged(QRadioTuner* self, int volume) { self->volumeChanged(static_cast(volume)); } void QRadioTuner_connect_volumeChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::volumeChanged), self, [=](int volume) { int sigval1 = volume; miqt_exec_callback_QRadioTuner_volumeChanged(slot, sigval1); }); } void QRadioTuner_mutedChanged(QRadioTuner* self, bool muted) { self->mutedChanged(muted); } void QRadioTuner_connect_mutedChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::mutedChanged), self, [=](bool muted) { bool sigval1 = muted; miqt_exec_callback_QRadioTuner_mutedChanged(slot, sigval1); }); } void QRadioTuner_stationFound(QRadioTuner* self, int frequency, struct miqt_string stationId) { QString stationId_QString = QString::fromUtf8(stationId.data, stationId.len); self->stationFound(static_cast(frequency), stationId_QString); } void QRadioTuner_connect_stationFound(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::stationFound), self, [=](int frequency, QString stationId) { int sigval1 = frequency; QString stationId_ret = stationId; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray stationId_b = stationId_ret.toUtf8(); struct miqt_string stationId_ms; stationId_ms.len = stationId_b.length(); stationId_ms.data = static_cast(malloc(stationId_ms.len)); memcpy(stationId_ms.data, stationId_b.data(), stationId_ms.len); struct miqt_string sigval2 = stationId_ms; miqt_exec_callback_QRadioTuner_stationFound(slot, sigval1, sigval2); }); } void QRadioTuner_antennaConnectedChanged(QRadioTuner* self, bool connectionStatus) { self->antennaConnectedChanged(connectionStatus); } void QRadioTuner_connect_antennaConnectedChanged(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::antennaConnectedChanged), self, [=](bool connectionStatus) { bool sigval1 = connectionStatus; miqt_exec_callback_QRadioTuner_antennaConnectedChanged(slot, sigval1); }); } void QRadioTuner_errorWithError(QRadioTuner* self, int error) { self->error(static_cast(error)); } void QRadioTuner_connect_errorWithError(QRadioTuner* self, intptr_t slot) { MiqtVirtualQRadioTuner::connect(self, static_cast(&QRadioTuner::error), self, [=](QRadioTuner::Error error) { QRadioTuner::Error error_ret = error; int sigval1 = static_cast(error_ret); miqt_exec_callback_QRadioTuner_errorWithError(slot, sigval1); }); } struct miqt_string QRadioTuner_tr2(const char* s, const char* c) { QString _ret = QRadioTuner::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 QRadioTuner_tr3(const char* s, const char* c, int n) { QString _ret = QRadioTuner::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; } struct miqt_string QRadioTuner_trUtf82(const char* s, const char* c) { QString _ret = QRadioTuner::trUtf8(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 QRadioTuner_trUtf83(const char* s, const char* c, int n) { QString _ret = QRadioTuner::trUtf8(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; } void QRadioTuner_searchAllStations1(QRadioTuner* self, int searchMode) { self->searchAllStations(static_cast(searchMode)); } bool QRadioTuner_override_virtual_availability(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__availability = slot; return true; } int QRadioTuner_virtualbase_availability(const void* self) { return ( (const MiqtVirtualQRadioTuner*)(self) )->virtualbase_availability(); } bool QRadioTuner_override_virtual_isAvailable(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__isAvailable = slot; return true; } bool QRadioTuner_virtualbase_isAvailable(const void* self) { return ( (const MiqtVirtualQRadioTuner*)(self) )->virtualbase_isAvailable(); } bool QRadioTuner_override_virtual_service(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__service = slot; return true; } QMediaService* QRadioTuner_virtualbase_service(const void* self) { return ( (const MiqtVirtualQRadioTuner*)(self) )->virtualbase_service(); } bool QRadioTuner_override_virtual_bind(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__bind = slot; return true; } bool QRadioTuner_virtualbase_bind(void* self, QObject* param1) { return ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_bind(param1); } bool QRadioTuner_override_virtual_unbind(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__unbind = slot; return true; } void QRadioTuner_virtualbase_unbind(void* self, QObject* param1) { ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_unbind(param1); } bool QRadioTuner_override_virtual_event(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__event = slot; return true; } bool QRadioTuner_virtualbase_event(void* self, QEvent* event) { return ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_event(event); } bool QRadioTuner_override_virtual_eventFilter(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__eventFilter = slot; return true; } bool QRadioTuner_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) { return ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_eventFilter(watched, event); } bool QRadioTuner_override_virtual_timerEvent(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__timerEvent = slot; return true; } void QRadioTuner_virtualbase_timerEvent(void* self, QTimerEvent* event) { ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_timerEvent(event); } bool QRadioTuner_override_virtual_childEvent(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__childEvent = slot; return true; } void QRadioTuner_virtualbase_childEvent(void* self, QChildEvent* event) { ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_childEvent(event); } bool QRadioTuner_override_virtual_customEvent(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__customEvent = slot; return true; } void QRadioTuner_virtualbase_customEvent(void* self, QEvent* event) { ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_customEvent(event); } bool QRadioTuner_override_virtual_connectNotify(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__connectNotify = slot; return true; } void QRadioTuner_virtualbase_connectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_connectNotify(signal); } bool QRadioTuner_override_virtual_disconnectNotify(void* self, intptr_t slot) { MiqtVirtualQRadioTuner* self_cast = dynamic_cast( (QRadioTuner*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__disconnectNotify = slot; return true; } void QRadioTuner_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQRadioTuner*)(self) )->virtualbase_disconnectNotify(signal); } void QRadioTuner_delete(QRadioTuner* self) { delete self; }