summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/alsa-sound/alsa-mixer-element.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/alsa-sound/alsa-mixer-element.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/alsa-sound/alsa-mixer-element.h')
-rw-r--r--kradio3/plugins/alsa-sound/alsa-mixer-element.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kradio3/plugins/alsa-sound/alsa-mixer-element.h b/kradio3/plugins/alsa-sound/alsa-mixer-element.h
index 149e0b9..3dd7849 100644
--- a/kradio3/plugins/alsa-sound/alsa-mixer-element.h
+++ b/kradio3/plugins/alsa-sound/alsa-mixer-element.h
@@ -20,12 +20,13 @@
#include "alsa-mixer-element-ui.h"
-class QAlsaMixerElement : public AlsaMixerElementUI
+class TQAlsaMixerElement : public AlsaMixerElementUI
{
Q_OBJECT
+ TQ_OBJECT
public:
- QAlsaMixerElement(QWidget *parent, const QString &label, bool has_switch, bool has_volume);
- ~QAlsaMixerElement();
+ TQAlsaMixerElement(TQWidget *tqparent, const TQString &label, bool has_switch, bool has_volume);
+ ~TQAlsaMixerElement();
float getVolume() const;
@@ -36,7 +37,7 @@ public:
public slots:
- void setLabel(const QString &label);
+ void setLabel(const TQString &label);
void setOverride(bool ov);
void setActive(bool active);
void setVolume(float vol);