summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/dtepeditdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/dialogs/dtepeditdlg.cpp')
-rw-r--r--quanta/dialogs/dtepeditdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/dialogs/dtepeditdlg.cpp b/quanta/dialogs/dtepeditdlg.cpp
index c2595716..bbb3456d 100644
--- a/quanta/dialogs/dtepeditdlg.cpp
+++ b/quanta/dialogs/dtepeditdlg.cpp
@@ -46,7 +46,7 @@ DTEPEditDlg::DTEPEditDlg(const TQString& descriptionFile, TQWidget *parent, cons
nameEdit->setFocus();
m_descriptionFile = descriptionFile;
- m_config = new KConfig(m_descriptionFile, false, false);
+ m_config = new TDEConfig(m_descriptionFile, false, false);
init();
}
@@ -215,7 +215,7 @@ void DTEPEditDlg::saveResult()
TQFile f(targetFile);
if (f.exists())
f.remove();
- KConfig* newConfig = m_config->copyTo(targetFile);
+ TDEConfig* newConfig = m_config->copyTo(targetFile);
newConfig->sync();
writeGeneral(newConfig);
writePages(newConfig);
@@ -226,7 +226,7 @@ void DTEPEditDlg::saveResult()
}
}
-void DTEPEditDlg::writeGeneral(KConfig *config)
+void DTEPEditDlg::writeGeneral(TDEConfig *config)
{
config->setGroup("General");
writeEntry(config, "Name", nameEdit->text());
@@ -246,7 +246,7 @@ void DTEPEditDlg::writeGeneral(KConfig *config)
writeEntry(config, "Names", toolbarsEdit->text());
}
-void DTEPEditDlg::writePages(KConfig *config)
+void DTEPEditDlg::writePages(TDEConfig *config)
{
config->deleteGroup("Pages");
if (m_family == 0)
@@ -292,7 +292,7 @@ void DTEPEditDlg::writePages(KConfig *config)
}
}
-void DTEPEditDlg::writeParserRules(KConfig *config)
+void DTEPEditDlg::writeParserRules(TDEConfig *config)
{
config->setGroup("Extra rules");
config->writeEntry("MinusAllowedInWord", enableMinusInWords->isChecked());
@@ -378,7 +378,7 @@ void DTEPEditDlg::readStructures()
}
}
-void DTEPEditDlg::writeStructures(KConfig *config)
+void DTEPEditDlg::writeStructures(TDEConfig *config)
{
config->setGroup("Extra rules");
config->writeEntry("StructGroupsCount", m_structGroups.count());
@@ -544,7 +544,7 @@ void DTEPEditDlg::slotDeleteStructGroup()
}
}
-void DTEPEditDlg::writeEntry(KConfig *config, const TQString &key, const TQString &value)
+void DTEPEditDlg::writeEntry(TDEConfig *config, const TQString &key, const TQString &value)
{
if (value.isEmpty())
config->deleteEntry(key);