summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
parent9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff)
downloadtdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz
tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'lib')
-rw-r--r--lib/util/configwidgetproxy.cpp4
-rw-r--r--lib/widgets/kdevtabwidget.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/configwidgetproxy.cpp b/lib/util/configwidgetproxy.cpp
index 3396adfd..bea1c79a 100644
--- a/lib/util/configwidgetproxy.cpp
+++ b/lib/util/configwidgetproxy.cpp
@@ -62,7 +62,7 @@ void ConfigWidgetProxy::slotConfigWidget( KDialogBase * dlg )
TitleMap::Iterator it = _globalTitleMap.begin();
while ( it != _globalTitleMap.end() )
{
- _pageMap.insert( dlg->addVBoxPage( it.data().first, it.data().first, BarIcon( it.data().second, KIcon::SizeMedium ) ), it.key() );
+ _pageMap.insert( dlg->addVBoxPage( it.data().first, it.data().first, BarIcon( it.data().second, TDEIcon::SizeMedium ) ), it.key() );
++it;
}
@@ -75,7 +75,7 @@ void ConfigWidgetProxy::slotProjectConfigWidget( KDialogBase * dlg )
TitleMap::Iterator it = _projectTitleMap.begin();
while ( it != _projectTitleMap.end() )
{
- _pageMap.insert( dlg->addVBoxPage( it.data().first, it.data().first, BarIcon( it.data().second, KIcon::SizeMedium ) ), it.key() );
+ _pageMap.insert( dlg->addVBoxPage( it.data().first, it.data().first, BarIcon( it.data().second, TDEIcon::SizeMedium ) ), it.key() );
++it;
}
diff --git a/lib/widgets/kdevtabwidget.cpp b/lib/widgets/kdevtabwidget.cpp
index fc45f704..ec749bd2 100644
--- a/lib/widgets/kdevtabwidget.cpp
+++ b/lib/widgets/kdevtabwidget.cpp
@@ -30,7 +30,7 @@ KTabBar::KTabBar(TQWidget *parent, const char *name) : TQTabBar(parent,name)
{
m_pPopupMenu = new TQPopupMenu(this);
- TQPixmap closePixmap = TDEGlobal::instance()->iconLoader()->loadIcon( "tab_remove", KIcon::Small, 0, KIcon::DefaultState, 0, true );
+ TQPixmap closePixmap = TDEGlobal::instance()->iconLoader()->loadIcon( "tab_remove", TDEIcon::Small, 0, TDEIcon::DefaultState, 0, true );
if (closePixmap.isNull())
closePixmap = SmallIcon("fileclose");