Don't use qt3 class name

svn path=/trunk/KDE/kdebase/workspace/; revision=478798
This commit is contained in:
Laurent Montel 2005-11-07 22:07:49 +00:00
parent 10e453f73e
commit 91ea06f842
2 changed files with 3 additions and 3 deletions

View file

@ -1239,11 +1239,11 @@ void KeramikClient::updateCaptionBuffer()
{
if ( active ) {
if ( ! activeIcon )
activeIcon = new QPixmap( this->icon().pixmap( QIconSet::Small, QIconSet::Normal )); // FRAME
activeIcon = new QPixmap( this->icon().pixmap( QIcon::Small, QIcon::Normal )); // FRAME
icon = activeIcon;
} else {
if ( ! inactiveIcon ) {
QImage img = this->icon().pixmap( QIconSet::Small, QIconSet::Normal ).convertToImage();
QImage img = this->icon().pixmap( QIcon::Small, QIcon::Normal ).convertToImage();
KIconEffect::semiTransparent( img );
inactiveIcon = new QPixmap( img );
}

View file

@ -258,7 +258,7 @@ void PlastikButton::drawButton(QPainter *painter)
if (type() == MenuButton)
{
QPixmap menuIcon(m_client->icon().pixmap( QIconSet::Small, QIconSet::Normal));
QPixmap menuIcon(m_client->icon().pixmap( QIcon::Small, QIcon::Normal));
if (width() < menuIcon.width() || height() < menuIcon.height() ) {
menuIcon.convertFromImage( menuIcon.convertToImage().smoothScale(width(), height()));
}