Rename KIcon to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent cf94951d4c
commit 03490f0680

@ -231,11 +231,11 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e )
m_tip->hide(); // user expects this
if (!isDir || e->button() == Qt::MidButton) {
KIconEffect::visualActivate( this, rect );
TDEIconEffect::visualActivate( this, rect );
new KRun( url, this, true ); //FIXME see above
}
else if (m_focus->file() != m_tree) { // is left click
KIconEffect::visualActivate( this, rect );
TDEIconEffect::visualActivate( this, rect );
emit activated( url ); //activate first, this will cause UI to prepare itself
createFromCache( (Directory *)m_focus->file() );
}

@ -68,7 +68,7 @@ public:
//and clicks to the used segment
else if( segment && segment->file()->name() == "Used" ) {
const TQRect rect( e->x() - 20, e->y() - 20, 40, 40 );
KIconEffect::visualActivate( this, rect );
TDEIconEffect::visualActivate( this, rect );
emit activated( url() );
}
}
@ -102,7 +102,7 @@ SummaryWidget::createDiskMaps()
const TQCString free = i18n( "Free" ).local8Bit();
const TQCString used = i18n( "Used" ).local8Bit();
KIconLoader loader;
TDEIconLoader loader;
oldScheme = Config::scheme;
Config::scheme = (Filelight::MapScheme)2000;
@ -118,7 +118,7 @@ SummaryWidget::createDiskMaps()
RadialMap::Widget *map = new MyRadialMap( box );
TQString text; TQTextOStream( &text )
<< "<img src='" << loader.iconPath( disk.icon, KIcon::Toolbar ) << "'>"
<< "<img src='" << loader.iconPath( disk.icon, TDEIcon::Toolbar ) << "'>"
<< " &nbsp;" << disk.mount << " "
<< "<i>(" << disk.device << ")</i>";

Loading…
Cancel
Save