summaryrefslogtreecommitdiffstats
path: root/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp')
-rw-r--r--kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp
index 166aa126..e922d6fd 100644
--- a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp
+++ b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp
@@ -123,7 +123,7 @@ void KAudiocdModule::updateExample()
TQString deqoutedReplaceInput=removeQoutes(kcfg_replaceInput->text());
TQString deqoutedReplaceOutput=removeQoutes(kcfg_replaceOutput->text());
- text.tqreplace( TQRegExp(deqoutedReplaceInput), deqoutedReplaceOutput );
+ text.replace( TQRegExp(deqoutedReplaceInput), deqoutedReplaceOutput );
exampleOutput->setText(text);
}
@@ -165,7 +165,7 @@ void KAudiocdModule::save() {
replaceOutput=TQString("\"")+replaceOutput+TQString("\"");
}
config->writeEntry("regexp_search", replaceInput);
- config->writeEntry("regexp_tqreplace", replaceOutput);
+ config->writeEntry("regexp_replace", replaceOutput);
}
KConfigDialogManager *widget;
@@ -204,7 +204,7 @@ void KAudiocdModule::load(bool useDefaults) {
fileNameLineEdit->setText(config->readEntry("file_name_template", "%{albumartist} - %{number} - %{title}"));
albumNameLineEdit->setText(config->readEntry("album_name_template", "%{albumartist} - %{albumtitle}"));
kcfg_replaceInput->setText(config->readEntry("regexp_search"));
- kcfg_replaceOutput->setText(config->readEntry("regexp_tqreplace"));
+ kcfg_replaceOutput->setText(config->readEntry("regexp_replace"));
example->setText(config->readEntry("example", i18n("Cool artist - example audio file.wav")));
}