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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp
index 87614806..166aa126 100644
--- a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp
+++ b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp
@@ -34,8 +34,8 @@
#include "kcmaudiocd.moc"
#include <kconfigdialogmanager.h>
-KAudiocdModule::KAudiocdModule(TQWidget *parent, const char *name)
- : AudiocdConfig(parent, name), configChanged(false)
+KAudiocdModule::KAudiocdModule(TQWidget *tqparent, const char *name)
+ : AudiocdConfig(tqparent, name), configChanged(false)
{
TQString foo = i18n("Report errors found on the cd.");
@@ -51,7 +51,7 @@ KAudiocdModule::KAudiocdModule(TQWidget *parent, const char *name)
KConfigSkeleton *config = NULL;
TQWidget *widget = encoder->getConfigureWidget(&config);
if(widget && config){
- tabWidget->addTab(widget, i18n("%1 Encoder").arg(encoder->type()));
+ tabWidget->addTab(widget, i18n("%1 Encoder").tqarg(encoder->type()));
KConfigDialogManager *configManager = new KConfigDialogManager(widget, config, TQString(encoder->type()+" EncoderConfigManager").latin1());
encoderSettings.append(configManager);
}
@@ -123,7 +123,7 @@ void KAudiocdModule::updateExample()
TQString deqoutedReplaceInput=removeQoutes(kcfg_replaceInput->text());
TQString deqoutedReplaceOutput=removeQoutes(kcfg_replaceOutput->text());
- text.replace( TQRegExp(deqoutedReplaceInput), deqoutedReplaceOutput );
+ text.tqreplace( 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_replace", replaceOutput);
+ config->writeEntry("regexp_tqreplace", 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_replace"));
+ kcfg_replaceOutput->setText(config->readEntry("regexp_tqreplace"));
example->setText(config->readEntry("example", i18n("Cool artist - example audio file.wav")));
}
@@ -259,9 +259,9 @@ TQString KAudiocdModule::quickHelp() const
extern "C"
{
- KCModule *create_audiocd(TQWidget *parent, const char */*name*/)
+ KCModule *create_audiocd(TQWidget *tqparent, const char */*name*/)
{
- return new KAudiocdModule(parent, "kcmaudiocd");
+ return new KAudiocdModule(tqparent, "kcmaudiocd");
}
}