summaryrefslogtreecommitdiffstats
path: root/src/linklabel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:53:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:53:04 -0600
commit08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3 (patch)
treebcd4a532e741d04ebb160f4761bcb77b875286d4 /src/linklabel.cpp
parentdff37d34bfe7faea4801d273ea569eccf7e75c53 (diff)
downloadbasket-08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3.tar.gz
basket-08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'src/linklabel.cpp')
-rw-r--r--src/linklabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linklabel.cpp b/src/linklabel.cpp
index 5cac60d..01978d8 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::palette().active().highlightedText() : look->effectiveColor() );
+ m_title->setPaletteForegroundColor( m_isSelected ? TDEApplication::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::palette().active().highlightedText());
+ m_title->setPaletteForegroundColor(TDEApplication::palette().active().highlightedText());
else if (m_isHovered)
m_title->setPaletteForegroundColor(m_look->effectiveHoverColor());
else