summaryrefslogtreecommitdiffstats
path: root/src/exportdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:27:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:27:15 -0600
commit5b6d393e0a2c88cce8f433607c091ae883ef54f9 (patch)
tree3c54f3e4a9d6fc2ac30a58e96c19ea878fa08459 /src/exportdialog.cpp
parenteb52f16dcfba98b043537ea3da6a1b08b8d51b19 (diff)
downloadtellico-5b6d393e0a2c88cce8f433607c091ae883ef54f9.tar.gz
tellico-5b6d393e0a2c88cce8f433607c091ae883ef54f9.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/exportdialog.cpp')
-rw-r--r--src/exportdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exportdialog.cpp b/src/exportdialog.cpp
index 954f4be..f2d80a0 100644
--- a/src/exportdialog.cpp
+++ b/src/exportdialog.cpp
@@ -101,7 +101,7 @@ TQString ExportDialog::fileFilter() {
}
void ExportDialog::readOptions() {
- KConfigGroup config(KGlobal::config(), "ExportOptions");
+ KConfigGroup config(TDEGlobal::config(), "ExportOptions");
bool format = config.readBoolEntry("FormatFields", false);
m_formatFields->setChecked(format);
bool selected = config.readBoolEntry("ExportSelectedOnly", false);
@@ -115,7 +115,7 @@ void ExportDialog::readOptions() {
}
void ExportDialog::slotSaveOptions() {
- KConfig* config = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
// each exporter sets its own group
m_exporter->saveOptions(config);
@@ -189,7 +189,7 @@ Tellico::Export::Exporter* ExportDialog::exporter(Export::Format format_) {
break;
}
if(exporter) {
- exporter->readOptions(KGlobal::config());
+ exporter->readOptions(TDEGlobal::config());
}
return exporter;
}
@@ -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(KGlobal::config(), "ExportOptions");
+ KConfigGroup config(TDEGlobal::config(), "ExportOptions");
long options = 0;
if(config.readBoolEntry("FormatFields", false)) {
options |= Export::ExportFormatted;