Rename a few stragglers

pull/1/head
Timothy Pearson 13 years ago
parent 17678d65de
commit 5959ea6d0d

@ -231,7 +231,7 @@ void LinkLabel::setLook(LinkLook *look) // FIXME: called externaly (so, without
font.setUnderline(look->underlineOutside());
font.setItalic(look->italic());
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() );
@ -323,7 +323,7 @@ void LinkLabel::setSelected(bool selected)
{
m_isSelected = selected;
if (selected)
m_title->setPaletteForegroundColor(KApplication::tqpalette().active().highlightedText());
m_title->setPaletteForegroundColor(KApplication::palette().active().highlightedText());
else if (m_isHovered)
m_title->setPaletteForegroundColor(m_look->effectiveHoverColor());
else

@ -164,7 +164,7 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu)
painter.setPen( TQPen(KApplication::palette().active().dark(), CIRCLE_WIDTH) );
painter.drawArc(ax + SHADOW_OFFSET, ay + SHADOW_OFFSET,
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);
#if 1
// Draw the pixmap over the screenshot in case a window hide the icon:

Loading…
Cancel
Save