summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneypriceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneypriceview.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneypriceview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/widgets/kmymoneypriceview.cpp b/kmymoney2/widgets/kmymoneypriceview.cpp
index 851ca02..bc4285b 100644
--- a/kmymoney2/widgets/kmymoneypriceview.cpp
+++ b/kmymoney2/widgets/kmymoneypriceview.cpp
@@ -66,7 +66,7 @@ KMyMoneyPriceItem::KMyMoneyPriceItem(KListView *view, const MyMoneyPrice& pr) :
m_pr(pr)
{
MyMoneySecurity from, to;
- KConfig *kconfig = KGlobal::config();
+ KConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("General Options");
int prec = kconfig->readNumEntry("PricePrecision", 4);
@@ -85,7 +85,7 @@ KMyMoneyPriceItem::KMyMoneyPriceItem(KListView *view, const MyMoneyPrice& pr) :
setText(COMMODITY_COL, (from.isCurrency()) ? from.id() : from.tradingSymbol());
setText(CURRENCY_COL, to.id());
- setText(DATE_COL, KGlobal::locale()->formatDate(m_pr.date(), true));
+ setText(DATE_COL, TDEGlobal::locale()->formatDate(m_pr.date(), true));
setText(PRICE_COL, m_pr.rate(priceBase).formatMoney("", prec));
setText(SOURCE_COL, m_pr.source());
}
@@ -137,7 +137,7 @@ KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) :
header()->setFont(KMyMoneyGlobalSettings::listHeaderFont());
- KIconLoader *kiconloader = KGlobal::iconLoader();
+ KIconLoader *kiconloader = TDEGlobal::iconLoader();
m_contextMenu = new KPopupMenu(this);
m_contextMenu->insertTitle(i18n("Price Options"));