From 799fae5feea55e95876c3722c79fd7dabadd2cd6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:19:44 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- parts/classview/viewcombos.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'parts/classview/viewcombos.cpp') diff --git a/parts/classview/viewcombos.cpp b/parts/classview/viewcombos.cpp index cf8b278e..52afd26f 100644 --- a/parts/classview/viewcombos.cpp +++ b/parts/classview/viewcombos.cpp @@ -49,7 +49,7 @@ NamespaceDom NamespaceItem::dom() const void NamespaceItem::setup() { TQListViewItem::setup(); - setPixmap( 0, UserIcon("CVnamespace", KIcon::DefaultState, m_part->instance()) ); + setPixmap( 0, UserIcon("CVnamespace", TDEIcon::DefaultState, m_part->instance()) ); } @@ -75,7 +75,7 @@ ClassDom ClassItem::dom() const void ClassItem::setup() { TQListViewItem::setup(); - setPixmap( 0, UserIcon("CVclass", KIcon::DefaultState, m_part->instance()) ); + setPixmap( 0, UserIcon("CVclass", TDEIcon::DefaultState, m_part->instance()) ); } @@ -108,7 +108,7 @@ void FunctionItem::setup() iconName = "CVprotected_meth"; else iconName = "CVpublic_meth"; - setPixmap( 0, UserIcon(iconName, KIcon::DefaultState, m_part->instance()) ); + setPixmap( 0, UserIcon(iconName, TDEIcon::DefaultState, m_part->instance()) ); } @@ -120,7 +120,7 @@ void refreshNamespaces(ClassViewPart *part, KComboView *view) NamespaceItem *global_item = new NamespaceItem( part, view->listView(), i18n("(Global Namespace)"), part->codeModel()->globalNamespace() ); view->addItem(global_item); - global_item->setPixmap( 0, UserIcon("CVnamespace", KIcon::DefaultState, part->instance()) ); + global_item->setPixmap( 0, UserIcon("CVnamespace", TDEIcon::DefaultState, part->instance()) ); NamespaceList namespaces = part->codeModel()->globalNamespace()->namespaceList(); for (NamespaceList::const_iterator it = namespaces.begin(); it != namespaces.end(); ++it) { -- cgit v1.2.1