summaryrefslogtreecommitdiffstats
path: root/parts/classview/classtreebase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:44 -0600
commit799fae5feea55e95876c3722c79fd7dabadd2cd6 (patch)
tree5fbd41b26e477d4bc6b5aa7ef1aebcc714127def /parts/classview/classtreebase.cpp
parent9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff)
downloadtdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz
tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'parts/classview/classtreebase.cpp')
-rw-r--r--parts/classview/classtreebase.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp
index 8af0efc8..d6d75974 100644
--- a/parts/classview/classtreebase.cpp
+++ b/parts/classview/classtreebase.cpp
@@ -142,7 +142,7 @@ void ClassTreeOrganizerItem::init()
void ClassTreeScopeItem::init()
{
setExpandable(true);
- setPixmap(0, UserIcon("CVnamespace", KIcon::DefaultState, ClassViewFactory::instance()));
+ setPixmap(0, UserIcon("CVnamespace", TDEIcon::DefaultState, ClassViewFactory::instance()));
}
@@ -217,7 +217,7 @@ void ClassTreeScopeItem::setOpen(bool o)
void ClassTreeClassItem::init()
{
setExpandable(true);
- setPixmap(0, UserIcon(m_isStruct ? "CVstruct" : "CVclass", KIcon::DefaultState, ClassViewFactory::instance()));
+ setPixmap(0, UserIcon(m_isStruct ? "CVstruct" : "CVclass", TDEIcon::DefaultState, ClassViewFactory::instance()));
}
@@ -302,7 +302,7 @@ ClassTreeMethodItem::ClassTreeMethodItem(ClassTreeItem *parent, ClassTreeItem *l
else
icon = "CVglobal_meth";
- setPixmap(0, UserIcon(icon, KIcon::DefaultState, ClassViewFactory::instance()));
+ setPixmap(0, UserIcon(icon, TDEIcon::DefaultState, ClassViewFactory::instance()));
}
TQString ClassTreeMethodItem::text( int ) const
@@ -356,7 +356,7 @@ ClassTreeAttrItem::ClassTreeAttrItem(ClassTreeItem *parent, ClassTreeItem *lastS
else
icon = "CVglobal_var";
- setPixmap(0, UserIcon(icon, KIcon::DefaultState, ClassViewFactory::instance()));
+ setPixmap(0, UserIcon(icon, TDEIcon::DefaultState, ClassViewFactory::instance()));
}
@@ -380,7 +380,7 @@ ClassTreeScriptItem::ClassTreeScriptItem(ClassTreeItem *parent, ClassTreeItem *l
//need a icon for scripts
icon = "CVpublic_var";
- setPixmap(0, UserIcon(icon, KIcon::DefaultState, ClassViewFactory::instance()));
+ setPixmap(0, UserIcon(icon, TDEIcon::DefaultState, ClassViewFactory::instance()));
}