summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kexportdlg.cpp
diff options
context:
space:
mode:
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)