diff options
Diffstat (limited to 'krename/commandplugin.cpp')
-rw-r--r-- | krename/commandplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/krename/commandplugin.cpp b/krename/commandplugin.cpp index 752002e..a626c99 100644 --- a/krename/commandplugin.cpp +++ b/krename/commandplugin.cpp @@ -107,7 +107,7 @@ void CommandPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l ) examples.append( "echo %1 >> $HOME/file.list" ); // examples.append( ") for( unsigned int i = 0; i < examples.count(); i++ ) - if( !list->tqfindItem( examples[i] ) ) + if( !list->findItem( examples[i] ) ) list->insertItem( examples[i] ); } @@ -125,7 +125,7 @@ TQString CommandPlugin::processFile( BatchRenamer* b, int i, TQString, int ) TQString c = command; KShellProcess proc; - c = c.tqreplace( "%1", KShellProcess::quote( filename ) ); + c = c.replace( "%1", KShellProcess::quote( filename ) ); proc << c; |