summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneypriceview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:21:28 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:21:28 -0600
commit6c1d52c8248adb9189c944a28efde52330e99b66 (patch)
tree842df8de70813d5097e5d7ffe04577c4077381d9 /kmymoney2/widgets/kmymoneypriceview.cpp
parent4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff)
downloadkmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz
kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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"));