summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h
diff options
context:
space:
mode:
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;