diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:14:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:14:31 -0600 |
commit | 145d30f0b8cbacc3599379e8717299734f3bb534 (patch) | |
tree | 3713677dce079619063612b12788282fd32e53af /src/exportdialog.cpp | |
parent | 5b6d393e0a2c88cce8f433607c091ae883ef54f9 (diff) | |
download | tellico-145d30f0b8cbacc3599379e8717299734f3bb534.tar.gz tellico-145d30f0b8cbacc3599379e8717299734f3bb534.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/exportdialog.cpp')
-rw-r--r-- | src/exportdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exportdialog.cpp b/src/exportdialog.cpp index f2d80a0..df9cf87 100644 --- a/src/exportdialog.cpp +++ b/src/exportdialog.cpp @@ -101,7 +101,7 @@ TQString ExportDialog::fileFilter() { } void ExportDialog::readOptions() { - KConfigGroup config(TDEGlobal::config(), "ExportOptions"); + TDEConfigGroup config(TDEGlobal::config(), "ExportOptions"); bool format = config.readBoolEntry("FormatFields", false); m_formatFields->setChecked(format); bool selected = config.readBoolEntry("ExportSelectedOnly", false); @@ -115,11 +115,11 @@ void ExportDialog::readOptions() { } void ExportDialog::slotSaveOptions() { - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); // each exporter sets its own group m_exporter->saveOptions(config); - KConfigGroup configGroup(config, "ExportOptions"); + TDEConfigGroup configGroup(config, "ExportOptions"); configGroup.writeEntry("FormatFields", m_formatFields->isChecked()); configGroup.writeEntry("ExportSelectedOnly", m_exportSelected->isChecked()); configGroup.writeEntry("EncodeUTF8", m_encodeUTF8->isChecked()); @@ -244,7 +244,7 @@ bool ExportDialog::exportCollection(Export::Format format_, const KURL& url_) { exp->setURL(url_); exp->setEntries(Data::Document::self()->collection()->entries()); - KConfigGroup config(TDEGlobal::config(), "ExportOptions"); + TDEConfigGroup config(TDEGlobal::config(), "ExportOptions"); long options = 0; if(config.readBoolEntry("FormatFields", false)) { options |= Export::ExportFormatted; |