diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:19:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:19:44 -0600 |
commit | 799fae5feea55e95876c3722c79fd7dabadd2cd6 (patch) | |
tree | 5fbd41b26e477d4bc6b5aa7ef1aebcc714127def /parts/classview/viewcombos.cpp | |
parent | 9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff) | |
download | tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'parts/classview/viewcombos.cpp')
-rw-r--r-- | parts/classview/viewcombos.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |