From a0523230c43c0c894e924fca7fe775e47a7d86a8 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Mon, 4 Feb 2013 14:03:49 -0600
Subject: Rename KIcon to enhance compatibility with KDE4

---
 kmymoney2/views/kaccountsview.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'kmymoney2/views/kaccountsview.cpp')

diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index 9e7d596..1dbced9 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -44,7 +44,7 @@
 
 
 KMyMoneyAccountIconItem::KMyMoneyAccountIconItem(TQIconView *parent, const MyMoneyAccount& account) :
-  KIconViewItem(parent, account.name()),
+  TDEIconViewItem(parent, account.name()),
   m_account(account),
   m_reconcileFlag(false)
 {
@@ -82,13 +82,13 @@ KAccountsView::KAccountsView(TQWidget *parent, const char *name) :
   }
 
   // setup icons for collapse and expand button
-  KIconLoader *ic = TDEGlobal::iconLoader();
+  TDEIconLoader *ic = TDEGlobal::iconLoader();
   KGuiItem collapseGuiItem("",
-                          TQIconSet(ic->loadIcon("viewmag-", KIcon::Small, KIcon::SizeSmall)),
+                          TQIconSet(ic->loadIcon("viewmag-", TDEIcon::Small, TDEIcon::SizeSmall)),
                           TQString(),
                           TQString());
   KGuiItem expandGuiItem("",
-                          TQIconSet(ic->loadIcon("viewmag+", KIcon::Small, KIcon::SizeSmall)),
+                          TQIconSet(ic->loadIcon("viewmag+", TDEIcon::Small, TDEIcon::SizeSmall)),
                           TQString(),
                           TQString());
   m_collapseButton->setGuiItem(collapseGuiItem);
-- 
cgit v1.2.1