summaryrefslogtreecommitdiffstats
path: root/src/part
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:01:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:01:09 -0600
commit03490f06804dd59e293458b005d5a305ce41e724 (patch)
treedb6aefa5f32b44a1e85629b1f9699ef6268f9312 /src/part
parentcf94951d4cb0dd12b9904a87db01b5185d5f11c5 (diff)
downloadfilelight-03490f06804dd59e293458b005d5a305ce41e724.tar.gz
filelight-03490f06804dd59e293458b005d5a305ce41e724.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/part')
-rw-r--r--src/part/radialMap/widgetEvents.cpp4
-rw-r--r--src/part/summaryWidget.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/part/radialMap/widgetEvents.cpp b/src/part/radialMap/widgetEvents.cpp
index 03f6ec0..7e3a5de 100644
--- a/src/part/radialMap/widgetEvents.cpp
+++ b/src/part/radialMap/widgetEvents.cpp
@@ -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() );
}
diff --git a/src/part/summaryWidget.cpp b/src/part/summaryWidget.cpp
index f3615f6..75f01a6 100644
--- a/src/part/summaryWidget.cpp
+++ b/src/part/summaryWidget.cpp
@@ -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>";