API reference - Class QRadioTunerControl

Notation used in Ruby API documentation

Module: QtMultimedia

Description: Binding of QRadioTunerControl

Class hierarchy: QRadioTunerControl » QMediaControl » QObject

Public methods

void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidantennaConnectedChanged(bool connectionStatus)Method void QRadioTunerControl::antennaConnectedChanged(bool connectionStatus)
[const]QRadioTuner_BandbandVirtual method QRadioTuner::Band QRadioTunerControl::band()
voidband=(const QRadioTuner_Band b)Method void QRadioTunerControl::setBand(QRadioTuner::Band b)
voidbandChanged(const QRadioTuner_Band band)Method void QRadioTunerControl::bandChanged(QRadioTuner::Band band)
voidcancelSearchVirtual method void QRadioTunerControl::cancelSearch()
[const]QRadioTuner_ErrorerrorVirtual method QRadioTuner::Error QRadioTunerControl::error()
[const]stringerrorStringVirtual method QString QRadioTunerControl::errorString()
voiderror_sig(const QRadioTuner_Error err)Method void QRadioTunerControl::error(QRadioTuner::Error err)
boolevent(QEvent ptr arg1)Virtual method bool QRadioTunerControl::event(QEvent *)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QRadioTunerControl::eventFilter(QObject *, QEvent *)
[const]intfrequencyVirtual method int QRadioTunerControl::frequency()
voidfrequency=(int frequency)Method void QRadioTunerControl::setFrequency(int frequency)
voidfrequencyChanged(int frequency)Method void QRadioTunerControl::frequencyChanged(int frequency)
[const]QPair_int_intfrequencyRange(const QRadioTuner_Band b)Virtual method QPair<int, int> QRadioTunerControl::frequencyRange(QRadioTuner::Band b)
[const]intfrequencyStep(const QRadioTuner_Band b)Virtual method int QRadioTunerControl::frequencyStep(QRadioTuner::Band b)
[const]boolisAntennaConnectedVirtual method bool QRadioTunerControl::isAntennaConnected()
[const]boolisAntennaConnected?Method bool QRadioTunerControl::isAntennaConnected()
[const]boolisBandSupported(const QRadioTuner_Band b)Virtual method bool QRadioTunerControl::isBandSupported(QRadioTuner::Band b)
[const]boolisBandSupported?(const QRadioTuner_Band b)Method bool QRadioTunerControl::isBandSupported(QRadioTuner::Band b)
[const]boolisMutedVirtual method bool QRadioTunerControl::isMuted()
[const]boolisMuted?Method bool QRadioTunerControl::isMuted()
[const]boolisSearchingVirtual method bool QRadioTunerControl::isSearching()
[const]boolisSearching?Method bool QRadioTunerControl::isSearching()
[const]boolisStereoVirtual method bool QRadioTunerControl::isStereo()
[const]boolisStereo?Method bool QRadioTunerControl::isStereo()
[const]boolmutedMethod bool QRadioTunerControl::isMuted()
voidmuted=(bool muted)Method void QRadioTunerControl::setMuted(bool muted)
voidmutedChanged(bool muted)Method void QRadioTunerControl::mutedChanged(bool muted)
voidsearchAllStations(const QRadioTuner_SearchMode searchMode)Virtual method void QRadioTunerControl::searchAllStations(QRadioTuner::SearchMode searchMode)
voidsearchBackwardVirtual method void QRadioTunerControl::searchBackward()
voidsearchForwardVirtual method void QRadioTunerControl::searchForward()
voidsearchingChanged(bool searching)Method void QRadioTunerControl::searchingChanged(bool searching)
voidsetBand(const QRadioTuner_Band b)Virtual method void QRadioTunerControl::setBand(QRadioTuner::Band b)
voidsetFrequency(int frequency)Virtual method void QRadioTunerControl::setFrequency(int frequency)
voidsetMuted(bool muted)Virtual method void QRadioTunerControl::setMuted(bool muted)
voidsetStereoMode(const QRadioTuner_StereoMode mode)Virtual method void QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mode)
voidsetVolume(int volume)Virtual method void QRadioTunerControl::setVolume(int volume)
[const]intsignalStrengthVirtual method int QRadioTunerControl::signalStrength()
voidsignalStrengthChanged(int signalStrength)Method void QRadioTunerControl::signalStrengthChanged(int signalStrength)
voidstartVirtual method void QRadioTunerControl::start()
[const]QRadioTuner_StatestateVirtual method QRadioTuner::State QRadioTunerControl::state()
voidstateChanged(const QRadioTuner_State state)Method void QRadioTunerControl::stateChanged(QRadioTuner::State state)
voidstationFound(int frequency,
string stationId)
Method void QRadioTunerControl::stationFound(int frequency, QString stationId)
[const]QRadioTuner_StereoModestereoModeVirtual method QRadioTuner::StereoMode QRadioTunerControl::stereoMode()
voidstereoMode=(const QRadioTuner_StereoMode mode)Method void QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mode)
voidstereoStatusChanged(bool stereo)Method void QRadioTunerControl::stereoStatusChanged(bool stereo)
voidstopVirtual method void QRadioTunerControl::stop()
[const]intvolumeVirtual method int QRadioTunerControl::volume()
voidvolume=(int volume)Method void QRadioTunerControl::setVolume(int volume)
voidvolumeChanged(int volume)Method void QRadioTunerControl::volumeChanged(int volume)

Public static methods and constants

QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QRadioTunerControl::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QRadioTunerControl::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidchildEvent(QChildEvent ptr arg1)Virtual method void QRadioTunerControl::childEvent(QChildEvent *)
voidcustomEvent(QEvent ptr arg1)Virtual method void QRadioTunerControl::customEvent(QEvent *)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QRadioTunerControl::disconnectNotify(const QMetaMethod &signal)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QRadioTunerControl::isSignalConnected(const QMetaMethod &signal)
[const]intreceivers(string signal)Method int QRadioTunerControl::receivers(const char *signal)
[const]QObject ptrsenderMethod QObject *QRadioTunerControl::sender()
[const]intsenderSignalIndexMethod int QRadioTunerControl::senderSignalIndex()
voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QRadioTunerControl::timerEvent(QTimerEvent *)

Detailed description

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

antennaConnectedChanged

Signature: void antennaConnectedChanged (bool connectionStatus)

Description: Method void QRadioTunerControl::antennaConnectedChanged(bool connectionStatus)

band

Signature: [const] QRadioTuner_Band band

Description: Virtual method QRadioTuner::Band QRadioTunerControl::band()

This method can be reimplemented in a derived class.

band=

Signature: void band= (const QRadioTuner_Band b)

Description: Method void QRadioTunerControl::setBand(QRadioTuner::Band b)

Python specific notes:
The object exposes a writable attribute 'band'. This is the setter.

bandChanged

Signature: void bandChanged (const QRadioTuner_Band band)

Description: Method void QRadioTunerControl::bandChanged(QRadioTuner::Band band)

cancelSearch

Signature: void cancelSearch

Description: Virtual method void QRadioTunerControl::cancelSearch()

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QRadioTunerControl::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QRadioTunerControl::customEvent(QEvent *)

This method can be reimplemented in a derived class.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QRadioTunerControl::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

error

Signature: [const] QRadioTuner_Error error

Description: Virtual method QRadioTuner::Error QRadioTunerControl::error()

This method can be reimplemented in a derived class.

errorString

Signature: [const] string errorString

Description: Virtual method QString QRadioTunerControl::errorString()

This method can be reimplemented in a derived class.

error_sig

Signature: void error_sig (const QRadioTuner_Error err)

Description: Method void QRadioTunerControl::error(QRadioTuner::Error err)

event

Signature: bool event (QEvent ptr arg1)

Description: Virtual method bool QRadioTunerControl::event(QEvent *)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QRadioTunerControl::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

frequency

Signature: [const] int frequency

Description: Virtual method int QRadioTunerControl::frequency()

This method can be reimplemented in a derived class.

frequency=

Signature: void frequency= (int frequency)

Description: Method void QRadioTunerControl::setFrequency(int frequency)

Python specific notes:
The object exposes a writable attribute 'frequency'. This is the setter.

frequencyChanged

Signature: void frequencyChanged (int frequency)

Description: Method void QRadioTunerControl::frequencyChanged(int frequency)

frequencyRange

Signature: [const] QPair_int_int frequencyRange (const QRadioTuner_Band b)

Description: Virtual method QPair<int, int> QRadioTunerControl::frequencyRange(QRadioTuner::Band b)

This method can be reimplemented in a derived class.

frequencyStep

Signature: [const] int frequencyStep (const QRadioTuner_Band b)

Description: Virtual method int QRadioTunerControl::frequencyStep(QRadioTuner::Band b)

This method can be reimplemented in a derived class.

isAntennaConnected

Signature: [const] bool isAntennaConnected

Description: Virtual method bool QRadioTunerControl::isAntennaConnected()

This method can be reimplemented in a derived class.

isAntennaConnected?

Signature: [const] bool isAntennaConnected?

Description: Method bool QRadioTunerControl::isAntennaConnected()

isBandSupported

Signature: [const] bool isBandSupported (const QRadioTuner_Band b)

Description: Virtual method bool QRadioTunerControl::isBandSupported(QRadioTuner::Band b)

This method can be reimplemented in a derived class.

isBandSupported?

Signature: [const] bool isBandSupported? (const QRadioTuner_Band b)

Description: Method bool QRadioTunerControl::isBandSupported(QRadioTuner::Band b)

isMuted

Signature: [const] bool isMuted

Description: Virtual method bool QRadioTunerControl::isMuted()

This method can be reimplemented in a derived class.

isMuted?

Signature: [const] bool isMuted?

Description: Method bool QRadioTunerControl::isMuted()

Python specific notes:
The object exposes a readable attribute 'muted'. This is the getter.

isSearching

Signature: [const] bool isSearching

Description: Virtual method bool QRadioTunerControl::isSearching()

This method can be reimplemented in a derived class.

isSearching?

Signature: [const] bool isSearching?

Description: Method bool QRadioTunerControl::isSearching()

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QRadioTunerControl::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

isStereo

Signature: [const] bool isStereo

Description: Virtual method bool QRadioTunerControl::isStereo()

This method can be reimplemented in a derived class.

isStereo?

Signature: [const] bool isStereo?

Description: Method bool QRadioTunerControl::isStereo()

muted

Signature: [const] bool muted

Description: Method bool QRadioTunerControl::isMuted()

Python specific notes:
The object exposes a readable attribute 'muted'. This is the getter.

muted=

Signature: void muted= (bool muted)

Description: Method void QRadioTunerControl::setMuted(bool muted)

Python specific notes:
The object exposes a writable attribute 'muted'. This is the setter.

mutedChanged

Signature: void mutedChanged (bool muted)

Description: Method void QRadioTunerControl::mutedChanged(bool muted)

receivers

Signature: [const] int receivers (string signal)

Description: Method int QRadioTunerControl::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

searchAllStations

Signature: void searchAllStations (const QRadioTuner_SearchMode searchMode)

Description: Virtual method void QRadioTunerControl::searchAllStations(QRadioTuner::SearchMode searchMode)

This method can be reimplemented in a derived class.

searchBackward

Signature: void searchBackward

Description: Virtual method void QRadioTunerControl::searchBackward()

This method can be reimplemented in a derived class.

searchForward

Signature: void searchForward

Description: Virtual method void QRadioTunerControl::searchForward()

This method can be reimplemented in a derived class.

searchingChanged

Signature: void searchingChanged (bool searching)

Description: Method void QRadioTunerControl::searchingChanged(bool searching)

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QRadioTunerControl::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QRadioTunerControl::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setBand

Signature: void setBand (const QRadioTuner_Band b)

Description: Virtual method void QRadioTunerControl::setBand(QRadioTuner::Band b)

This method can be reimplemented in a derived class.

setFrequency

Signature: void setFrequency (int frequency)

Description: Virtual method void QRadioTunerControl::setFrequency(int frequency)

This method can be reimplemented in a derived class.

setMuted

Signature: void setMuted (bool muted)

Description: Virtual method void QRadioTunerControl::setMuted(bool muted)

This method can be reimplemented in a derived class.

setStereoMode

Signature: void setStereoMode (const QRadioTuner_StereoMode mode)

Description: Virtual method void QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mode)

This method can be reimplemented in a derived class.

setVolume

Signature: void setVolume (int volume)

Description: Virtual method void QRadioTunerControl::setVolume(int volume)

This method can be reimplemented in a derived class.

signalStrength

Signature: [const] int signalStrength

Description: Virtual method int QRadioTunerControl::signalStrength()

This method can be reimplemented in a derived class.

signalStrengthChanged

Signature: void signalStrengthChanged (int signalStrength)

Description: Method void QRadioTunerControl::signalStrengthChanged(int signalStrength)

start

Signature: void start

Description: Virtual method void QRadioTunerControl::start()

This method can be reimplemented in a derived class.

state

Signature: [const] QRadioTuner_State state

Description: Virtual method QRadioTuner::State QRadioTunerControl::state()

This method can be reimplemented in a derived class.

stateChanged

Signature: void stateChanged (const QRadioTuner_State state)

Description: Method void QRadioTunerControl::stateChanged(QRadioTuner::State state)

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

stationFound

Signature: void stationFound (int frequency, string stationId)

Description: Method void QRadioTunerControl::stationFound(int frequency, QString stationId)

stereoMode

Signature: [const] QRadioTuner_StereoMode stereoMode

Description: Virtual method QRadioTuner::StereoMode QRadioTunerControl::stereoMode()

This method can be reimplemented in a derived class.

stereoMode=

Signature: void stereoMode= (const QRadioTuner_StereoMode mode)

Description: Method void QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mode)

Python specific notes:
The object exposes a writable attribute 'stereoMode'. This is the setter.

stereoStatusChanged

Signature: void stereoStatusChanged (bool stereo)

Description: Method void QRadioTunerControl::stereoStatusChanged(bool stereo)

stop

Signature: void stop

Description: Virtual method void QRadioTunerControl::stop()

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

Description: Virtual method void QRadioTunerControl::timerEvent(QTimerEvent *)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QRadioTunerControl::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QRadioTunerControl::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

volume

Signature: [const] int volume

Description: Virtual method int QRadioTunerControl::volume()

This method can be reimplemented in a derived class.

volume=

Signature: void volume= (int volume)

Description: Method void QRadioTunerControl::setVolume(int volume)

Python specific notes:
The object exposes a writable attribute 'volume'. This is the setter.

volumeChanged

Signature: void volumeChanged (int volume)

Description: Method void QRadioTunerControl::volumeChanged(int volume)