summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_pixmapprovider.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
commitde9b6c9ad15f9f51812daae17cce635d1050a9ba (patch)
tree6b26400ab1a616925443c5d365246eb86c9bad57 /libkonq/konq_pixmapprovider.cc
parent4f841fbbbc5d3399535ade061699cc76363c7a3f (diff)
downloadtdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz
tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'libkonq/konq_pixmapprovider.cc')
-rw-r--r--libkonq/konq_pixmapprovider.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkonq/konq_pixmapprovider.cc b/libkonq/konq_pixmapprovider.cc
index 72f24b8c6..59e58f33a 100644
--- a/libkonq/konq_pixmapprovider.cc
+++ b/libkonq/konq_pixmapprovider.cc
@@ -162,7 +162,7 @@ void KonqPixmapProvider::clear()
TQPixmap KonqPixmapProvider::loadIcon( const TQString& url, const TQString& icon,
int size )
{
- if ( size <= KIcon::SizeSmall )
+ if ( size <= TDEIcon::SizeSmall )
return SmallIcon( icon, size );
KURL u;
@@ -177,7 +177,7 @@ TQPixmap KonqPixmapProvider::loadIcon( const TQString& url, const TQString& icon
if ( url.startsWith( "http:/" ) && icon.startsWith("favicons/") ) {
TQPixmap small = SmallIcon( icon, size );
big = TDEGlobal::iconLoader()->loadIcon( KProtocolInfo::icon("http"),
- KIcon::Panel, size );
+ TDEIcon::Panel, size );
int x = big.width() - small.width();
int y = 0;
@@ -195,7 +195,7 @@ TQPixmap KonqPixmapProvider::loadIcon( const TQString& url, const TQString& icon
}
else // not a favicon..
- big = TDEGlobal::iconLoader()->loadIcon( icon, KIcon::Panel, size );
+ big = TDEGlobal::iconLoader()->loadIcon( icon, TDEIcon::Panel, size );
return big;
}