From 029becd298ff711d71a1492630272f77dcceb44d Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 22 Feb 2006 08:31:58 +0000 Subject: [PATCH] Deprecated-- svn path=/trunk/KDE/kdebase/workspace/; revision=512302 --- kcmkwin/kwinoptions/windows.cpp | 2 +- tabbox.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp index baf1299713..6cc4352c19 100644 --- a/kcmkwin/kwinoptions/windows.cpp +++ b/kcmkwin/kwinoptions/windows.cpp @@ -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); diff --git a/tabbox.cpp b/tabbox.cpp index c75cd058ad..99ab86067d 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -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 ) );