summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kforecastview.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/views/kforecastview.cpp
parent4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff)
downloadkmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz
kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/views/kforecastview.cpp')
-rw-r--r--kmymoney2/views/kforecastview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/views/kforecastview.cpp b/kmymoney2/views/kforecastview.cpp
index bd8de0b..88e5afb 100644
--- a/kmymoney2/views/kforecastview.cpp
+++ b/kmymoney2/views/kforecastview.cpp
@@ -52,7 +52,7 @@ KForecastView::KForecastView(TQWidget *parent, const char *name) :
for(int i=0; i < MaxViewTabs; ++i)
m_needReload[i] = false;
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("Last Use Settings");
m_tab->setCurrentPage(config->readNumEntry("KForecastView_LastType", 0));
@@ -83,7 +83,7 @@ void KForecastView::slotTabChanged(TQWidget* _tab)
ForecastViewTab tab = static_cast<ForecastViewTab>(m_tab->indexOf(_tab));
// remember this setting for startup
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("Last Use Settings");
config->writeEntry("KForecastView_LastType", tab);
@@ -447,7 +447,7 @@ void KForecastView::loadAdvancedView(void)
advancedItem->setText(it_c, amount, amountMM.isNegative());
it_c++;
- TQString dateString = KGlobal::locale()->formatDate(minDate, true);
+ TQString dateString = TDEGlobal::locale()->formatDate(minDate, true);
advancedItem->setText(it_c, dateString, amountMM.isNegative());
it_c++;
}
@@ -464,7 +464,7 @@ void KForecastView::loadAdvancedView(void)
advancedItem->setText(it_c, amount, amountMM.isNegative());
it_c++;
- TQString dateString = KGlobal::locale()->formatDate(maxDate, true);
+ TQString dateString = TDEGlobal::locale()->formatDate(maxDate, true);
advancedItem->setText(it_c, dateString, amountMM.isNegative());
it_c++;
}