|
|
@ -611,7 +611,7 @@ void KFileIconView::slotPreviewResult( KIO::Job *job )
|
|
|
|
void KFileIconView::gotPreview( const KFileItem *item, const TQPixmap& pix )
|
|
|
|
void KFileIconView::gotPreview( const KFileItem *item, const TQPixmap& pix )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
KFileIconViewItem *it = viewItem( item );
|
|
|
|
KFileIconViewItem *it = viewItem( item );
|
|
|
|
if ( it )
|
|
|
|
if ( it ) {
|
|
|
|
if( item->overlays() & KIcon::HiddenOverlay )
|
|
|
|
if( item->overlays() & KIcon::HiddenOverlay )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQPixmap p( pix );
|
|
|
|
TQPixmap p( pix );
|
|
|
@ -619,9 +619,11 @@ void KFileIconView::gotPreview( const KFileItem *item, const TQPixmap& pix )
|
|
|
|
KIconEffect::semiTransparent( p );
|
|
|
|
KIconEffect::semiTransparent( p );
|
|
|
|
it->setPixmap( p );
|
|
|
|
it->setPixmap( p );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else {
|
|
|
|
it->setPixmap( pix );
|
|
|
|
it->setPixmap( pix );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool KFileIconView::canPreview( const KFileItem *item ) const
|
|
|
|
bool KFileIconView::canPreview( const KFileItem *item ) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|