summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/recording/recording-monitor.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/recording/recording-monitor.cpp
parent8d4453deaa5f97e1bbe76ea45fdcac6121da8c9d (diff)
downloadtderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.tar.gz
tderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kradio3/plugins/recording/recording-monitor.cpp')
-rw-r--r--kradio3/plugins/recording/recording-monitor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kradio3/plugins/recording/recording-monitor.cpp b/kradio3/plugins/recording/recording-monitor.cpp
index 24c2e05..b33e8bd 100644
--- a/kradio3/plugins/recording/recording-monitor.cpp
+++ b/kradio3/plugins/recording/recording-monitor.cpp
@@ -336,13 +336,13 @@ bool RecordingMonitor::noticeSoundStreamData(SoundStreamID id,
double MB = kB / 1024;
double GB = MB / 1024;
TQString str_size;
- str_size = i18n("%1 Byte").tqarg(KGlobal::locale()->formatNumber((int)B, 0));
- if (kB > 1) str_size = i18n("%1 kB").tqarg(KGlobal::locale()->formatNumber(kB, 3));
- if (MB > 1) str_size = i18n("%1 MB").tqarg(KGlobal::locale()->formatNumber(MB, 3));
- if (GB > 1) str_size = i18n("%1 GB").tqarg(KGlobal::locale()->formatNumber(GB, 3));
+ str_size = i18n("%1 Byte").arg(KGlobal::locale()->formatNumber((int)B, 0));
+ if (kB > 1) str_size = i18n("%1 kB").arg(KGlobal::locale()->formatNumber(kB, 3));
+ if (MB > 1) str_size = i18n("%1 MB").arg(KGlobal::locale()->formatNumber(MB, 3));
+ if (GB > 1) str_size = i18n("%1 GB").arg(KGlobal::locale()->formatNumber(GB, 3));
m_labelSize->setText(str_size);
- m_labelRate->setText(i18n("%1 Hz").tqarg(sf.m_SampleRate));
+ m_labelRate->setText(i18n("%1 Hz").arg(sf.m_SampleRate));
return true;
}
return false;