summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
commit70b9eea2ba01c3691497f49e4c45cb070c16193c (patch)
tree9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/plugins/gui-standard-display/radioview_frequencyradio.h
parent998c1384ace4ae4655997c181fa33242148cd0a4 (diff)
downloadtderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz
tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip
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
Diffstat (limited to 'kradio3/plugins/gui-standard-display/radioview_frequencyradio.h')
-rw-r--r--kradio3/plugins/gui-standard-display/radioview_frequencyradio.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h
index 795eae1..d89ce44 100644
--- a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h
+++ b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h
@@ -27,15 +27,16 @@
*@author Martin Witte
*/
-class RadioViewFrequencyRadio : public RadioViewElement, // is a QObject, must be first
+class RadioViewFrequencyRadio : public RadioViewElement, // is a TQObject, must be first
public IRadioDeviceClient,
public IFrequencyRadioClient,
public ISoundStreamClient,
public IDisplayCfg
{
Q_OBJECT
+ TQ_OBJECT
public:
- RadioViewFrequencyRadio(QWidget *parent, const QString &name);
+ RadioViewFrequencyRadio(TQWidget *tqparent, const TQString &name);
~RadioViewFrequencyRadio();
float getUsability (Interface *) const;
@@ -53,20 +54,20 @@ public:
// IDisplayCfg
RECEIVERS:
- bool setDisplayColors(const QColor &activeColor, const QColor &inactiveColor, const QColor &bkgnd);
- bool setDisplayFont (const QFont &f);
+ bool setDisplayColors(const TQColor &activeColor, const TQColor &inactiveColor, const TQColor &bkgnd);
+ bool setDisplayFont (const TQFont &f);
ANSWERS:
- const QColor &getDisplayActiveColor() const { return m_colorActiveText; }
- const QColor &getDisplayInactiveColor() const { return m_colorInactiveText; }
- const QColor &getDisplayBkgndColor() const { return m_colorButton; }
- const QFont &getDisplayFont() const { return m_font; }
+ const TQColor &getDisplayActiveColor() const { return m_colorActiveText; }
+ const TQColor &getDisplayInactiveColor() const { return m_colorInactiveText; }
+ const TQColor &getDisplayBkgndColor() const { return m_colorButton; }
+ const TQFont &getDisplayFont() const { return m_font; }
// IRadioDeviceClient
RECEIVERS:
bool noticePowerChanged (bool on, const IRadioDevice *sender = NULL);
bool noticeStationChanged (const RadioStation &, const IRadioDevice *sender = NULL);
- bool noticeDescriptionChanged (const QString &, const IRadioDevice *sender = NULL);
+ bool noticeDescriptionChanged (const TQString &, const IRadioDevice *sender = NULL);
bool noticeCurrentSoundStreamIDChanged(SoundStreamID /*id*/, const IRadioDevice */*sender*/) { return false; }
// ISoundStreamClient
@@ -87,16 +88,16 @@ RECEIVERS:
public:
- void reparent (QWidget *parent, WFlags f, const QPoint &p, bool showIt = FALSE);
+ void reparent (TQWidget *tqparent, WFlags f, const TQPoint &p, bool showIt = FALSE);
protected:
- void drawContents(QPainter *p);
+ void drawContents(TQPainter *p);
protected:
- QColor m_colorActiveText, m_colorInactiveText, m_colorButton;
- QFont m_font;
+ TQColor m_colorActiveText, m_colorInactiveText, m_colorButton;
+ TQFont m_font;
bool m_power;
bool m_valid;