summaryrefslogtreecommitdiffstats
path: root/krename/batchrenamer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:05 -0600
commitcfd3139ae5afa303afd85cd868906bebc5f63e19 (patch)
tree4fb983aa0c6dd4ca9f5b68de40426cb0208f17a7 /krename/batchrenamer.cpp
parent8e0ad9b24c415aeed5e82093211b95879512692a (diff)
downloadkrename-cfd3139ae5afa303afd85cd868906bebc5f63e19.tar.gz
krename-cfd3139ae5afa303afd85cd868906bebc5f63e19.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 8e0ad9b24c415aeed5e82093211b95879512692a.
Diffstat (limited to 'krename/batchrenamer.cpp')
-rw-r--r--krename/batchrenamer.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/krename/batchrenamer.cpp b/krename/batchrenamer.cpp
index bbf7322..5eed8d3 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.")).arg(t.elapsed()/1000) );
+ p->print( TQString( i18n("Filenames Processed after %1 seconds.")).tqarg(t.elapsed()/1000) );
work( p );
}
@@ -140,7 +140,7 @@ TQString BatchRenamer::processString( TQString text, TQString oldname, int i )
*
* Krename will have problems with files
* which contain one of the following
- * unicode characters: 60000, 60001, 60002
+ * tqunicode characters: 60000, 60001, 60002
* 60003, 60004, 60005, 60006.
*
* This is not a good solution, if you have a
@@ -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") ).arg(m_files[0].dst.directory) );
+ p->print( TQString( i18n("Files will be copied to: %1") ).tqarg(m_files[0].dst.directory) );
else if( m_mode == MOVE )
- p->print( TQString( i18n("Files will be moved to: %1") ).arg(m_files[0].dst.directory) );
+ p->print( TQString( i18n("Files will be moved to: %1") ).tqarg(m_files[0].dst.directory) );
else if( m_mode == LINK )
- p->print( TQString( i18n("Symbolic links will be created in: %1") ).arg(m_files[0].dst.directory) );
+ p->print( TQString( i18n("Symbolic links will be created in: %1") ).tqarg(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") ).arg( dst.prettyURL() ) );
+ p->warning( TQString( i18n("Undo is not possible for remote file: %1") ).tqarg( dst.prettyURL() ) );
}
@@ -329,13 +329,13 @@ void BatchRenamer::work( ProgressDialog* p )
}
}
- const TQString m = TQString( i18n("Renamed %1 files successfully.") ).arg(i-error);
+ const TQString m = TQString( i18n("Renamed %1 files successfully.") ).tqarg(i-error);
( i - error ) ? p->print( m ) : p->warning( m );
if( error > 0 )
- p->warning( TQString( i18n("%2 errors occurred!") ).arg(error));
+ p->warning( TQString( i18n("%2 errors occurred!") ).tqarg(error));
- p->print( TQString( i18n("Elapsed time: %1 seconds") ).arg( t.elapsed()/1000 ), "kalarm" );
+ p->print( TQString( i18n("Elapsed time: %1 seconds") ).tqarg( 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() );