diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-06-26 16:07:50 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-06-26 16:35:30 +0300 |
commit | ed38fe03463d5de3c7b0ebd4034ad93eabdd2fde (patch) | |
tree | 87a9c58300ae14cd987015b3f7506c65b03715d5 /client/deKoratorclient.cc | |
parent | 2bc11f9dc783f26bf99f44515e92e49e8d2348fc (diff) | |
download | twin-style-dekorator-ed38fe03463d5de3c7b0ebd4034ad93eabdd2fde.tar.gz twin-style-dekorator-ed38fe03463d5de3c7b0ebd4034ad93eabdd2fde.zip |
Conversion KDE3→TDE
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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; } |