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/engine/xine/xine-engine.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/engine/xine/xine-engine.cpp')
-rw-r--r-- | amarok/src/engine/xine/xine-engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amarok/src/engine/xine/xine-engine.cpp b/amarok/src/engine/xine/xine-engine.cpp index 341835c2..815f6370 100644 --- a/amarok/src/engine/xine/xine-engine.cpp +++ b/amarok/src/engine/xine/xine-engine.cpp @@ -654,7 +654,7 @@ XineEngine::canDecode( const KURL &url ) const list.remove("ssa"); //HACK we also check for m4a because xine plays them but //for some reason doesn't return the extension - if(!list.tqcontains("m4a")) + if(!list.contains("m4a")) list << "m4a"; } @@ -669,9 +669,9 @@ XineEngine::canDecode( const KURL &url ) const if (path.endsWith( ".part" )) path = path.left( path.length() - 5 ); - const TQString ext = path.mid( path.tqfindRev( '.' ) + 1 ).lower(); + const TQString ext = path.mid( path.findRev( '.' ) + 1 ).lower(); - return list.tqcontains( ext ); + return list.contains( ext ); } const Engine::Scope& |