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 --- konqueror/konq_combo.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'konqueror/konq_combo.cc') 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(); -- cgit v1.2.1