diff options
Diffstat (limited to 'kradio3/src/radiodevice_interfaces.cpp')
-rw-r--r-- | kradio3/src/radiodevice_interfaces.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kradio3/src/radiodevice_interfaces.cpp b/kradio3/src/radiodevice_interfaces.cpp index 0a75a8b..a1e7fde 100644 --- a/kradio3/src/radiodevice_interfaces.cpp +++ b/kradio3/src/radiodevice_interfaces.cpp @@ -43,22 +43,22 @@ IF_IMPL_SENDER ( IRadioDeviceClient::sendPowerOff(), IF_IMPL_SENDER ( IRadioDeviceClient::sendActivateStation(const RadioStation &rs), activateStation(rs) ); -IF_IMPL_TQUERY ( bool IRadioDeviceClient::queryIsPowerOn(), +IF_IMPL_QUERY ( bool IRadioDeviceClient::queryIsPowerOn(), isPowerOn(), false ); -IF_IMPL_TQUERY ( bool IRadioDeviceClient::queryIsPowerOff(), +IF_IMPL_QUERY ( bool IRadioDeviceClient::queryIsPowerOff(), isPowerOff(), true ); -IF_IMPL_TQUERY ( const RadioStation & IRadioDeviceClient::queryCurrentStation(), +IF_IMPL_QUERY ( const RadioStation & IRadioDeviceClient::queryCurrentStation(), getCurrentStation(), undefinedRadioStation ); static TQString IRadioDeviceClient_unknown("unknown"); -IF_IMPL_TQUERY ( const TQString & IRadioDeviceClient::queryDescription(), +IF_IMPL_QUERY ( const TQString & IRadioDeviceClient::queryDescription(), getDescription(), IRadioDeviceClient_unknown ); -IF_IMPL_TQUERY ( SoundStreamID IRadioDeviceClient::queryCurrentSoundStreamID(), +IF_IMPL_QUERY ( SoundStreamID IRadioDeviceClient::queryCurrentSoundStreamID(), getCurrentSoundStreamID(), SoundStreamID::InvalidID ); @@ -120,31 +120,31 @@ IF_IMPL_SENDER ( IRadioSoundClient::sendSignalMinQuality (float q), IF_IMPL_SENDER ( IRadioSoundClient::sendStereo(bool s), setStereo(s) ) -IF_IMPL_TQUERY ( float IRadioSoundClient::queryVolume(), +IF_IMPL_QUERY ( float IRadioSoundClient::queryVolume(), getVolume(), 0.0 ) -IF_IMPL_TQUERY ( float IRadioSoundClient::queryTreble(), +IF_IMPL_QUERY ( float IRadioSoundClient::queryTreble(), getTreble(), 0.0 ) -IF_IMPL_TQUERY ( float IRadioSoundClient::queryBass(), +IF_IMPL_QUERY ( float IRadioSoundClient::queryBass(), getBass(), 0.0 ) -IF_IMPL_TQUERY ( float IRadioSoundClient::queryBalance(), +IF_IMPL_QUERY ( float IRadioSoundClient::queryBalance(), getBalance(), 0.0 ) -IF_IMPL_TQUERY ( float IRadioSoundClient::querySignalQuality(), +IF_IMPL_QUERY ( float IRadioSoundClient::querySignalQuality(), getSignalQuality(), 0.0 ) -IF_IMPL_TQUERY ( float IRadioSoundClient::querySignalMinQuality(), +IF_IMPL_QUERY ( float IRadioSoundClient::querySignalMinQuality(), getSignalMinQuality(), 0.75 ) -IF_IMPL_TQUERY ( bool IRadioSoundClient::queryHasGoodQuality(), +IF_IMPL_QUERY ( bool IRadioSoundClient::queryHasGoodQuality(), hasGoodQuality(), false ) -IF_IMPL_TQUERY ( bool IRadioSoundClient::queryIsStereo(), +IF_IMPL_QUERY ( bool IRadioSoundClient::queryIsStereo(), isStereo(), false ) -IF_IMPL_TQUERY ( bool IRadioSoundClient::queryIsMuted(), +IF_IMPL_QUERY ( bool IRadioSoundClient::queryIsMuted(), isMuted(), true ) @@ -207,16 +207,16 @@ IF_IMPL_SENDER ( ISeekRadioClient::sendStartSeekDown(), IF_IMPL_SENDER ( ISeekRadioClient::sendStopSeek(), stopSeek() ); -IF_IMPL_TQUERY ( bool ISeekRadioClient::queryIsSeekRunning(), +IF_IMPL_QUERY ( bool ISeekRadioClient::queryIsSeekRunning(), isSeekRunning(), false ); -IF_IMPL_TQUERY ( bool ISeekRadioClient::queryIsSeekUpRunning(), +IF_IMPL_QUERY ( bool ISeekRadioClient::queryIsSeekUpRunning(), isSeekUpRunning(), false ); -IF_IMPL_TQUERY ( bool ISeekRadioClient::queryIsSeekDownRunning(), +IF_IMPL_QUERY ( bool ISeekRadioClient::queryIsSeekDownRunning(), isSeekDownRunning(), false ); -IF_IMPL_TQUERY ( float ISeekRadioClient::queryProgress(), +IF_IMPL_QUERY ( float ISeekRadioClient::queryProgress(), getProgress(), 1.0 ); @@ -261,22 +261,22 @@ IF_IMPL_SENDER ( IFrequencyRadioClient::sendMaxFrequency(float mf), IF_IMPL_SENDER ( IFrequencyRadioClient::sendScanStep(float s), setScanStep(s) ) -IF_IMPL_TQUERY ( float IFrequencyRadioClient::queryFrequency(), +IF_IMPL_QUERY ( float IFrequencyRadioClient::queryFrequency(), getFrequency(), 0 ) -IF_IMPL_TQUERY ( float IFrequencyRadioClient::queryMinFrequency(), +IF_IMPL_QUERY ( float IFrequencyRadioClient::queryMinFrequency(), getMinFrequency(), 0 ) -IF_IMPL_TQUERY ( float IFrequencyRadioClient::queryMinDeviceFrequency(), +IF_IMPL_QUERY ( float IFrequencyRadioClient::queryMinDeviceFrequency(), getMinDeviceFrequency(), 0 ) -IF_IMPL_TQUERY ( float IFrequencyRadioClient::queryMaxFrequency(), +IF_IMPL_QUERY ( float IFrequencyRadioClient::queryMaxFrequency(), getMaxFrequency(), 0 ) -IF_IMPL_TQUERY ( float IFrequencyRadioClient::queryMaxDeviceFrequency(), +IF_IMPL_QUERY ( float IFrequencyRadioClient::queryMaxDeviceFrequency(), getMaxDeviceFrequency(), 0 ) -IF_IMPL_TQUERY ( float IFrequencyRadioClient::queryScanStep(), +IF_IMPL_QUERY ( float IFrequencyRadioClient::queryScanStep(), getScanStep(), 0.05 ) @@ -312,7 +312,7 @@ IF_IMPL_SENDER ( IInternetRadioClient::sendURL(const KURL &url), static KURL emptyURL; -IF_IMPL_TQUERY ( const KURL &IInternetRadioClient::queryURL(), +IF_IMPL_QUERY ( const KURL &IInternetRadioClient::queryURL(), getURL(), emptyURL ) |