summaryrefslogtreecommitdiffstats
path: root/src/translators/pilotdbexporter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:31 -0600
commit145d30f0b8cbacc3599379e8717299734f3bb534 (patch)
tree3713677dce079619063612b12788282fd32e53af /src/translators/pilotdbexporter.cpp
parent5b6d393e0a2c88cce8f433607c091ae883ef54f9 (diff)
downloadtellico-145d30f0b8cbacc3599379e8717299734f3bb534.tar.gz
tellico-145d30f0b8cbacc3599379e8717299734f3bb534.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/translators/pilotdbexporter.cpp')
-rw-r--r--src/translators/pilotdbexporter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/translators/pilotdbexporter.cpp b/src/translators/pilotdbexporter.cpp
index 5d7b40f..be86de2 100644
--- a/src/translators/pilotdbexporter.cpp
+++ b/src/translators/pilotdbexporter.cpp
@@ -58,7 +58,7 @@ bool PilotDBExporter::exec() {
TQTextCodec* codec = 0;
{
// Latin1 is default
- KConfigGroup group(TDEGlobal::config(), TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+ TDEConfigGroup group(TDEGlobal::config(), TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
codec = TDEGlobal::charsets()->codecForName(group.readEntry("Charset"));
}
if(!codec) {
@@ -218,13 +218,13 @@ TQWidget* PilotDBExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
return m_widget;
}
-void PilotDBExporter::readOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void PilotDBExporter::readOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_backup = group.readBoolEntry("Backup", m_backup);
}
-void PilotDBExporter::saveOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void PilotDBExporter::saveOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_backup = m_checkBackup->isChecked();
group.writeEntry("Backup", m_backup);
}