summaryrefslogtreecommitdiffstats
path: root/kview/modules
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:16:27 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:16:27 -0600
commit580d345952faf597f69347256e0ad3411725988a (patch)
treeff47470421577a3e0e9f387b324e184e4d008d53 /kview/modules
parent81576b133797828eaca3ac819f4adca21de8d327 (diff)
downloadtdegraphics-580d345952faf597f69347256e0ad3411725988a.tar.gz
tdegraphics-580d345952faf597f69347256e0ad3411725988a.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kview/modules')
-rw-r--r--kview/modules/effects/kvieweffects.cpp2
-rw-r--r--kview/modules/presenter/kviewpresenter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kview/modules/effects/kvieweffects.cpp b/kview/modules/effects/kvieweffects.cpp
index a2525e77..82507454 100644
--- a/kview/modules/effects/kvieweffects.cpp
+++ b/kview/modules/effects/kvieweffects.cpp
@@ -216,7 +216,7 @@ void KViewEffects::applyGammaCorrection()
TQImage * corrected = workImage();
if( corrected )
{
- KIconEffect::toGamma( *corrected, m_gamma );
+ TDEIconEffect::toGamma( *corrected, m_gamma );
m_pViewer->canvas()->setImage( *corrected );
delete corrected;
m_lastgamma = m_gamma;
diff --git a/kview/modules/presenter/kviewpresenter.cpp b/kview/modules/presenter/kviewpresenter.cpp
index 7cc3285c..18d6f1a1 100644
--- a/kview/modules/presenter/kviewpresenter.cpp
+++ b/kview/modules/presenter/kviewpresenter.cpp
@@ -353,7 +353,7 @@ void KViewPresenter::makeCurrent( TQListViewItem * item )
else
{
m_pCurrentItem = static_cast<ImageListItem*>( item );
- m_pCurrentItem->setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "1rightarrow", KIcon::Small ) );
+ m_pCurrentItem->setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "1rightarrow", TDEIcon::Small ) );
m_pImageList->m_pListView->ensureItemVisible( m_pCurrentItem );
}
}