summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:17 -0600
commitd9f7baa97dec2be4dd11726395eb704c837ce788 (patch)
treee94d72ba287986b45ad30d96dfab823dac60791d /kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp
parent8d4453deaa5f97e1bbe76ea45fdcac6121da8c9d (diff)
downloadtderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.tar.gz
tderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp')
-rw-r--r--kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp
index 5afaf09..f449122 100644
--- a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp
+++ b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp
@@ -222,7 +222,7 @@ bool RadioViewFrequencyRadio::noticePowerChanged (bool on, const IRadioDevice */
queryIsStereo(ssid, s);
noticeStereoChanged(ssid, s);
- tqrepaint();
+ repaint();
return true;
}
@@ -246,7 +246,7 @@ bool RadioViewFrequencyRadio::noticeSignalQualityChanged(SoundStreamID id, float
if (queryCurrentSoundStreamID() != id)
return false;
m_quality = q;
- tqrepaint ();
+ repaint ();
return true;
}
@@ -256,7 +256,7 @@ bool RadioViewFrequencyRadio::noticeStereoChanged(SoundStreamID id, bool s)
if (queryCurrentSoundStreamID() != id)
return false;
m_stereo = s;
- tqrepaint ();
+ repaint ();
return true;
}
@@ -269,7 +269,7 @@ bool RadioViewFrequencyRadio::noticeStereoChanged(SoundStreamID id, bool s)
bool RadioViewFrequencyRadio::noticeFrequencyChanged(float f, const RadioStation *)
{
m_frequency = f;
- tqrepaint ();
+ repaint ();
return true;
}
@@ -403,9 +403,9 @@ void RadioViewFrequencyRadio::drawContents(TQPainter *paint)
TQString s;
if (m_frequency < 10) {
- s = i18n("%1 kHz").tqarg(KGlobal::locale()->formatNumber((int)(m_frequency * 1000), 0));
+ s = i18n("%1 kHz").arg(KGlobal::locale()->formatNumber((int)(m_frequency * 1000), 0));
} else {
- s = i18n("%1 MHz").tqarg(KGlobal::locale()->formatNumber(m_frequency, 2));
+ s = i18n("%1 MHz").arg(KGlobal::locale()->formatNumber(m_frequency, 2));
}
float pxs = xh_f;