summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/alsa-sound/alsa-config-mixer-setting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/alsa-sound/alsa-config-mixer-setting.cpp')
-rw-r--r--kradio3/plugins/alsa-sound/alsa-config-mixer-setting.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kradio3/plugins/alsa-sound/alsa-config-mixer-setting.cpp b/kradio3/plugins/alsa-sound/alsa-config-mixer-setting.cpp
index 873b29e..2377337 100644
--- a/kradio3/plugins/alsa-sound/alsa-config-mixer-setting.cpp
+++ b/kradio3/plugins/alsa-sound/alsa-config-mixer-setting.cpp
@@ -21,23 +21,23 @@
AlsaConfigMixerSetting::AlsaConfigMixerSetting()
: m_card(-1),
- m_name(QString::null),
+ m_name(TQString()),
m_use(false),
m_active(false),
m_volume(-1)
{
}
-AlsaConfigMixerSetting::AlsaConfigMixerSetting(KConfig *c, const QString &prefix)
+AlsaConfigMixerSetting::AlsaConfigMixerSetting(KConfig *c, const TQString &prefix)
{
m_card = c->readNumEntry (prefix+"card", -1);
- m_name = c->readEntry (prefix+"name", QString::null);
+ m_name = c->readEntry (prefix+"name", TQString());
m_use = c->readBoolEntry (prefix+"use", false);
m_active = c->readBoolEntry (prefix+"active", false);
m_volume = c->readDoubleNumEntry(prefix+"volume", 0);
}
-AlsaConfigMixerSetting::AlsaConfigMixerSetting(int card, const QString &name, bool use, bool active, float volume)
+AlsaConfigMixerSetting::AlsaConfigMixerSetting(int card, const TQString &name, bool use, bool active, float volume)
: m_card(card),
m_name(name),
m_use(use),
@@ -50,12 +50,12 @@ AlsaConfigMixerSetting::~AlsaConfigMixerSetting()
{
}
-QString AlsaConfigMixerSetting::getIDString(int card, const QString &name)
+TQString AlsaConfigMixerSetting::getIDString(int card, const TQString &name)
{
- return QString::number(card) + "-" + name;
+ return TQString::number(card) + "-" + name;
}
-void AlsaConfigMixerSetting::saveState(KConfig *c, const QString &prefix) const
+void AlsaConfigMixerSetting::saveState(KConfig *c, const TQString &prefix) const
{
c->writeEntry(prefix+"card", m_card);
c->writeEntry(prefix+"name", m_name);