summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/gui-standard-display
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/gui-standard-display')
-rw-r--r--kradio3/plugins/gui-standard-display/radioview.cpp4
-rw-r--r--kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp12
-rw-r--r--kradio3/plugins/gui-standard-display/radioview_volume.cpp2
3 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/plugins/gui-standard-display/radioview.cpp b/kradio3/plugins/gui-standard-display/radioview.cpp
index 65430b2..2859e3f 100644
--- a/kradio3/plugins/gui-standard-display/radioview.cpp
+++ b/kradio3/plugins/gui-standard-display/radioview.cpp
@@ -439,7 +439,7 @@ bool RadioView::startRecordingWithFormat(
querySoundStreamDescription(id, descr);
int menu_id = m_NextRecordingMenuID++;
m_RecordingMenu->insertItem(SmallIcon("kradio_record"),
- i18n("Stop Recording of %1").tqarg(descr),
+ i18n("Stop Recording of %1").arg(descr),
menu_id);
m_MenuID2StreamID.insert(menu_id, id);
m_StreamID2MenuID.insert(id, menu_id);
@@ -477,7 +477,7 @@ bool RadioView::noticeSoundStreamChanged(SoundStreamID id)
querySoundStreamDescription(id, descr);
m_RecordingMenu->changeItem(m_StreamID2MenuID[id],
SmallIcon("kradio_record"),
- i18n("Stop Recording of %1").tqarg(descr));
+ i18n("Stop Recording of %1").arg(descr));
return true;
}
return false;
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;
diff --git a/kradio3/plugins/gui-standard-display/radioview_volume.cpp b/kradio3/plugins/gui-standard-display/radioview_volume.cpp
index abde874..921a6ed 100644
--- a/kradio3/plugins/gui-standard-display/radioview_volume.cpp
+++ b/kradio3/plugins/gui-standard-display/radioview_volume.cpp
@@ -37,7 +37,7 @@ RadioViewVolume::RadioViewVolume(TQWidget *parent, const TQString &name)
{
float v = 0;
SoundStreamID ssid = queryCurrentSoundStreamID();
- sendLogDebug (TQString ("RadioViewVolume: ssid=%1").tqarg(ssid.getID()));
+ sendLogDebug (TQString ("RadioViewVolume: ssid=%1").arg(ssid.getID()));
queryPlaybackVolume(ssid, v);
m_slider = new TQSlider(SLIDER_MINVAL,
SLIDER_MAXVAL,