diff options
Diffstat (limited to 'kradio3/src/radio_interfaces.cpp')
-rw-r--r-- | kradio3/src/radio_interfaces.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kradio3/src/radio_interfaces.cpp b/kradio3/src/radio_interfaces.cpp index c91df36..f4e68a9 100644 --- a/kradio3/src/radio_interfaces.cpp +++ b/kradio3/src/radio_interfaces.cpp @@ -27,7 +27,7 @@ IF_IMPL_SENDER ( IRadio::notifyStationChanged (const RadioStation &s, int idx) noticeStationChanged (s, idx) ); IF_IMPL_SENDER ( IRadio::notifyStationsChanged(const StationList &sl), noticeStationsChanged(sl) ); -IF_IMPL_SENDER ( IRadio::notifyPresetFileChanged(const QString &f), +IF_IMPL_SENDER ( IRadio::notifyPresetFileChanged(const TQString &f), noticePresetFileChanged(f) ); IF_IMPL_SENDER ( IRadio::notifyCurrentSoundStreamIDChanged(SoundStreamID id), noticeCurrentSoundStreamIDChanged(id) ); @@ -44,39 +44,39 @@ IF_IMPL_SENDER ( IRadioClient::sendActivateStation(int index), activateStation(index) ); IF_IMPL_SENDER ( IRadioClient::sendStations(const StationList &sl), setStations(sl) ); -IF_IMPL_SENDER ( IRadioClient::sendPresetFile(const QString &f), +IF_IMPL_SENDER ( IRadioClient::sendPresetFile(const TQString &f), setPresetFile(f) ); -IF_IMPL_QUERY ( bool IRadioClient::queryIsPowerOn(), +IF_IMPL_TQUERY ( bool IRadioClient::queryIsPowerOn(), isPowerOn(), false ); -IF_IMPL_QUERY ( bool IRadioClient::queryIsPowerOff(), +IF_IMPL_TQUERY ( bool IRadioClient::queryIsPowerOff(), isPowerOff(), true ); -IF_IMPL_QUERY ( const RadioStation & IRadioClient::queryCurrentStation(), +IF_IMPL_TQUERY ( const RadioStation & IRadioClient::queryCurrentStation(), getCurrentStation(), undefinedRadioStation ); -IF_IMPL_QUERY ( int IRadioClient::queryCurrentStationIdx(), +IF_IMPL_TQUERY ( int IRadioClient::queryCurrentStationIdx(), getCurrentStationIdx(), -1 ); -IF_IMPL_QUERY ( int IRadioClient::queryStationIdx(const RadioStation &rs), +IF_IMPL_TQUERY ( int IRadioClient::queryStationIdx(const RadioStation &rs), getStationIdx(rs), -1 ); -IF_IMPL_QUERY ( const StationList & IRadioClient::queryStations(), +IF_IMPL_TQUERY ( const StationList & IRadioClient::queryStations(), getStations(), emptyStationList ); -static QString emptyString; -IF_IMPL_QUERY ( const QString & IRadioClient::queryPresetFile(), +static TQString emptyString; +IF_IMPL_TQUERY ( const TQString & IRadioClient::queryPresetFile(), getPresetFile(), emptyString ); -IF_IMPL_QUERY ( SoundStreamID IRadioClient::queryCurrentSoundStreamID(), +IF_IMPL_TQUERY ( SoundStreamID IRadioClient::queryCurrentSoundStreamID(), getCurrentSoundStreamID(), SoundStreamID::InvalidID ); |