diff options
Diffstat (limited to 'client/deKoratorclient.cc')
-rw-r--r-- | client/deKoratorclient.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/client/deKoratorclient.cc b/client/deKoratorclient.cc index 8f6d87c..c92cb02 100644 --- a/client/deKoratorclient.cc +++ b/client/deKoratorclient.cc @@ -327,7 +327,7 @@ bool DeKoratorFactory::reset( unsigned long changed ) bool DeKoratorFactory::readConfig() { // create a config object - KConfig config( "kwindeKoratorrc" ); + TDEConfig config( "twindeKoratorrc" ); TQColor col = TQColor( 150, 150, 150 ); // grab settings @@ -827,7 +827,7 @@ void DeKoratorFactory::colorizePixmap( TQPixmap *pix, TQColor c, TQString colori if ( colorizeMethod == "Liquid Method" ) { img = pix->convertToImage(); - //KIconEffect::toGray( img, 1.0 ); + //TDEIconEffect::toGray( img, 1.0 ); if ( img.depth() != 32 ) img = img.convertDepth( 32 ); @@ -877,13 +877,13 @@ void DeKoratorFactory::colorizePixmap( TQPixmap *pix, TQColor c, TQString colori else if ( colorizeMethod == "Kde Method" ) { img = pix->convertToImage(); - KIconEffect::colorize( img, c, 1.0 ); + TDEIconEffect::colorize( img, c, 1.0 ); pix->convertFromImage( img, 0 ); } else if ( colorizeMethod == "Hue Adgustment" ) { img = pix->convertToImage(); - //KIconEffect::toGray( img, 1.0 ); + //TDEIconEffect::toGray( img, 1.0 ); if ( img.depth() != 32 ) img = img.convertDepth( 32 ); @@ -1493,7 +1493,7 @@ TQImage* DeKoratorButton::chooseRightHoverEffect( TQImage * img, TQString res ) else { if ( BUTTONHOVERTYPE == "To Gray" ) - KIconEffect::toGray( *img, EFFECTAMOUNT ); + TDEIconEffect::toGray( *img, EFFECTAMOUNT ); else if ( BUTTONHOVERTYPE == "Colorize" ) { TQColor col = client_->isActive() ? ACTIVEHIGHLIGHTCOLOR : INACTIVEHIGHLIGHTCOLOR; @@ -1504,9 +1504,9 @@ TQImage* DeKoratorButton::chooseRightHoverEffect( TQImage * img, TQString res ) *img = pix.convertToImage(); } else if ( BUTTONHOVERTYPE == "DeSaturate" ) - KIconEffect::deSaturate( *img, EFFECTAMOUNT ); + TDEIconEffect::deSaturate( *img, EFFECTAMOUNT ); else if ( BUTTONHOVERTYPE == "To Gamma" ) - KIconEffect::toGamma( *img, EFFECTAMOUNT ); + TDEIconEffect::toGamma( *img, EFFECTAMOUNT ); } return img; } |