From 3a2300ed7cee06b5b49c4bc71f38d5cee72171b5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/paranoia.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/paranoia.cpp') 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 ) -- cgit v1.2.1