diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 00:53:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 00:53:39 -0600 |
commit | fe50f29e05b1318b520a33179ea50c88b6e2c89a (patch) | |
tree | 2a697d17f25d06389c2908e79c4b191e5b6c971d /kmymoney2/dialogs/kcsvprogressdlg.cpp | |
parent | 9311d363bfabf7f1105e3339922169d89107a724 (diff) | |
download | kmymoney-fe50f29e05b1318b520a33179ea50c88b6e2c89a.tar.gz kmymoney-fe50f29e05b1318b520a33179ea50c88b6e2c89a.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/dialogs/kcsvprogressdlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kcsvprogressdlg.cpp | 26 |
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. */ |