diff options
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r-- | kmymoney2/dialogs/kbackupdlg.cpp | 4 | ||||
-rw-r--r-- | kmymoney2/dialogs/kchooseimportexportdlg.cpp | 4 | ||||
-rw-r--r-- | kmymoney2/dialogs/kcsvprogressdlg.cpp | 4 | ||||
-rw-r--r-- | kmymoney2/dialogs/kequitypriceupdatedlg.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/kexportdlg.cpp | 6 | ||||
-rw-r--r-- | kmymoney2/dialogs/kexportdlg.h | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/kimportdlg.cpp | 8 | ||||
-rw-r--r-- | kmymoney2/dialogs/kimportdlg.h | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/kstartdlg.cpp | 8 | ||||
-rw-r--r-- | kmymoney2/dialogs/mymoneyqifprofileeditor.cpp | 14 |
10 files changed, 27 insertions, 27 deletions
diff --git a/kmymoney2/dialogs/kbackupdlg.cpp b/kmymoney2/dialogs/kbackupdlg.cpp index b0ab43b..0dadbe6 100644 --- a/kmymoney2/dialogs/kbackupdlg.cpp +++ b/kmymoney2/dialogs/kbackupdlg.cpp @@ -79,7 +79,7 @@ void KBackupDlg::chooseButtonClicked() void KBackupDlg::readConfig(void) { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup("Last Use Settings"); mountCheckBox->setChecked(config->readBoolEntry("KBackupDlg_mountDevice", false)); txtMountPoint->setText(config->readEntry("KBackupDlg_BackupMountPoint", "/mnt/floppy")); @@ -87,7 +87,7 @@ void KBackupDlg::readConfig(void) void KBackupDlg::writeConfig(void) { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup("Last Use Settings"); config->writeEntry("KBackupDlg_mountDevice", mountCheckBox->isChecked()); config->writeEntry("KBackupDlg_BackupMountPoint", txtMountPoint->text()); diff --git a/kmymoney2/dialogs/kchooseimportexportdlg.cpp b/kmymoney2/dialogs/kchooseimportexportdlg.cpp index 9386e12..5674205 100644 --- a/kmymoney2/dialogs/kchooseimportexportdlg.cpp +++ b/kmymoney2/dialogs/kchooseimportexportdlg.cpp @@ -88,14 +88,14 @@ TQString KChooseImportExportDlg::importExportType(void) void KChooseImportExportDlg::readConfig(void) { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup("Last Use Settings"); m_lastType = config->readEntry("KChooseImportExportDlg_LastType"); } void KChooseImportExportDlg::writeConfig(void) { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup("Last Use Settings"); config->writeEntry("KChooseImportExportDlg_LastType", typeCombo->currentText()); config->sync(); diff --git a/kmymoney2/dialogs/kcsvprogressdlg.cpp b/kmymoney2/dialogs/kcsvprogressdlg.cpp index 9128a3a..05d8f55 100644 --- a/kmymoney2/dialogs/kcsvprogressdlg.cpp +++ b/kmymoney2/dialogs/kcsvprogressdlg.cpp @@ -214,7 +214,7 @@ void KCsvProgressDlg::slotFileTextChanged(const TQString& text) void KCsvProgressDlg::readConfig(void) { - KConfig *kconfig = TDEGlobal::config(); + 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()); @@ -227,7 +227,7 @@ void KCsvProgressDlg::readConfig(void) void KCsvProgressDlg::writeConfig(void) { - KConfig *kconfig = TDEGlobal::config(); + TDEConfig *kconfig = TDEGlobal::config(); kconfig->setGroup("Last Use Settings"); kconfig->writeEntry("KCsvProgressDlg_LastFile", m_qlineeditFile->text()); kconfig->writeEntry("KCsvProgressDlg_StartDate", TQDateTime(m_kmymoneydateStart->date())); diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp index 9855698..409c15e 100644 --- a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp +++ b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp @@ -169,7 +169,7 @@ KEquityPriceUpdateDlg::KEquityPriceUpdateDlg(TQWidget *parent, const TQString& s // previous versions of this dialog allowed to store a "Don't ask again" switch. // Since we don't support it anymore, we just get rid of it - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->setGroup("Notification Messages"); config->deleteEntry("KEquityPriceUpdateDlg::slotQuoteFailed::Price Update Failed"); } diff --git a/kmymoney2/dialogs/kexportdlg.cpp b/kmymoney2/dialogs/kexportdlg.cpp index 1aef331..51ce250 100644 --- a/kmymoney2/dialogs/kexportdlg.cpp +++ b/kmymoney2/dialogs/kexportdlg.cpp @@ -130,7 +130,7 @@ void KExportDlg::loadProfiles(const bool selectLast) m_profileComboBox->clear(); TQStringList list; - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->setGroup("Profiles"); list = config->readListEntry("profiles"); @@ -156,7 +156,7 @@ void KExportDlg::slotOkClicked() void KExportDlg::readConfig(void) { - KConfig *kconfig = TDEGlobal::config(); + TDEConfig *kconfig = TDEGlobal::config(); kconfig->setGroup("Last Use Settings"); m_qlineeditFile->setText(kconfig->readEntry("KExportDlg_LastFile")); m_qcheckboxAccount->setChecked(kconfig->readBoolEntry("KExportDlg_AccountOpt", true)); @@ -169,7 +169,7 @@ void KExportDlg::readConfig(void) void KExportDlg::writeConfig(void) { - KConfig *kconfig = TDEGlobal::config(); + TDEConfig *kconfig = TDEGlobal::config(); kconfig->setGroup("Last Use Settings"); kconfig->writeEntry("KExportDlg_LastFile", m_qlineeditFile->text()); kconfig->writeEntry("KExportDlg_AccountOpt", m_qcheckboxAccount->isChecked()); diff --git a/kmymoney2/dialogs/kexportdlg.h b/kmymoney2/dialogs/kexportdlg.h index 6bf91ad..8b81a15 100644 --- a/kmymoney2/dialogs/kexportdlg.h +++ b/kmymoney2/dialogs/kexportdlg.h @@ -43,7 +43,7 @@ * It relies upon the QIF file handling routines in MyMoneyQifProfile and * MyMoneyQifWriter to do the actual writing of QIF files. * - * It uses the global KConfig object to read and write the application + * It uses the global TDEConfig object to read and write the application * settings. * * @see MyMoneyAccount, MyMoneyQifProfile, MyMoneyQifProfileEditor diff --git a/kmymoney2/dialogs/kimportdlg.cpp b/kmymoney2/dialogs/kimportdlg.cpp index d661455..bfa44be 100644 --- a/kmymoney2/dialogs/kimportdlg.cpp +++ b/kmymoney2/dialogs/kimportdlg.cpp @@ -130,14 +130,14 @@ void KImportDlg::slotOkClicked() void KImportDlg::readConfig(void) { - KConfig *kconfig = TDEGlobal::config(); + TDEConfig *kconfig = TDEGlobal::config(); kconfig->setGroup("Last Use Settings"); m_qlineeditFile->setText(kconfig->readEntry("KImportDlg_LastFile")); } void KImportDlg::writeConfig(void) { - KConfig *kconfig = TDEGlobal::config(); + TDEConfig *kconfig = TDEGlobal::config(); kconfig->setGroup("Last Use Settings"); kconfig->writeEntry("KImportDlg_LastFile", m_qlineeditFile->text()); kconfig->writeEntry("KImportDlg_LastProfile", m_profileComboBox->currentText()); @@ -147,7 +147,7 @@ void KImportDlg::writeConfig(void) /** Make sure the text input is ok */ void KImportDlg::slotFileTextChanged(const TQString& text) { - if (!text.isEmpty() && KIO::NetAccess::exists(text, true, tqApp->mainWidget())) { + if (!text.isEmpty() && TDEIO::NetAccess::exists(text, true, tqApp->mainWidget())) { // m_qcomboboxDateFormat->setEnabled(true); m_qbuttonOk->setEnabled(true); m_qlineeditFile->setText(text); @@ -188,7 +188,7 @@ void KImportDlg::loadProfiles(const bool selectLast) m_profileComboBox->clear(); TQStringList list; - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->setGroup("Profiles"); list = config->readListEntry("profiles"); diff --git a/kmymoney2/dialogs/kimportdlg.h b/kmymoney2/dialogs/kimportdlg.h index a2070fd..bd0dd5f 100644 --- a/kmymoney2/dialogs/kimportdlg.h +++ b/kmymoney2/dialogs/kimportdlg.h @@ -42,7 +42,7 @@ * It relies upon the QIF file handling routines in MyMoneyAccount to do * the actual writing of QIF files. * - * It uses the global KConfig object to read and write the application + * It uses the global TDEConfig object to read and write the application * settings. * * @see MyMoneyAccount diff --git a/kmymoney2/dialogs/kstartdlg.cpp b/kmymoney2/dialogs/kstartdlg.cpp index 0b28186..c4dc756 100644 --- a/kmymoney2/dialogs/kstartdlg.cpp +++ b/kmymoney2/dialogs/kstartdlg.cpp @@ -128,7 +128,7 @@ void KStartDlg::readConfig() TQString value; unsigned int i = 1; - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); KIconLoader *il = TDEGlobal::iconLoader(); // read file list @@ -165,7 +165,7 @@ void KStartDlg::readConfig() /** Write config window */ void KStartDlg::writeConfig() { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup("Start Dialog"); config->writeEntry("Geometry", this->size() ); @@ -195,9 +195,9 @@ void KStartDlg::slotOk() bool KStartDlg::fileExists(KURL url) { #if KDE_IS_VERSION(3,2,0) - return KIO::NetAccess::exists(url, true, this); + return TDEIO::NetAccess::exists(url, true, this); #else - return KIO::NetAccess::exists(url); + return TDEIO::NetAccess::exists(url); #endif } diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp index 2dc5b73..347a7f7 100644 --- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp +++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp @@ -59,7 +59,7 @@ MyMoneyQifProfileNameValidator::~MyMoneyQifProfileNameValidator() TQValidator::State MyMoneyQifProfileNameValidator::validate(TQString& name, int&) const { - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->setGroup("Profiles"); TQStringList list = config->readListEntry("profiles"); @@ -133,7 +133,7 @@ MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *pare MyMoneyQifProfileEditor::~MyMoneyQifProfileEditor() { if(m_inEdit && m_isDirty && m_isAccepted) { - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->sync(); } else { slotReset(); @@ -227,7 +227,7 @@ void MyMoneyQifProfileEditor::loadProfileListFromConfig(void) m_profileListBox->clear(); TQStringList list; - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->setGroup("Profiles"); list = config->readListEntry("profiles"); @@ -313,7 +313,7 @@ void MyMoneyQifProfileEditor::showProfile(void) void MyMoneyQifProfileEditor::deleteProfile(const TQString& name) { - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->deleteGroup("Profile-" + name); @@ -327,7 +327,7 @@ void MyMoneyQifProfileEditor::deleteProfile(const TQString& name) void MyMoneyQifProfileEditor::addProfile(const TQString& name) { - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->setGroup("Profiles"); TQStringList list = config->readListEntry("profiles"); @@ -348,7 +348,7 @@ void MyMoneyQifProfileEditor::slotOk(void) m_profile.saveProfile(); - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->sync(); m_isAccepted = true; @@ -360,7 +360,7 @@ void MyMoneyQifProfileEditor::slotReset(void) // first flush any changes m_profile.saveProfile(); - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->rollback(); config->reparseConfiguration(); |