From 4c6870471be96131ae42a7e20355e6f06029a6d9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:17:58 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kopete/libkopete/kopeteonlinestatusmanager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kopete/libkopete/kopeteonlinestatusmanager.cpp') diff --git a/kopete/libkopete/kopeteonlinestatusmanager.cpp b/kopete/libkopete/kopeteonlinestatusmanager.cpp index c583198a..02daf0ab 100644 --- a/kopete/libkopete/kopeteonlinestatusmanager.cpp +++ b/kopete/libkopete/kopeteonlinestatusmanager.cpp @@ -311,26 +311,26 @@ TQPixmap* OnlineStatusManager::renderIcon( const OnlineStatus &statusFor, const // Colorize if ( color.isValid() ) - *basis = KIconEffect().apply( *basis, KIconEffect::Colorize, 1, color, 0); + *basis = TDEIconEffect().apply( *basis, TDEIconEffect::Colorize, 1, color, 0); // Note that we do this before compositing the overlay, since we want // that to be colored in this case. if ( statusFor.internalStatus() == Kopete::OnlineStatus::AccountOffline || statusFor.status() == Kopete::OnlineStatus::Offline ) { - *basis = KIconEffect().apply( *basis, KIconEffect::ToGray , 0.85, TQColor() , false ); + *basis = TDEIconEffect().apply( *basis, TDEIconEffect::ToGray , 0.85, TQColor() , false ); } //composite the iconOverlay for this status and the supplied baseIcon TQStringList overlays = statusFor.overlayIcons(); if ( !( overlays.isEmpty() ) ) // otherwise leave the basis as-is { - KIconLoader *loader = TDEGlobal::instance()->iconLoader(); + TDEIconLoader *loader = TDEGlobal::instance()->iconLoader(); int i = 0; for( TQStringList::iterator it = overlays.begin(), end = overlays.end(); it != end; ++it ) { - TQPixmap overlay = loader->loadIcon(*it, KIcon::Small, 0 , - KIcon::DefaultState, 0L, /*canReturnNull=*/ true ); + TQPixmap overlay = loader->loadIcon(*it, TDEIcon::Small, 0 , + TDEIcon::DefaultState, 0L, /*canReturnNull=*/ true ); if ( !overlay.isNull() ) { @@ -363,7 +363,7 @@ TQPixmap* OnlineStatusManager::renderIcon( const OnlineStatus &statusFor, const // if idle, apply effects if ( idle ) - KIconEffect::semiTransparent( *basis ); + TDEIconEffect::semiTransparent( *basis ); return basis; } -- cgit v1.2.1