summaryrefslogtreecommitdiffstats
path: root/src/processcontroller.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
commit50036ba793e1cb8fee92fad827d9e2d9d4a3e4d0 (patch)
treed0e6da34eef8970e2e5ce9be103136f9876757bc /src/processcontroller.cpp
parentd47943098bede6e27db9977020514046fda418a6 (diff)
downloadkstreamripper-50036ba793e1cb8fee92fad827d9e2d9d4a3e4d0.tar.gz
kstreamripper-50036ba793e1cb8fee92fad827d9e2d9d4a3e4d0.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kstreamripper@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/processcontroller.cpp')
-rw-r--r--src/processcontroller.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/processcontroller.cpp b/src/processcontroller.cpp
index 5713874..1bb6b06 100644
--- a/src/processcontroller.cpp
+++ b/src/processcontroller.cpp
@@ -39,28 +39,28 @@ void ProcessController::readStdout()
{
TQString tempOutput = myProcess->readStdout();
- if( tempOutput.tqcontains( "ripping..." ))
+ if( tempOutput.contains( "ripping..." ))
{
- TQString songname = tempOutput.mid( tempOutput.tqfind( "]" )+1, tempOutput.tqfindRev( "[" ) - tempOutput.tqfind( "]" ) - 1);
+ TQString songname = tempOutput.mid( tempOutput.find( "]" )+1, tempOutput.findRev( "[" ) - tempOutput.find( "]" ) - 1);
myParent->setText( 1, songname.stripWhiteSpace() );
- TQString bytesR = tempOutput.mid( tempOutput.tqfindRev( "[" )+1, tempOutput.tqfindRev( "]" ) - tempOutput.tqfindRev( "[" ) - 1);
+ TQString bytesR = tempOutput.mid( tempOutput.findRev( "[" )+1, tempOutput.findRev( "]" ) - tempOutput.findRev( "[" ) - 1);
myParent->setText( 2, bytesR.stripWhiteSpace() );
}
- if( tempOutput.tqcontains( "Connecting..." ))
+ if( tempOutput.contains( "Connecting..." ))
{
myParent->setText( 1, "Connecting..." );
myParent->setText( 2, "" );
}
- if( tempOutput.tqcontains( "buffering" ))
+ if( tempOutput.contains( "buffering" ))
{
myParent->setText( 1, "Buffering..." );
myParent->setText( 2, "" );
}
- if( tempOutput.tqcontains( "Time to stop is here" ))
+ if( tempOutput.contains( "Time to stop is here" ))
{
myParent->setText( 1, "Complete" );
myParent->setText( 2, "" );