From de9b6c9ad15f9f51812daae17cce635d1050a9ba Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:14:55 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- libkonq/konq_pixmapprovider.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libkonq/konq_pixmapprovider.cc') 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; } -- cgit v1.2.1