summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/dtepeditdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
commitf9ced3b3f13f3136ef63c33ef163042010d6e80b (patch)
tree293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /quanta/dialogs/dtepeditdlg.cpp
parent29df04c24350cc76a41e2410d1c92445f9338b98 (diff)
downloadtdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz
tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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);