diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 1dbf3ff1cbb6d82a451bc319301bf38816c2c232 (patch) | |
tree | 3b5b9c88a3b91163735d364681b930369e039e69 /amarok/src/collectionscanner/collectionscanner.cpp | |
parent | 54e817557b3e95bc4b93fd7daa26b808c021515e (diff) | |
download | amarok-1dbf3ff1cbb6d82a451bc319301bf38816c2c232.tar.gz amarok-1dbf3ff1cbb6d82a451bc319301bf38816c2c232.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amarok/src/collectionscanner/collectionscanner.cpp')
-rw-r--r-- | amarok/src/collectionscanner/collectionscanner.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/amarok/src/collectionscanner/collectionscanner.cpp b/amarok/src/collectionscanner/collectionscanner.cpp index 81fcf194..ad869a4a 100644 --- a/amarok/src/collectionscanner/collectionscanner.cpp +++ b/amarok/src/collectionscanner/collectionscanner.cpp @@ -125,7 +125,7 @@ CollectionScanner::doJob() //SLOT entries = TQStringList::split( "\n", folderStream.read() ); } - for( int count = entries.tqfindIndex( lastFile ) + 1; count; --count ) + for( int count = entries.findIndex( lastFile ) + 1; count; --count ) entries.pop_front(); } @@ -213,7 +213,7 @@ CollectionScanner::readDir( const TQString& dir, TQStringList& entries ) f = i; break; } #else - f = m_processedDirs.tqfind( de ); + f = m_processedDirs.find( de ); #endif if ( ! S_ISDIR( statBuf.st_mode ) || f != -1 ) { @@ -309,10 +309,10 @@ CollectionScanner::scanFiles( const TQStringList& entries ) } } - if( validImages.tqcontains( ext ) ) + if( validImages.contains( ext ) ) images += path; - else if( m_importPlaylists && validPlaylists.tqcontains( ext ) ) { + else if( m_importPlaylists && validPlaylists.contains( ext ) ) { AttributeMap attributes; attributes["path"] = path; writeElement( "playlist", attributes ); @@ -328,7 +328,7 @@ CollectionScanner::scanFiles( const TQStringList& entries ) CoverBundle cover( attributes["artist"], attributes["album"] ); - if( !covers.tqcontains( cover ) ) + if( !covers.contains( cover ) ) covers += cover; foreachType( MetaBundle::EmbeddedImageList, images ) { |