Deprecated--

svn path=/trunk/KDE/kdebase/workspace/; revision=512302
This commit is contained in:
Laurent Montel 2006-02-22 08:31:58 +00:00
parent 2fddb53bf8
commit 029becd298
2 changed files with 3 additions and 3 deletions

View file

@ -1529,7 +1529,7 @@ void KTranslucencyConfig::save( void )
int r, g, b;
shadowColor->color().rgb( &r, &g, &b );
shadowColor->color().getRgb( &r, &g, &b );
QString hex;
hex.sprintf("0x%02X%02X%02X", r,g,b);
conf_->writeEntry("ShadowColor",hex);

View file

@ -402,8 +402,8 @@ void TabBox::drawContents( QPainter * )
int r1, g1, b1;
int r2, g2, b2;
c1.rgb( &r1, &g1, &b1 );
c2.rgb( &r2, &g2, &b2 );
c1.getRgb( &r1, &g1, &b1 );
c2.getRgb( &r2, &g2, &b2 );
r1 += (int) ( .5 * ( r2 - r1 ) );
g1 += (int) ( .5 * ( g2 - g1 ) );