diff options
Diffstat (limited to 'kioslave/audiocd/kcmaudiocd')
-rw-r--r-- | kioslave/audiocd/kcmaudiocd/audiocdconfig.ui | 2 | ||||
-rw-r--r-- | kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp | 24 | ||||
-rw-r--r-- | kioslave/audiocd/kcmaudiocd/kcmaudiocd.h | 6 |
3 files changed, 16 insertions, 16 deletions
diff --git a/kioslave/audiocd/kcmaudiocd/audiocdconfig.ui b/kioslave/audiocd/kcmaudiocd/audiocdconfig.ui index df27fffb..683d46ab 100644 --- a/kioslave/audiocd/kcmaudiocd/audiocdconfig.ui +++ b/kioslave/audiocd/kcmaudiocd/audiocdconfig.ui @@ -1,6 +1,6 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>AudiocdConfig</class> -<widget class="KCModule"> +<widget class="TDECModule"> <property name="name"> <cstring>AudiocdConfig</cstring> </property> diff --git a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp index fbe758ba..adff68f3 100644 --- a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp +++ b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp @@ -41,18 +41,18 @@ KAudiocdModule::KAudiocdModule(TQWidget *parent, const char *name) setButtons(Default|Apply); - config = new KConfig("kcmaudiocdrc"); + config = new TDEConfig("kcmaudiocdrc"); TQPtrList<AudioCDEncoder> encoders; AudioCDEncoder::findAllPlugins(0, encoders); AudioCDEncoder *encoder; for ( encoder = encoders.first(); encoder; encoder = encoders.next() ){ if (encoder->init()) { - KConfigSkeleton *config = NULL; + TDEConfigSkeleton *config = NULL; TQWidget *widget = encoder->getConfigureWidget(&config); if(widget && config){ tabWidget->addTab(widget, i18n("%1 Encoder").arg(encoder->type())); - KConfigDialogManager *configManager = new KConfigDialogManager(widget, config, TQString(encoder->type()+" EncoderConfigManager").latin1()); + TDEConfigDialogManager *configManager = new TDEConfigDialogManager(widget, config, TQString(encoder->type()+" EncoderConfigManager").latin1()); encoderSettings.append(configManager); } } @@ -60,7 +60,7 @@ KAudiocdModule::KAudiocdModule(TQWidget *parent, const char *name) load(); - KConfigDialogManager *widget; + TDEConfigDialogManager *widget; for ( widget = encoderSettings.first(); widget; widget = encoderSettings.next() ){ connect(widget, TQT_SIGNAL(widgetModified()), this, TQT_SLOT(slotModuleChanged())); } @@ -135,7 +135,7 @@ void KAudiocdModule::save() { if (!configChanged ) return; { - KConfigGroupSaver saver(config, "CDDA"); + TDEConfigGroupSaver saver(config, "CDDA"); // autosearch is the name of the config option, which has the // reverse sense of the current text of the configuration option, @@ -149,7 +149,7 @@ void KAudiocdModule::save() { } { - KConfigGroupSaver saver(config, "FileName"); + TDEConfigGroupSaver saver(config, "FileName"); config->writeEntry("file_name_template", fileNameLineEdit->text()); config->writeEntry("album_name_template", albumNameLineEdit->text()); config->writeEntry("regexp_example", example->text()); @@ -168,7 +168,7 @@ void KAudiocdModule::save() { config->writeEntry("regexp_replace", replaceOutput); } - KConfigDialogManager *widget; + TDEConfigDialogManager *widget; for ( widget = encoderSettings.first(); widget; widget = encoderSettings.next() ){ widget->updateSettings(); } @@ -188,7 +188,7 @@ void KAudiocdModule::load(bool useDefaults) { config->setReadDefaults( useDefaults ); { - KConfigGroupSaver saver(config, "CDDA"); + TDEConfigGroupSaver saver(config, "CDDA"); // Specify <=> not autosearch, as explained above in ::save() @@ -200,7 +200,7 @@ void KAudiocdModule::load(bool useDefaults) { } { - KConfigGroupSaver saver(config, "FileName"); + TDEConfigGroupSaver saver(config, "FileName"); 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")); @@ -208,7 +208,7 @@ void KAudiocdModule::load(bool useDefaults) { example->setText(config->readEntry("example", i18n("Cool artist - example audio file.wav"))); } - KConfigDialogManager *widget; + TDEConfigDialogManager *widget; for ( widget = encoderSettings.first(); widget; widget = encoderSettings.next() ){ widget->updateWidgets(); } @@ -217,7 +217,7 @@ void KAudiocdModule::load(bool useDefaults) { } void KAudiocdModule::slotModuleChanged() { - KConfigDialogManager *widget; + TDEConfigDialogManager *widget; for ( widget = encoderSettings.first(); widget; widget = encoderSettings.next() ){ if(widget->hasChanged()){ slotConfigChanged(); @@ -259,7 +259,7 @@ TQString KAudiocdModule::quickHelp() const extern "C" { - KCModule *create_audiocd(TQWidget *parent, const char */*name*/) + TDECModule *create_audiocd(TQWidget *parent, const char */*name*/) { return new KAudiocdModule(parent, "kcmaudiocd"); } diff --git a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.h b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.h index c12f2e3d..c9ec1bc7 100644 --- a/kioslave/audiocd/kcmaudiocd/kcmaudiocd.h +++ b/kioslave/audiocd/kcmaudiocd/kcmaudiocd.h @@ -26,7 +26,7 @@ #ifndef KAUDIOCDCONFIG_H #define KAUDIOCDCONFIG_H -class KConfigDialogManager; +class TDEConfigDialogManager; #include "audiocdconfig.h" class KAudiocdModule : public AudiocdConfig @@ -54,12 +54,12 @@ private slots: void slotModuleChanged(); private: - KConfig *config; + TDEConfig *config; bool configChanged; int getBitrateIndex(int value); - TQPtrList<KConfigDialogManager> encoderSettings; + TQPtrList<TDEConfigDialogManager> encoderSettings; }; #endif // KAUDIOCDCONFIG_H |