summaryrefslogtreecommitdiffstats
path: root/src/paranoia.cpp
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
commit3a2300ed7cee06b5b49c4bc71f38d5cee72171b5 (patch)
treeebc2fc901d7584145d9c40de18d9e4931283360a /src/paranoia.cpp
parent633d093981e9e04c06921459694cd095cdf85c23 (diff)
downloadsoundkonverter-3a2300ed7cee06b5b49c4bc71f38d5cee72171b5.tar.gz
soundkonverter-3a2300ed7cee06b5b49c4bc71f38d5cee72171b5.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/paranoia.cpp')
-rwxr-xr-xsrc/paranoia.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/paranoia.cpp b/src/paranoia.cpp
index a7d553e..fba3d83 100755
--- a/src/paranoia.cpp
+++ b/src/paranoia.cpp
@@ -109,13 +109,13 @@ bool Paranoia::findCdrom()
TQTextStream t( f );
while ( !t.eof() && !stop ) {
s = t.readLine();
- if ( s.tqcontains("drive name:") )
+ if ( s.contains("drive name:") )
stop = true;
}
if ( !stop )
return false;
- pos = s.tqfind(":");
+ pos = s.find(":");
c = s.right( s.length()-pos-1 );
sscanf( c.latin1(), "%s %s %s %s", dev[0], dev[1], dev[2], dev[3] );
@@ -133,15 +133,15 @@ bool Paranoia::procCdrom( TQString name )
{
int pos;
- if ( name.tqcontains("sr") ) {
- pos = name.tqfind("r");
+ if ( name.contains("sr") ) {
+ pos = name.find("r");
name = name.right( name.length()-pos-1 );
name = "/dev/scd"+name;
d = cdda_identify( name.ascii(), CDDA_MESSAGE_PRINTIT, 0 );
if ( cdda_open( d )==0 )
return true;
}
- else if ( name.tqcontains("hd") ) {
+ else if ( name.contains("hd") ) {
name = "/dev/"+name;
d = cdda_identify( name.ascii(), CDDA_MESSAGE_PRINTIT, 0 );
if ( cdda_open( d )==0 )