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/classviewwidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'parts/classview/classviewwidget.cpp') diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp index de025d7b..89c0db1e 100644 --- a/parts/classview/classviewwidget.cpp +++ b/parts/classview/classviewwidget.cpp @@ -948,7 +948,7 @@ void FolderBrowserItem::setup( ) void NamespaceDomBrowserItem::setup( ) { ClassViewItem::setup(); - setPixmap( 0, UserIcon("CVnamespace", KIcon::DefaultState, listView()->m_part->instance()) ); + setPixmap( 0, UserIcon("CVnamespace", TDEIcon::DefaultState, listView()->m_part->instance()) ); setExpandable( true ); TQString txt = listView()->m_part->languageSupport()->formatModelItem(m_dom.data(), true); @@ -958,7 +958,7 @@ void NamespaceDomBrowserItem::setup( ) void ClassDomBrowserItem::setup( ) { ClassViewItem::setup(); - setPixmap( 0, UserIcon("CVclass", KIcon::DefaultState, listView()->m_part->instance()) ); + setPixmap( 0, UserIcon("CVclass", TDEIcon::DefaultState, listView()->m_part->instance()) ); setExpandable( true ); TQString txt = listView()->m_part->languageSupport()->formatModelItem(m_dom.data(), true); @@ -968,7 +968,7 @@ void ClassDomBrowserItem::setup( ) void TypeAliasDomBrowserItem::setup( ) { ClassViewItem::setup(); - setPixmap( 0, UserIcon("CVtypedef", KIcon::DefaultState, listView()->m_part->instance()) ); + setPixmap( 0, UserIcon("CVtypedef", TDEIcon::DefaultState, listView()->m_part->instance()) ); setExpandable( false ); TQString txt = listView()->m_part->languageSupport()->formatModelItem(m_dom.data(), true); @@ -996,7 +996,7 @@ void FunctionDomBrowserItem::setup( ) else iconName = "CVpublic_" + methodType; - setPixmap( 0, UserIcon(iconName, KIcon::DefaultState, listView()->m_part->instance()) ); + setPixmap( 0, UserIcon(iconName, TDEIcon::DefaultState, listView()->m_part->instance()) ); TQString txt = listView()->m_part->languageSupport()->formatModelItem(m_dom.data(), true); @@ -1058,7 +1058,7 @@ void VariableDomBrowserItem::setup( ) else iconName = "CVpublic_var"; - setPixmap( 0, UserIcon(iconName, KIcon::DefaultState, listView()->m_part->instance()) ); + setPixmap( 0, UserIcon(iconName, TDEIcon::DefaultState, listView()->m_part->instance()) ); TQString txt = listView()->m_part->languageSupport()->formatModelItem(m_dom.data(), true); setText( 0, txt ); -- cgit v1.2.3