summaryrefslogtreecommitdiffstats
path: root/kaudiocreator/tracksimp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaudiocreator/tracksimp.cpp')
-rw-r--r--kaudiocreator/tracksimp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kaudiocreator/tracksimp.cpp b/kaudiocreator/tracksimp.cpp
index 02668821..146a4c89 100644
--- a/kaudiocreator/tracksimp.cpp
+++ b/kaudiocreator/tracksimp.cpp
@@ -84,7 +84,7 @@ TracksImp::~TracksImp() {
list.append(deviceCombo->currentText());
for ( int i=0; i<deviceCombo->count();i++ ) {
TQString text = deviceCombo->text(i);
- if( list.tqfind(text) == list.end())
+ if( list.find(text) == list.end())
list.append(text);
if( list.count() == 5)
break;
@@ -104,13 +104,13 @@ void TracksImp::loadSettings() {
TQStringList prefsList = Prefs::device();
TQStringList::Iterator it;
for ( it = prefsList.begin(); it != prefsList.end(); ++it ) {
- if( list.tqfind( *it ) == list.end())
+ if( list.find( *it ) == list.end())
list.append(*it);
}
// Get current list, no dups
for ( int i=0; i<deviceCombo->count();i++ ) {
TQString text = deviceCombo->text(i);
- if( list.tqfind(text) == list.end())
+ if( list.find(text) == list.end())
list.append(text);
}
@@ -277,7 +277,7 @@ void TracksImp::lookupCDDBDone(CDDB::Result result ) {
}
// Some sanity provisions to ensure that the number of records matches what
- // the CD actually tqcontains.
+ // the CD actually contains.
while (info.trackInfoList.count() < cddbInfo.trackInfoList.count())
{
info.trackInfoList.append(KCDDB::TrackInfo());
@@ -496,7 +496,7 @@ void TracksImp::newAlbum()
bool isSampler = true;
for( unsigned i = 0; i < t.count(); i++ )
{
- if (t[i].title.tqfind(" / ") == -1)
+ if (t[i].title.find(" / ") == -1)
{
isSampler = false;
break;
@@ -512,7 +512,7 @@ void TracksImp::newAlbum()
if( isSampler )
{
// Support for multiple artists stripping.
- int delimiter = t[i].title.tqfind(" / ");
+ int delimiter = t[i].title.find(" / ");
Q_ASSERT( delimiter != -1 );
trackArtist = t[i].title.left(delimiter);
title = t[i].title.mid(delimiter + 3);