summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/mymoneyqifprofileeditor.cpp')
-rw-r--r--kmymoney2/dialogs/mymoneyqifprofileeditor.cpp14
1 files changed, 7 insertions, 7 deletions
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();