From 580d345952faf597f69347256e0ad3411725988a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:16:27 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kview/ChangeLog | 2 +- kview/modules/effects/kvieweffects.cpp | 2 +- kview/modules/presenter/kviewpresenter.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kview') diff --git a/kview/ChangeLog b/kview/ChangeLog index dab7dc80..15463e2f 100644 --- a/kview/ChangeLog +++ b/kview/ChangeLog @@ -83,7 +83,7 @@ * modules/effects/*: New module: KViewEffects. I implemented a simple gamma - correction filter using KIconEffect::toGamma(). + correction filter using TDEIconEffect::toGamma(). * kview.desktop: Changed MimeType field to support pbm, pnm, ppm and pgm. Is the image/x-png still needed? 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( 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 ); } } -- cgit v1.2.1