From 716a5de8870d7c02bb4d0aed72f30291b17b763a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:59:01 -0600 Subject: Remove additional unneeded tq method conversions --- kalarm/soundpicker.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kalarm/soundpicker.cpp') diff --git a/kalarm/soundpicker.cpp b/kalarm/soundpicker.cpp index 485f0fdb1..3a3d17606 100644 --- a/kalarm/soundpicker.cpp +++ b/kalarm/soundpicker.cpp @@ -114,9 +114,9 @@ void SoundPicker::showSpeak(bool show) if (show == mSpeakShowing) return; // no change TQString whatsThis = "

" + i18n("Choose a sound to play when the message is displayed.") - + "
" + i18n("%1: the message is displayed silently.").tqarg("" + i18n_None() + "") - + "
" + i18n("%1: a simple beep is sounded.").tqarg("" + i18n_Beep() + "") - + "
" + i18n("%1: an audio file is played. You will be prompted to choose the file and set play options.").tqarg("" + i18n_File() + ""); + + "
" + i18n("%1: the message is displayed silently.").arg("" + i18n_None() + "") + + "
" + i18n("%1: a simple beep is sounded.").arg("" + i18n_Beep() + "") + + "
" + i18n("%1: an audio file is played. You will be prompted to choose the file and set play options.").arg("" + i18n_File() + ""); if (!show && mTypeCombo->currentItem() == SPEAK) mTypeCombo->setCurrentItem(NONE); if (mTypeCombo->count() == SPEAK+1) @@ -124,7 +124,7 @@ void SoundPicker::showSpeak(bool show) if (show) { mTypeCombo->insertItem(i18n_Speak()); - whatsThis += "
" + i18n("%1: the message text is spoken.").tqarg("" + i18n_Speak() + "") + "

"; + whatsThis += "
" + i18n("%1: the message text is spoken.").arg("" + i18n_Speak() + "") + "

"; } TQWhatsThis::add(mTypeBox, whatsThis + "

"); mSpeakShowing = show; @@ -283,7 +283,7 @@ TQString SoundPicker::browseFile(TQString& defaultDir, const TQString& initialFi defaultDir = kdeSoundDir; } #ifdef WITHOUT_ARTS - TQString filter = TQString::fromLatin1("*.wav *.mp3 *.ogg|%1\n*|%2").tqarg(i18n("Sound Files")).tqarg(i18n("All Files")); + TQString filter = TQString::fromLatin1("*.wav *.mp3 *.ogg|%1\n*|%2").arg(i18n("Sound Files")).arg(i18n("All Files")); #else TQStringList filters = KDE::PlayObjectFactory::mimeTypes(); TQString filter = filters.join(" "); -- cgit v1.2.1