summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/Workspace.cc
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
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /ksysguard/gui/Workspace.cc
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/Workspace.cc')
-rw-r--r--ksysguard/gui/Workspace.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksysguard/gui/Workspace.cc b/ksysguard/gui/Workspace.cc
index c39425919..3c1a92a56 100644
--- a/ksysguard/gui/Workspace.cc
+++ b/ksysguard/gui/Workspace.cc
@@ -196,7 +196,7 @@ void Workspace::loadWorkSheet( const KURL &url )
* code. */
TQString tmpFile;
KIO::NetAccess::download( url, tmpFile, this );
- mWorkDir = tmpFile.left( tmpFile.tqfindRev( '/' ) );
+ mWorkDir = tmpFile.left( tmpFile.findRev( '/' ) );
// Load sheet from file.
if ( !restoreWorkSheet( tmpFile ) )
@@ -240,13 +240,13 @@ void Workspace::saveWorkSheet( WorkSheet *sheet )
if ( fileName.isEmpty() )
return;
- mWorkDir = fileName.left( fileName.tqfindRev( '/' ) );
+ mWorkDir = fileName.left( fileName.findRev( '/' ) );
// extract filename without path
- TQString baseName = fileName.right( fileName.length() - fileName.tqfindRev( '/' ) - 1 );
+ TQString baseName = fileName.right( fileName.length() - fileName.findRev( '/' ) - 1 );
// chop off extension (usually '.sgrd')
- baseName = baseName.left( baseName.tqfindRev( '.' ) );
+ baseName = baseName.left( baseName.findRev( '.' ) );
changeTab( sheet, baseName );
}
@@ -278,13 +278,13 @@ void Workspace::saveWorkSheetAs( WorkSheet *sheet )
if ( fileName.isEmpty() )
return;
- mWorkDir = fileName.left( fileName.tqfindRev( '/' ) );
+ mWorkDir = fileName.left( fileName.findRev( '/' ) );
// extract filename without path
- TQString baseName = fileName.right( fileName.length() - fileName.tqfindRev( '/' ) - 1 );
+ TQString baseName = fileName.right( fileName.length() - fileName.findRev( '/' ) - 1 );
// chop off extension (usually '.sgrd')
- baseName = baseName.left( baseName.tqfindRev( '.' ) );
+ baseName = baseName.left( baseName.findRev( '.' ) );
changeTab( sheet, baseName );
} while ( !sheet->save( fileName ) );
@@ -354,10 +354,10 @@ WorkSheet *Workspace::restoreWorkSheet( const TQString &fileName, const TQString
tmpStr = newName;
// extract filename without path
- TQString baseName = tmpStr.right( tmpStr.length() - tmpStr.tqfindRev( '/' ) - 1 );
+ TQString baseName = tmpStr.right( tmpStr.length() - tmpStr.findRev( '/' ) - 1 );
// chop off extension (usually '.sgrd')
- baseName = baseName.left( baseName.tqfindRev( '.' ) );
+ baseName = baseName.left( baseName.findRev( '.' ) );
WorkSheet *sheet = new WorkSheet( this );
sheet->setTitle( baseName );