summaryrefslogtreecommitdiffstats
path: root/amarok/src/engine
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit1dbf3ff1cbb6d82a451bc319301bf38816c2c232 (patch)
tree3b5b9c88a3b91163735d364681b930369e039e69 /amarok/src/engine
parent54e817557b3e95bc4b93fd7daa26b808c021515e (diff)
downloadamarok-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')
-rw-r--r--amarok/src/engine/helix/COPYING4
-rw-r--r--amarok/src/engine/helix/helix-engine.cpp4
-rw-r--r--amarok/src/engine/helix/helix-sp/hspcontext.cpp2
-rw-r--r--amarok/src/engine/kdemm/kdemmengine.cpp2
-rw-r--r--amarok/src/engine/mas/masengine.cpp2
-rw-r--r--amarok/src/engine/nmm/nmm_engine.cpp2
-rw-r--r--amarok/src/engine/xine/xine-engine.cpp6
7 files changed, 11 insertions, 11 deletions
diff --git a/amarok/src/engine/helix/COPYING b/amarok/src/engine/helix/COPYING
index 449a9762..0fc8a215 100644
--- a/amarok/src/engine/helix/COPYING
+++ b/amarok/src/engine/helix/COPYING
@@ -59,7 +59,7 @@ modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- 0. This License applies to any program or other work which tqcontains
+ 0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
@@ -154,7 +154,7 @@ Sections 1 and 2 above provided that you also do one of the following:
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
-code means all the source code for all modules it tqcontains, plus any
+code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
diff --git a/amarok/src/engine/helix/helix-engine.cpp b/amarok/src/engine/helix/helix-engine.cpp
index 3c2355b6..7d778741 100644
--- a/amarok/src/engine/helix/helix-engine.cpp
+++ b/amarok/src/engine/helix/helix-engine.cpp
@@ -288,7 +288,7 @@ HelixEngine::load( const KURL &url, bool isStream )
if (!canDecode(url))
{
const TQString path = url.path();
- const TQString ext = path.mid( path.tqfindRev( '.' ) + 1 ).lower();
+ const TQString ext = path.mid( path.findRev( '.' ) + 1 ).lower();
emit statusText( i18n("No plugin found for the %1 format").tqarg(ext) );
return false;
}
@@ -550,7 +550,7 @@ HelixEngine::canDecode( const KURL &url ) const
return true;
const TQString path = url.path();
- const TQString ext = path.mid( path.tqfindRev( '.' ) + 1 ).lower();
+ const TQString ext = path.mid( path.findRev( '.' ) + 1 ).lower();
if (ext != "txt")
for (int i=0; i<(int)m_mimes.size(); i++)
diff --git a/amarok/src/engine/helix/helix-sp/hspcontext.cpp b/amarok/src/engine/helix/helix-sp/hspcontext.cpp
index ef45937d..f87a9141 100644
--- a/amarok/src/engine/helix/helix-sp/hspcontext.cpp
+++ b/amarok/src/engine/helix/helix-sp/hspcontext.cpp
@@ -319,7 +319,7 @@ void HSPClientContext::Init(IUnknown* pUnknown,
if (pszGUID && *pszGUID)
{
// Encode GUID
- // TODO: tqfind/implement Cipher
+ // TODO: find/implement Cipher
//pszCipher = Cipher(pszGUID);
//SafeStrCpy(m_pszGUID, pszCipher, 256);
}
diff --git a/amarok/src/engine/kdemm/kdemmengine.cpp b/amarok/src/engine/kdemm/kdemmengine.cpp
index 3addcc69..b39033e0 100644
--- a/amarok/src/engine/kdemm/kdemmengine.cpp
+++ b/amarok/src/engine/kdemm/kdemmengine.cpp
@@ -113,7 +113,7 @@ bool KDEMMEngine::canDecode( const KURL &url ) const
KMimeType::Ptr mimetype = fileItem.determineMimeType();
kdDebug() << "mimetype: " << mimetype->name().latin1() << endl;
- return list.tqcontains( mimetype->name().latin1() );
+ return list.contains( mimetype->name().latin1() );
} // canDecode
diff --git a/amarok/src/engine/mas/masengine.cpp b/amarok/src/engine/mas/masengine.cpp
index 52807f38..f06c1a03 100644
--- a/amarok/src/engine/mas/masengine.cpp
+++ b/amarok/src/engine/mas/masengine.cpp
@@ -127,7 +127,7 @@ bool MasEngine::canDecode( const KURL &url ) const
KMimeType::Ptr mimetype = fileItem.determineMimeType();
debug() << "mimetype: " << mimetype->name().latin1() << endl;
- playable = list.tqcontains( mimetype->name().latin1() );
+ playable = list.contains( mimetype->name().latin1() );
if ( !playable )
warning() << "Mimetype is not playable by MAS (" << url << ")" << endl;
diff --git a/amarok/src/engine/nmm/nmm_engine.cpp b/amarok/src/engine/nmm/nmm_engine.cpp
index 96d3d9fe..43b065de 100644
--- a/amarok/src/engine/nmm/nmm_engine.cpp
+++ b/amarok/src/engine/nmm/nmm_engine.cpp
@@ -623,7 +623,7 @@ bool NmmEngine::canDecode(const KURL& url) const
KFileItem fileItem( KFileItem::Unknown, KFileItem::Unknown, url, false ); //false = determineMimeType straight away
KMimeType::Ptr mimetype = fileItem.determineMimeType();
- return types.tqcontains(mimetype->name());
+ return types.contains(mimetype->name());
}
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&