From 70b9eea2ba01c3691497f49e4c45cb070c16193c Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 1 Jul 2011 03:43:07 +0000 Subject: TQt4 port kradio This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kradio3/plugins/gui-standard-display/radioview_volume.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'kradio3/plugins/gui-standard-display/radioview_volume.h') diff --git a/kradio3/plugins/gui-standard-display/radioview_volume.h b/kradio3/plugins/gui-standard-display/radioview_volume.h index a48c16d..b88f8b4 100644 --- a/kradio3/plugins/gui-standard-display/radioview_volume.h +++ b/kradio3/plugins/gui-standard-display/radioview_volume.h @@ -26,16 +26,17 @@ *@author Martin Witte */ -class QSlider; +class TQSlider; -class RadioViewVolume : public RadioViewElement, // is a QObject, must be first +class RadioViewVolume : public RadioViewElement, // is a TQObject, must be first public IRadioDeviceClient, public ISoundStreamClient, public IErrorLogClient { Q_OBJECT + TQ_OBJECT public: - RadioViewVolume(QWidget *parent, const QString &name); + RadioViewVolume(TQWidget *tqparent, const TQString &name); ~RadioViewVolume(); float getUsability(Interface *) const; @@ -49,7 +50,7 @@ public: RECEIVERS: bool noticePowerChanged (bool /*on*/, const IRadioDevice */*sender*/) { return false; } bool noticeStationChanged (const RadioStation &, const IRadioDevice */*sender*/) { return false; } - bool noticeDescriptionChanged (const QString &, const IRadioDevice */*sender*/) { return false; } + bool noticeDescriptionChanged (const TQString &, const IRadioDevice */*sender*/) { return false; } bool noticeCurrentSoundStreamIDChanged(SoundStreamID /*id*/, const IRadioDevice */*sender*/) { return false; } // ISoundStreamClient @@ -67,7 +68,7 @@ protected: int getSlider4Volume(float volume); float getVolume4Slider(int sl); - QSlider *m_slider; + TQSlider *m_slider; bool m_handlingSlot; }; -- cgit v1.2.1