diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:27 -0600 |
commit | 580d345952faf597f69347256e0ad3411725988a (patch) | |
tree | ff47470421577a3e0e9f387b324e184e4d008d53 /kview | |
parent | 81576b133797828eaca3ac819f4adca21de8d327 (diff) | |
download | tdegraphics-580d345952faf597f69347256e0ad3411725988a.tar.gz tdegraphics-580d345952faf597f69347256e0ad3411725988a.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kview')
-rw-r--r-- | kview/ChangeLog | 2 | ||||
-rw-r--r-- | kview/modules/effects/kvieweffects.cpp | 2 | ||||
-rw-r--r-- | kview/modules/presenter/kviewpresenter.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
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<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 ); } } |