summaryrefslogtreecommitdiffstats
path: root/parts/classview
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
parent9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff)
downloadtdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz
tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'parts/classview')
-rw-r--r--parts/classview/classtooldlg.cpp12
-rw-r--r--parts/classview/classtreebase.cpp10
-rw-r--r--parts/classview/classviewwidget.cpp10
-rw-r--r--parts/classview/navigator.cpp2
-rw-r--r--parts/classview/viewcombos.cpp8
5 files changed, 21 insertions, 21 deletions
diff --git a/parts/classview/classtooldlg.cpp b/parts/classview/classtooldlg.cpp
index 43ccfa18..845352fb 100644
--- a/parts/classview/classtooldlg.cpp
+++ b/parts/classview/classtooldlg.cpp
@@ -39,37 +39,37 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part )
TQPushButton *close_button = new KPushButton(KStdGuiItem::close(), this);
parents_button = new TQToolButton(this);
- parents_button->setPixmap( UserIcon("CTparents", KIcon::DefaultState, ClassViewFactory::instance()) );
+ parents_button->setPixmap( UserIcon("CTparents", TDEIcon::DefaultState, ClassViewFactory::instance()) );
parents_button->setToggleButton(true);
parents_button->setFixedSize(parents_button->sizeHint());
TQToolTip::add(parents_button, i18n("Show parents"));
children_button = new TQToolButton(this);
- children_button->setPixmap( UserIcon("CTchildren", KIcon::DefaultState, ClassViewFactory::instance()) );
+ children_button->setPixmap( UserIcon("CTchildren", TDEIcon::DefaultState, ClassViewFactory::instance()) );
children_button->setToggleButton(true);
children_button->setFixedSize(children_button->sizeHint());
TQToolTip::add(children_button, i18n("Show children"));
clients_button = new TQToolButton(this);
- clients_button->setPixmap( UserIcon("CTclients", KIcon::DefaultState, ClassViewFactory::instance()) );
+ clients_button->setPixmap( UserIcon("CTclients", TDEIcon::DefaultState, ClassViewFactory::instance()) );
clients_button->setToggleButton(true);
clients_button->setFixedSize(clients_button->sizeHint());
TQToolTip::add(clients_button, i18n("Show clients"));
suppliers_button = new TQToolButton(this);
- suppliers_button->setPixmap( UserIcon("CTsuppliers", KIcon::DefaultState, ClassViewFactory::instance()) );
+ suppliers_button->setPixmap( UserIcon("CTsuppliers", TDEIcon::DefaultState, ClassViewFactory::instance()) );
suppliers_button->setToggleButton(true);
suppliers_button->setFixedSize(suppliers_button->sizeHint());
TQToolTip::add(suppliers_button, i18n("Show suppliers"));
methods_button = new TQToolButton(this);
- methods_button->setPixmap( UserIcon("CVpublic_meth", KIcon::DefaultState, ClassViewFactory::instance()) );
+ methods_button->setPixmap( UserIcon("CVpublic_meth", TDEIcon::DefaultState, ClassViewFactory::instance()) );
methods_button->setToggleButton(true);
methods_button->setFixedSize(methods_button->sizeHint());
TQToolTip::add(methods_button, i18n("Show methods"));
attributes_button = new TQToolButton(this);
- attributes_button->setPixmap( UserIcon("CVpublic_var", KIcon::DefaultState, ClassViewFactory::instance()) );
+ attributes_button->setPixmap( UserIcon("CVpublic_var", TDEIcon::DefaultState, ClassViewFactory::instance()) );
attributes_button->setToggleButton(true);
attributes_button->setFixedSize(attributes_button->sizeHint());
TQToolTip::add(attributes_button, i18n("Show attributes"));
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()));
}
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 );
diff --git a/parts/classview/navigator.cpp b/parts/classview/navigator.cpp
index 389b1d6f..939dbdaf 100644
--- a/parts/classview/navigator.cpp
+++ b/parts/classview/navigator.cpp
@@ -94,7 +94,7 @@ public:
virtual void setup()
{
FancyListViewItem::setup();
- setPixmap( 0, UserIcon("CVpublic_meth", KIcon::DefaultState, m_part->instance()) );
+ setPixmap( 0, UserIcon("CVpublic_meth", TDEIcon::DefaultState, m_part->instance()) );
}
Type type() { return m_type; }
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)
{