summaryrefslogtreecommitdiffstats
path: root/krename/batchrenamer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:19 -0600
commit82f7d41a2e839cd846c2ea1d75fa1029b7503b0d (patch)
treef0a266270a5245cea209b7921e2629dd22ec441b /krename/batchrenamer.cpp
parentac765413845706cb97a80965276e2a3013576747 (diff)
downloadkrename-82f7d41a2e839cd846c2ea1d75fa1029b7503b0d.tar.gz
krename-82f7d41a2e839cd846c2ea1d75fa1029b7503b0d.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'krename/batchrenamer.cpp')
-rw-r--r--krename/batchrenamer.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/krename/batchrenamer.cpp b/krename/batchrenamer.cpp
index 5eed8d3..880b3cf 100644
--- a/krename/batchrenamer.cpp
+++ b/krename/batchrenamer.cpp
@@ -125,7 +125,7 @@ void BatchRenamer::processFiles( ProgressDialog* p, TQObject* object )
}
}
- p->print( TQString( i18n("Filenames Processed after %1 seconds.")).tqarg(t.elapsed()/1000) );
+ p->print( TQString( i18n("Filenames Processed after %1 seconds.")).arg(t.elapsed()/1000) );
work( p );
}
@@ -258,11 +258,11 @@ void BatchRenamer::work( ProgressDialog* p )
* Give the user some information...
*/
if( m_mode == COPY)
- p->print( TQString( i18n("Files will be copied to: %1") ).tqarg(m_files[0].dst.directory) );
+ p->print( TQString( i18n("Files will be copied to: %1") ).arg(m_files[0].dst.directory) );
else if( m_mode == MOVE )
- p->print( TQString( i18n("Files will be moved to: %1") ).tqarg(m_files[0].dst.directory) );
+ p->print( TQString( i18n("Files will be moved to: %1") ).arg(m_files[0].dst.directory) );
else if( m_mode == LINK )
- p->print( TQString( i18n("Symbolic links will be created in: %1") ).tqarg(m_files[0].dst.directory) );
+ p->print( TQString( i18n("Symbolic links will be created in: %1") ).arg(m_files[0].dst.directory) );
else if( m_mode == RENAME )
p->print( i18n("Input files will be renamed.") );
@@ -317,7 +317,7 @@ void BatchRenamer::work( ProgressDialog* p )
(*tundo) << "mv --force -b --suffix=.krename_ \"" << m_files[i].dst.name
<< "\" \"" << m_files[i].src.name << "\"" << endl;
} else
- p->warning( TQString( i18n("Undo is not possible for remote file: %1") ).tqarg( dst.prettyURL() ) );
+ p->warning( TQString( i18n("Undo is not possible for remote file: %1") ).arg( dst.prettyURL() ) );
}
@@ -329,13 +329,13 @@ void BatchRenamer::work( ProgressDialog* p )
}
}
- const TQString m = TQString( i18n("Renamed %1 files successfully.") ).tqarg(i-error);
+ const TQString m = TQString( i18n("Renamed %1 files successfully.") ).arg(i-error);
( i - error ) ? p->print( m ) : p->warning( m );
if( error > 0 )
- p->warning( TQString( i18n("%2 errors occurred!") ).tqarg(error));
+ p->warning( TQString( i18n("%2 errors occurred!") ).arg(error));
- p->print( TQString( i18n("Elapsed time: %1 seconds") ).tqarg( t.elapsed()/1000 ), "kalarm" );
+ p->print( TQString( i18n("Elapsed time: %1 seconds") ).arg( t.elapsed()/1000 ), "kalarm" );
p->print( i18n("KRename finished the renaming process."), "krename" );
p->print( i18n("Press close to quit!") );
p->setRenamedFiles( renamedFiles, m_files.count() );