From fe50f29e05b1318b520a33179ea50c88b6e2c89a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 00:53:39 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kmymoney2/dialogs/kexportdlg.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kmymoney2/dialogs/kexportdlg.cpp') 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 #include #include -#include +#include #include #include @@ -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) -- cgit v1.2.1