From 6c1d52c8248adb9189c944a28efde52330e99b66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:21:28 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kmymoney2/widgets/transaction.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kmymoney2/widgets/transaction.cpp') diff --git a/kmymoney2/widgets/transaction.cpp b/kmymoney2/widgets/transaction.cpp index 00d0f56..ea5ea2c 100644 --- a/kmymoney2/widgets/transaction.cpp +++ b/kmymoney2/widgets/transaction.cpp @@ -212,7 +212,7 @@ void Transaction::markAttachment(TQPainter* painter, int /* row */, int /* col * painter->save(); if(clip.isNull()) { - clip = KGlobal::iconLoader()->loadIcon("attach", KIcon::Small, KIcon::SizeSmall, KIcon::DefaultState); + clip = TDEGlobal::iconLoader()->loadIcon("attach", KIcon::Small, KIcon::SizeSmall, KIcon::DefaultState); if(clip.height() > h) { clip.resize(h, h); } @@ -1029,7 +1029,7 @@ bool StdTransaction::formCellText(TQString& txt, int& align, int row, int col, T case ValueColumn2: align |= TQt::AlignRight; if(m_transaction != MyMoneyTransaction()) - txt = KGlobal::locale()->formatDate(m_transaction.postDate(), true); + txt = TDEGlobal::locale()->formatDate(m_transaction.postDate(), true); break; } break; @@ -1096,7 +1096,7 @@ void StdTransaction::registerCellText(TQString& txt, int& align, int row, int co case DateColumn: align |= TQt::AlignLeft; - txt = KGlobal::locale()->formatDate(m_transaction.postDate(), true); + txt = TDEGlobal::locale()->formatDate(m_transaction.postDate(), true); break; case DetailColumn: @@ -1500,7 +1500,7 @@ bool InvestTransaction::formCellText(TQString& txt, int& align, int row, int col align |= TQt::AlignRight; fieldEditable = true; if(m_transaction != MyMoneyTransaction()) - txt = KGlobal::locale()->formatDate(m_transaction.postDate(), true); + txt = TDEGlobal::locale()->formatDate(m_transaction.postDate(), true); break; } break; @@ -1688,7 +1688,7 @@ void InvestTransaction::registerCellText(TQString& txt, int& align, int row, int switch(col) { case DateColumn: align |= TQt::AlignLeft; - txt = KGlobal::locale()->formatDate(m_transaction.postDate(), true); + txt = TDEGlobal::locale()->formatDate(m_transaction.postDate(), true); break; case DetailColumn: -- cgit v1.2.1