summaryrefslogtreecommitdiffstats
path: root/src/basketlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/basketlistview.cpp')
-rw-r--r--src/basketlistview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/basketlistview.cpp b/src/basketlistview.cpp
index a963f8f..a747a6d 100644
--- a/src/basketlistview.cpp
+++ b/src/basketlistview.cpp
@@ -274,17 +274,17 @@ TQPixmap BasketListViewItem::circledTextPixmap(const TQString &text, int height,
TQPixmap gradient(3 * width, 3 * height); // We double the size to be able to smooth scale down it (== antialiased curves)
TQPainter gradientPainter(&gradient);
#if 1 // Enable the new look of the gradient:
- TQColor topColor = KGlobalSettings::highlightColor().light(130); //120
- TQColor topMidColor = KGlobalSettings::highlightColor().light(105); //105
- TQColor bottomMidColor = KGlobalSettings::highlightColor().dark(130); //120
- TQColor bottomColor = KGlobalSettings::highlightColor();
+ TQColor topColor = TDEGlobalSettings::highlightColor().light(130); //120
+ TQColor topMidColor = TDEGlobalSettings::highlightColor().light(105); //105
+ TQColor bottomMidColor = TDEGlobalSettings::highlightColor().dark(130); //120
+ TQColor bottomColor = TDEGlobalSettings::highlightColor();
drawGradient(&gradientPainter, topColor, topMidColor,
0, 0, gradient.width(), gradient.height() / 2, /*sunken=*/false, /*horz=*/true, /*flat=*/false);
drawGradient(&gradientPainter, bottomMidColor, bottomColor,
0, gradient.height() / 2, gradient.width(), gradient.height() - gradient.height() / 2, /*sunken=*/false, /*horz=*/true, /*flat=*/false);
- gradientPainter.fillRect(0, 0, gradient.width(), 3, KGlobalSettings::highlightColor());
+ gradientPainter.fillRect(0, 0, gradient.width(), 3, TDEGlobalSettings::highlightColor());
#else
- drawGradient(&gradientPainter, KGlobalSettings::highlightColor(), KGlobalSettings::highlightColor().dark(),
+ drawGradient(&gradientPainter, TDEGlobalSettings::highlightColor(), TDEGlobalSettings::highlightColor().dark(),
0, 0, gradient.width(), gradient.height(), /*sunken=*/false, /*horz=*/true, /*flat=*/false);
#endif
gradientPainter.end();
@@ -347,7 +347,7 @@ TQPixmap BasketListViewItem::foundCountPixmap(bool isLoading, int countFound, bo
return TQPixmap();
}
- return circledTextPixmap(text, height, boldFont, KGlobalSettings::highlightedTextColor());
+ return circledTextPixmap(text, height, boldFont, TDEGlobalSettings::highlightedTextColor());
}
bool BasketListViewItem::haveChildsLoading()
@@ -444,7 +444,7 @@ void BasketListViewItem::paintCell(TQPainter *painter, const TQColorGroup &/*col
bool drawRoundRect = m_basket->backgroundColorSetting().isValid() || m_basket->textColorSetting().isValid();
- TQColor textColor = (drawRoundRect ? m_basket->textColor() : (isCurrentBasket() ? KGlobalSettings::highlightedTextColor() : KGlobalSettings::textColor()));
+ TQColor textColor = (drawRoundRect ? m_basket->textColor() : (isCurrentBasket() ? TDEGlobalSettings::highlightedTextColor() : TDEGlobalSettings::textColor()));
BasketListViewItem *shownAbove = shownItemAbove();
BasketListViewItem *shownBelow = shownItemBelow();
@@ -480,7 +480,7 @@ void BasketListViewItem::paintCell(TQPainter *painter, const TQColorGroup &/*col
TQPainter thePainter(&theBuffer);
// Fill with the basket background color:
- TQColor background = (isCurrentBasket() ? KGlobalSettings::highlightColor() : listView()->paletteBackgroundColor());
+ TQColor background = (isCurrentBasket() ? TDEGlobalSettings::highlightColor() : listView()->paletteBackgroundColor());
thePainter.fillRect(0, 0, width, height(), background);
int textWidth = effectiveWidth - MARGIN - BASKET_ICON_SIZE - MARGIN - MARGIN;
@@ -515,7 +515,7 @@ void BasketListViewItem::paintCell(TQPainter *painter, const TQColorGroup &/*col
}
TQColor bgColor = listView()->paletteBackgroundColor();
- TQColor selColor = KGlobalSettings::highlightColor();
+ TQColor selColor = TDEGlobalSettings::highlightColor();
TQColor midColor = Tools::mixColor(bgColor, selColor);
// Draw the left selection roundings:
if (isCurrentBasket()) {
@@ -780,7 +780,7 @@ void BasketTreeListView::paintEmptyArea(TQPainter *painter, const TQRect &rect)
if (last && last->isCurrentBasket()) {
int y = last->itemPos() + last->height();
TQColor bgColor = paletteBackgroundColor();
- TQColor selColor = KGlobalSettings::highlightColor();
+ TQColor selColor = TDEGlobalSettings::highlightColor();
TQColor midColor = Tools::mixColor(bgColor, selColor);
painter->setPen(selColor);
painter->drawPoint(visibleWidth() - 1, y);