From 5959ea6d0dcff36e49773b89200b42b0af4a9646 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 24 Dec 2011 11:32:45 -0600 Subject: [PATCH] Rename a few stragglers --- src/linklabel.cpp | 4 ++-- src/systemtray.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/linklabel.cpp b/src/linklabel.cpp index 6932dca..5cac60d 100644 --- a/src/linklabel.cpp +++ b/src/linklabel.cpp @@ -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 diff --git a/src/systemtray.cpp b/src/systemtray.cpp index 990e42e..fdb7f40 100644 --- a/src/systemtray.cpp +++ b/src/systemtray.cpp @@ -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: