Rename a few stragglers

(cherry picked from commit 5959ea6d0d)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 97ccef8ebc
commit 2c543c7698

@ -231,7 +231,7 @@ void LinkLabel::setLook(LinkLook *look) // FIXME: called externaly (so, without
font.setUnderline(look->underlineOutside()); font.setUnderline(look->underlineOutside());
font.setItalic(look->italic()); font.setItalic(look->italic());
m_title->setFont(font); m_title->setFont(font);
m_title->setPaletteForegroundColor( m_isSelected ? KApplication::tqpalette().active().highlightedText() : look->effectiveColor() ); m_title->setPaletteForegroundColor( m_isSelected ? KApplication::palette().active().highlightedText() : look->effectiveColor() );
m_icon->setShown( m_icon->pixmap() && ! m_icon->pixmap()->isNull() ); m_icon->setShown( m_icon->pixmap() && ! m_icon->pixmap()->isNull() );
@ -323,7 +323,7 @@ void LinkLabel::setSelected(bool selected)
{ {
m_isSelected = selected; m_isSelected = selected;
if (selected) if (selected)
m_title->setPaletteForegroundColor(KApplication::tqpalette().active().highlightedText()); m_title->setPaletteForegroundColor(KApplication::palette().active().highlightedText());
else if (m_isHovered) else if (m_isHovered)
m_title->setPaletteForegroundColor(m_look->effectiveHoverColor()); m_title->setPaletteForegroundColor(m_look->effectiveHoverColor());
else else

@ -164,7 +164,7 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu)
painter.setPen( TQPen(KApplication::palette().active().dark(), CIRCLE_WIDTH) ); painter.setPen( TQPen(KApplication::palette().active().dark(), CIRCLE_WIDTH) );
painter.drawArc(ax + SHADOW_OFFSET, ay + SHADOW_OFFSET, painter.drawArc(ax + SHADOW_OFFSET, ay + SHADOW_OFFSET,
tw + 2*CIRCLE_MARGINS, th + 2*CIRCLE_MARGINS, 0, 16*360); tw + 2*CIRCLE_MARGINS, th + 2*CIRCLE_MARGINS, 0, 16*360);
painter.setPen( TQPen(TQt::red/*KApplication::tqpalette().active().highlight()*/, CIRCLE_WIDTH) ); painter.setPen( TQPen(TQt::red/*KApplication::palette().active().highlight()*/, CIRCLE_WIDTH) );
painter.drawArc(ax, ay, tw + 2*CIRCLE_MARGINS, th + 2*CIRCLE_MARGINS, 0, 16*360); painter.drawArc(ax, ay, tw + 2*CIRCLE_MARGINS, th + 2*CIRCLE_MARGINS, 0, 16*360);
#if 1 #if 1
// Draw the pixmap over the screenshot in case a window hide the icon: // Draw the pixmap over the screenshot in case a window hide the icon:

Loading…
Cancel
Save