summaryrefslogtreecommitdiffstats
path: root/kaudiocreator/encoderconfigimp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaudiocreator/encoderconfigimp.cpp')
-rw-r--r--kaudiocreator/encoderconfigimp.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kaudiocreator/encoderconfigimp.cpp b/kaudiocreator/encoderconfigimp.cpp
index 96c7810f..cc4d1ad5 100644
--- a/kaudiocreator/encoderconfigimp.cpp
+++ b/kaudiocreator/encoderconfigimp.cpp
@@ -130,10 +130,10 @@ void EncoderConfigImp::addEncoderSlot(){
number++;
}
- if(KConfigDialog::showDialog(groupName.latin1()))
+ if(TDEConfigDialog::showDialog(groupName.latin1()))
return;
- KConfigDialog *dialog = new KConfigDialog(this, groupName.latin1(), EncoderPrefs::prefs(groupName),
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, groupName.latin1(), EncoderPrefs::prefs(groupName),
KDialogBase::Swallow,
KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::Help);
dialog->setCaption(i18n("Configure Encoder"));
@@ -168,7 +168,7 @@ void EncoderConfigImp::removeEncoderSlot(){
TQString groupName = encoderNames[kcfg_currentEncoder->currentText()];
kcfg_currentEncoder->removeItem(kcfg_currentEncoder->currentItem());
- delete KConfigDialog::exists(groupName.latin1());
+ delete TDEConfigDialog::exists(groupName.latin1());
EncoderPrefs::deletePrefs(groupName);
}
@@ -186,14 +186,14 @@ void EncoderConfigImp::configureEncoderSlot() {
return;
}
TQString groupName = encoderNames[kcfg_currentEncoder->currentText()];
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
if(!config.hasGroup(groupName))
return;
- if(KConfigDialog::showDialog(groupName.latin1()))
+ if(TDEConfigDialog::showDialog(groupName.latin1()))
return;
- KConfigDialog *dialog = new KConfigDialog(this, groupName.latin1(), EncoderPrefs::prefs(groupName),
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, groupName.latin1(), EncoderPrefs::prefs(groupName),
KDialogBase::Swallow,
KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::Help);
dialog->setCaption(i18n("Configure Encoder"));
@@ -272,13 +272,13 @@ EncoderPrefs *EncoderPrefs::prefs(const TQString &groupName)
bool EncoderPrefs::hasPrefs(const TQString &groupName)
{
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
return config.hasGroup(groupName);
}
void EncoderPrefs::deletePrefs(const TQString &groupName)
{
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
config.deleteGroup(groupName);
if (!m_prefs)
return;