summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopeteonlinestatusmanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:17:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:17:58 -0600
commit4c6870471be96131ae42a7e20355e6f06029a6d9 (patch)
tree956359e3bdd20d67f4ec60bf724701afc86763a1 /kopete/libkopete/kopeteonlinestatusmanager.cpp
parent2cb1d1c8edcbfae77e25dad2f3aa97e09c627a06 (diff)
downloadtdenetwork-4c6870471be96131ae42a7e20355e6f06029a6d9.tar.gz
tdenetwork-4c6870471be96131ae42a7e20355e6f06029a6d9.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kopete/libkopete/kopeteonlinestatusmanager.cpp')
-rw-r--r--kopete/libkopete/kopeteonlinestatusmanager.cpp12
1 files changed, 6 insertions, 6 deletions
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;
}