summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kexportdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 00:53:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 00:53:39 -0600
commitfe50f29e05b1318b520a33179ea50c88b6e2c89a (patch)
tree2a697d17f25d06389c2908e79c4b191e5b6c971d /kmymoney2/dialogs/kexportdlg.cpp
parent9311d363bfabf7f1105e3339922169d89107a724 (diff)
downloadkmymoney-fe50f29e05b1318b520a33179ea50c88b6e2c89a.tar.gz
kmymoney-fe50f29e05b1318b520a33179ea50c88b6e2c89a.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/dialogs/kexportdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kexportdlg.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kmymoney2/dialogs/kexportdlg.cpp b/kmymoney2/dialogs/kexportdlg.cpp
index 51ce250..9a89a95 100644
--- a/kmymoney2/dialogs/kexportdlg.cpp
+++ b/kmymoney2/dialogs/kexportdlg.cpp
@@ -31,7 +31,7 @@
#include <klocale.h>
#include <kstandarddirs.h>
#include <kmessagebox.h>
-#include <kfiledialog.h>
+#include <tdefiledialog.h>
#include <kpushbutton.h>
#include <kiconloader.h>
@@ -156,28 +156,28 @@ void KExportDlg::slotOkClicked()
void KExportDlg::readConfig(void)
{
- TDEConfig *kconfig = TDEGlobal::config();
- kconfig->setGroup("Last Use Settings");
- m_qlineeditFile->setText(kconfig->readEntry("KExportDlg_LastFile"));
- m_qcheckboxAccount->setChecked(kconfig->readBoolEntry("KExportDlg_AccountOpt", true));
- m_qcheckboxCategories->setChecked(kconfig->readBoolEntry("KExportDlg_CatOpt", true));
- m_kmymoneydateStart->setDate(kconfig->readDateTimeEntry("KExportDlg_StartDate").date());
- m_kmymoneydateEnd->setDate(kconfig->readDateTimeEntry("KExportDlg_EndDate").date());
+ TDEConfig *tdeconfig = TDEGlobal::config();
+ tdeconfig->setGroup("Last Use Settings");
+ m_qlineeditFile->setText(tdeconfig->readEntry("KExportDlg_LastFile"));
+ m_qcheckboxAccount->setChecked(tdeconfig->readBoolEntry("KExportDlg_AccountOpt", true));
+ m_qcheckboxCategories->setChecked(tdeconfig->readBoolEntry("KExportDlg_CatOpt", true));
+ m_kmymoneydateStart->setDate(tdeconfig->readDateTimeEntry("KExportDlg_StartDate").date());
+ m_kmymoneydateEnd->setDate(tdeconfig->readDateTimeEntry("KExportDlg_EndDate").date());
// m_profileComboBox is loaded in loadProfiles(), so we don't worry here
// m_accountComboBox is loaded in loadAccounts(), so we don't worry here
}
void KExportDlg::writeConfig(void)
{
- TDEConfig *kconfig = TDEGlobal::config();
- kconfig->setGroup("Last Use Settings");
- kconfig->writeEntry("KExportDlg_LastFile", m_qlineeditFile->text());
- kconfig->writeEntry("KExportDlg_AccountOpt", m_qcheckboxAccount->isChecked());
- kconfig->writeEntry("KExportDlg_CatOpt", m_qcheckboxCategories->isChecked());
- kconfig->writeEntry("KExportDlg_StartDate", TQDateTime(m_kmymoneydateStart->date()));
- kconfig->writeEntry("KExportDlg_EndDate", TQDateTime(m_kmymoneydateEnd->date()));
- kconfig->writeEntry("KExportDlg_LastProfile", m_profileComboBox->currentText());
- kconfig->sync();
+ TDEConfig *tdeconfig = TDEGlobal::config();
+ tdeconfig->setGroup("Last Use Settings");
+ tdeconfig->writeEntry("KExportDlg_LastFile", m_qlineeditFile->text());
+ tdeconfig->writeEntry("KExportDlg_AccountOpt", m_qcheckboxAccount->isChecked());
+ tdeconfig->writeEntry("KExportDlg_CatOpt", m_qcheckboxCategories->isChecked());
+ tdeconfig->writeEntry("KExportDlg_StartDate", TQDateTime(m_kmymoneydateStart->date()));
+ tdeconfig->writeEntry("KExportDlg_EndDate", TQDateTime(m_kmymoneydateEnd->date()));
+ tdeconfig->writeEntry("KExportDlg_LastProfile", m_profileComboBox->currentText());
+ tdeconfig->sync();
}
void KExportDlg::checkData(const TQString& accountId)