summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_combo.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 /konqueror/konq_combo.cc
parent4f841fbbbc5d3399535ade061699cc76363c7a3f (diff)
downloadtdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz
tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'konqueror/konq_combo.cc')
-rw-r--r--konqueror/konq_combo.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/konqueror/konq_combo.cc b/konqueror/konq_combo.cc
index 3d99ed337..888f79283 100644
--- a/konqueror/konq_combo.cc
+++ b/konqueror/konq_combo.cc
@@ -329,7 +329,7 @@ void KonqCombo::loadItems()
item = *it;
if ( !item.isEmpty() ) { // only insert non-empty items
if( first ) {
- insertItem( KonqPixmapProvider::self()->pixmapFor( item, KIcon::SizeSmall ),
+ insertItem( KonqPixmapProvider::self()->pixmapFor( item, TDEIcon::SizeSmall ),
item, i++, titleOfURL( item ) );
}
else
@@ -349,7 +349,7 @@ void KonqCombo::slotSetIcon( int index )
if( pixmap( index ) == NULL )
// on-demand icon loading
updateItem( KonqPixmapProvider::self()->pixmapFor( text( index ),
- KIcon::SizeSmall ), text( index ), index,
+ TDEIcon::SizeSmall ), text( index ), index,
titleOfURL( text( index ) ) );
update();
}
@@ -362,7 +362,7 @@ void KonqCombo::popup()
{
// on-demand icon loading
updateItem( KonqPixmapProvider::self()->pixmapFor( text( i ),
- KIcon::SizeSmall), text( i ), i, titleOfURL( text( i ) ) );
+ TDEIcon::SizeSmall), text( i ), i, titleOfURL( text( i ) ) );
}
}
KHistoryCombo::popup();
@@ -577,7 +577,7 @@ void KonqCombo::mouseMoveEvent( TQMouseEvent *e )
list.append( url );
KURLDrag *drag = new KURLDrag( list, this );
TQPixmap pix = KonqPixmapProvider::self()->pixmapFor( currentText(),
- KIcon::SizeMedium );
+ TDEIcon::SizeMedium );
if ( !pix.isNull() )
drag->setPixmap( pix );
drag->dragCopy();
@@ -700,13 +700,13 @@ void KonqComboListBoxPixmap::paint( TQPainter *painter )
if ( lookup_pending ) {
title = titleOfURL( text() );
if ( !title.isEmpty() )
- pm = KonqPixmapProvider::self()->pixmapFor( text(), KIcon::SizeSmall );
+ pm = KonqPixmapProvider::self()->pixmapFor( text(), TDEIcon::SizeSmall );
else if ( text().find( "://" ) == -1 ) {
title = titleOfURL( "http://"+text() );
if ( !title.isEmpty() )
- pm = KonqPixmapProvider::self()->pixmapFor( "http://"+text(), KIcon::SizeSmall );
+ pm = KonqPixmapProvider::self()->pixmapFor( "http://"+text(), TDEIcon::SizeSmall );
else
- pm = KonqPixmapProvider::self()->pixmapFor( text(), KIcon::SizeSmall );
+ pm = KonqPixmapProvider::self()->pixmapFor( text(), TDEIcon::SizeSmall );
}
else
pm = TQPixmap();