summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
commit6c1d52c8248adb9189c944a28efde52330e99b66 (patch)
tree842df8de70813d5097e5d7ffe04577c4077381d9 /kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
parent4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff)
downloadkmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz
kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/dialogs/mymoneyqifprofileeditor.cpp')
-rw-r--r--kmymoney2/dialogs/mymoneyqifprofileeditor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
index d187ce0..2dc5b73 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 = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
config->setGroup("Profiles");
TQStringList list = config->readListEntry("profiles");
@@ -90,7 +90,7 @@ MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *pare
loadProfileListFromConfig();
// load button icons
- KIconLoader* il = KGlobal::iconLoader();
+ KIconLoader* il = TDEGlobal::iconLoader();
KGuiItem newButtenItem( i18n( "&New" ),
TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
i18n("Create a new profile"),
@@ -133,7 +133,7 @@ MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *pare
MyMoneyQifProfileEditor::~MyMoneyQifProfileEditor()
{
if(m_inEdit && m_isDirty && m_isAccepted) {
- KConfig* config = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
config->sync();
} else {
slotReset();
@@ -227,7 +227,7 @@ void MyMoneyQifProfileEditor::loadProfileListFromConfig(void)
m_profileListBox->clear();
TQStringList list;
- KConfig* config = KGlobal::config();
+ KConfig* 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 = KGlobal::config();
+ KConfig* 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 = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
config->setGroup("Profiles");
TQStringList list = config->readListEntry("profiles");
@@ -348,7 +348,7 @@ void MyMoneyQifProfileEditor::slotOk(void)
m_profile.saveProfile();
- KConfig* config = KGlobal::config();
+ KConfig* 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 = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
config->rollback();
config->reparseConfiguration();