diff options
Diffstat (limited to 'konq-plugins/webarchiver/plugin_webarchiver.cpp')
-rw-r--r-- | konq-plugins/webarchiver/plugin_webarchiver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/webarchiver/plugin_webarchiver.cpp b/konq-plugins/webarchiver/plugin_webarchiver.cpp index 280b0e2..0b6ed68 100644 --- a/konq-plugins/webarchiver/plugin_webarchiver.cpp +++ b/konq-plugins/webarchiver/plugin_webarchiver.cpp @@ -78,12 +78,12 @@ void PluginWebArchiver::slotSaveToArchive() // Replace space with underscore, proposed Frank Pieczynski <pieczy@knuut.de> - archiveName.tqreplace( "\\s:", " "); + archiveName.replace( "\\s:", " "); archiveName = archiveName.simplifyWhiteSpace(); - archiveName.tqreplace( "?", ""); - archiveName.tqreplace( ":", ""); - archiveName.tqreplace( "/", ""); - archiveName = archiveName.tqreplace( TQRegExp("\\s+"), "_"); + archiveName.replace( "?", ""); + archiveName.replace( ":", ""); + archiveName.replace( "/", ""); + archiveName = archiveName.replace( TQRegExp("\\s+"), "_"); archiveName = KGlobalSettings::documentPath() + "/" + archiveName + ".war" ; |