summaryrefslogtreecommitdiffstats
path: root/kscd/kscd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:28 -0600
commitdc07846059a60d069687585cc72ff501a2096296 (patch)
tree432ead5b09c6ace7e804629f1f74a3ed58f003e0 /kscd/kscd.cpp
parent3c299dfe48c0060272c2966fff599b3b417e2ee4 (diff)
downloadtdemultimedia-dc07846059a60d069687585cc72ff501a2096296.tar.gz
tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kscd/kscd.cpp')
-rw-r--r--kscd/kscd.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kscd/kscd.cpp b/kscd/kscd.cpp
index 8c025ab2..e842feae 100644
--- a/kscd/kscd.cpp
+++ b/kscd/kscd.cpp
@@ -550,7 +550,7 @@ void KSCD::trackChanged(unsigned track, unsigned trackLength)
justTheName = justTheName.right(justTheName.length() - 4);
TQToolTip::remove(songListCB);
- TQToolTip::add(songListCB, i18n("Current track: %1").tqarg(justTheName));
+ TQToolTip::add(songListCB, i18n("Current track: %1").arg(justTheName));
}
timeSlider->blockSignals(true);
timeSlider->setRange(0, trackLength ? trackLength - 1 : 0);
@@ -800,7 +800,7 @@ void KSCD::setDevicePaths()
{
// This device did not seem usable.
TQString str = i18n("CD-ROM read or access error (or no audio disc in drive).\n"\
- "Please make sure you have access permissions to:\n%1").tqarg(
+ "Please make sure you have access permissions to:\n%1").arg(
KCompactDisc::urlToDevice(Prefs::cdDevice()));
KMessageBox::error(this, str, i18n("Error"));
}
@@ -1211,8 +1211,8 @@ void KSCD::lookupCDDBDone(CDDB::Result result)
CDInfoList::iterator it;
TQStringList list;
for ( it = cddb_info.begin(); it != cddb_info.end(); ++it ) {
- list.append( TQString("%1, %2, %3").tqarg((*it).artist).tqarg((*it).title)
- .tqarg((*it).genre));
+ list.append( TQString("%1, %2, %3").arg((*it).artist).arg((*it).title)
+ .arg((*it).genre));
}
bool ok(false);
@@ -1419,62 +1419,62 @@ void KSCD::information(int i)
{
case 0:
str = TQString("http://musicmoz.org/cgi-bin/ext.cgi?artist=%1")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 1:
str = TQString("http://ubl.artistdirect.com/cgi-bin/gx.cgi/AppLogic+Search?select=MusicArtist&searchstr=%1&searchtype=NormalSearch")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 2:
str = TQString("http://www.cduniverse.com/cgi-bin/cdubin.exe/rlinka/ean=%1")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 3:
str = TQString("http://www.alltheweb.com/search?cat=web&q=%1")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 4:
str = TQString("http://altavista.com/web/results?q=%1&kgs=0&kls=1&avkw=xytx")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 5:
str = TQString("http://msxml.excite.com/_1_2UDOUB70SVHVHR__info.xcite/dog/results?otmpl=dog/webresults.htm&qkw=%1&qcat=web&qk=20&top=1&start=&ver=14060")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 6:
str = TQString("http://www.google.com/search?q=%1")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 7:
str = TQString("http://groups.google.com/groups?oi=djq&as_q=%1&num=20")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 8:
str = TQString("http://www.hotbot.com/default.asp?prov=Inktomi&query=%1&ps=&loc=searchbox&tab=web")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 9:
str = TQString("http://search.lycos.com/default.asp?lpv=1&loc=searchhp&tab=web&query=%1")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 10:
str = TQString("http://search.dmoz.org/cgi-bin/search?search=%1")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
case 11:
str = TQString("http://search.yahoo.com/bin/search?p=%1")
- .tqarg(encodedArtist);
+ .arg(encodedArtist);
break;
default:
@@ -1569,7 +1569,7 @@ void KSCD::populateSongList(TQString infoStatus)
if (!infoStatus.isEmpty())
artistlabel->setText(infoStatus);
else
- artistlabel->setText(TQString("%1 - %2").tqarg(cddbInfo.artist, cddbInfo.title));
+ artistlabel->setText(TQString("%1 - %2").arg(cddbInfo.artist, cddbInfo.title));
songListCB->clear();
for (unsigned i = 0; i < cddbInfo.trackInfoList.count(); i++)