summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kcsvprogressdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kcsvprogressdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kcsvprogressdlg.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmymoney2/dialogs/kcsvprogressdlg.cpp b/kmymoney2/dialogs/kcsvprogressdlg.cpp
index 05d8f55..1337715 100644
--- a/kmymoney2/dialogs/kcsvprogressdlg.cpp
+++ b/kmymoney2/dialogs/kcsvprogressdlg.cpp
@@ -34,11 +34,11 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include <kfiledialog.h>
+#include <tdefiledialog.h>
#include <kglobal.h>
#include <klocale.h>
#include <kmessagebox.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
// ----------------------------------------------------------------------------
// Project Includes
@@ -214,11 +214,11 @@ void KCsvProgressDlg::slotFileTextChanged(const TQString& text)
void KCsvProgressDlg::readConfig(void)
{
- TDEConfig *kconfig = TDEGlobal::config();
- kconfig->setGroup("Last Use Settings");
- m_kmymoneydateStart->setDate(kconfig->readDateTimeEntry("KCsvProgressDlg_StartDate").date());
- m_kmymoneydateEnd->setDate(kconfig->readDateTimeEntry("KCsvProgressDlg_EndDate").date());
- m_qlineeditFile->setText(kconfig->readEntry("KCsvProgressDlg_LastFile", ""));
+ TDEConfig *tdeconfig = TDEGlobal::config();
+ tdeconfig->setGroup("Last Use Settings");
+ m_kmymoneydateStart->setDate(tdeconfig->readDateTimeEntry("KCsvProgressDlg_StartDate").date());
+ m_kmymoneydateEnd->setDate(tdeconfig->readDateTimeEntry("KCsvProgressDlg_EndDate").date());
+ m_qlineeditFile->setText(tdeconfig->readEntry("KCsvProgressDlg_LastFile", ""));
if (m_qlineeditFile->text().length()>=1)
m_qbuttonRun->setEnabled(true);
else
@@ -227,12 +227,12 @@ void KCsvProgressDlg::readConfig(void)
void KCsvProgressDlg::writeConfig(void)
{
- TDEConfig *kconfig = TDEGlobal::config();
- kconfig->setGroup("Last Use Settings");
- kconfig->writeEntry("KCsvProgressDlg_LastFile", m_qlineeditFile->text());
- kconfig->writeEntry("KCsvProgressDlg_StartDate", TQDateTime(m_kmymoneydateStart->date()));
- kconfig->writeEntry("KCsvProgressDlg_EndDate", TQDateTime(m_kmymoneydateEnd->date()));
- kconfig->sync();
+ TDEConfig *tdeconfig = TDEGlobal::config();
+ tdeconfig->setGroup("Last Use Settings");
+ tdeconfig->writeEntry("KCsvProgressDlg_LastFile", m_qlineeditFile->text());
+ tdeconfig->writeEntry("KCsvProgressDlg_StartDate", TQDateTime(m_kmymoneydateStart->date()));
+ tdeconfig->writeEntry("KCsvProgressDlg_EndDate", TQDateTime(m_kmymoneydateEnd->date()));
+ tdeconfig->sync();
}
/** Update the progress bar, and update the transaction count indicator. */