summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kimportdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kimportdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kimportdlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/dialogs/kimportdlg.cpp b/kmymoney2/dialogs/kimportdlg.cpp
index 65865a5..d661455 100644
--- a/kmymoney2/dialogs/kimportdlg.cpp
+++ b/kmymoney2/dialogs/kimportdlg.cpp
@@ -62,7 +62,7 @@ KImportDlg::KImportDlg(TQWidget *parent, const char * name)
// load button icons
m_qbuttonCancel->setGuiItem(KStdGuiItem::cancel());
- KIconLoader* il = KGlobal::iconLoader();
+ KIconLoader* il = TDEGlobal::iconLoader();
KGuiItem okButtenItem( i18n( "&Import" ),
TQIconSet(il->loadIcon("fileimport", KIcon::Small, KIcon::SizeSmall)),
i18n("Start operation"),
@@ -106,7 +106,7 @@ void KImportDlg::slotBrowse()
MyMoneyQifProfile tmpprofile;
tmpprofile.loadProfile("Profile-" + profile());
- KFileDialog dialog(KGlobalSettings::documentPath(),
+ KFileDialog dialog(TDEGlobalSettings::documentPath(),
i18n("%1|Import files\n%2|All files (*.*)").arg(tmpprofile.filterFileType()).arg("*"),
this, i18n("Import File..."), true);
dialog.setMode(KFile::File | KFile::ExistingOnly);
@@ -130,14 +130,14 @@ void KImportDlg::slotOkClicked()
void KImportDlg::readConfig(void)
{
- KConfig *kconfig = KGlobal::config();
+ KConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("Last Use Settings");
m_qlineeditFile->setText(kconfig->readEntry("KImportDlg_LastFile"));
}
void KImportDlg::writeConfig(void)
{
- KConfig *kconfig = KGlobal::config();
+ KConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("Last Use Settings");
kconfig->writeEntry("KImportDlg_LastFile", m_qlineeditFile->text());
kconfig->writeEntry("KImportDlg_LastProfile", m_profileComboBox->currentText());
@@ -188,7 +188,7 @@ void KImportDlg::loadProfiles(const bool selectLast)
m_profileComboBox->clear();
TQStringList list;
- KConfig* config = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
config->setGroup("Profiles");
list = config->readListEntry("profiles");