summaryrefslogtreecommitdiffstats
path: root/kio/kio/renamedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/renamedlg.cpp')
-rw-r--r--kio/kio/renamedlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kio/kio/renamedlg.cpp b/kio/kio/renamedlg.cpp
index 2cc928692..8f1b2d087 100644
--- a/kio/kio/renamedlg.cpp
+++ b/kio/kio/renamedlg.cpp
@@ -440,13 +440,13 @@ TQString RenameDlg::suggestName(const KURL& baseURL, const TQString& oldName)
TQString dotSuffix, suggestedName;
TQString basename = oldName;
- int index = basename.tqfind( '.' );
+ int index = basename.find( '.' );
if ( index != -1 ) {
dotSuffix = basename.mid( index );
basename.truncate( index );
}
- int pos = basename.tqfindRev( '_' );
+ int pos = basename.findRev( '_' );
if(pos != -1 ){
TQString tmp = basename.mid( pos+1 );
bool ok;