summaryrefslogtreecommitdiffstats
path: root/src/systemtray.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/systemtray.cpp
parentdff37d34bfe7faea4801d273ea569eccf7e75c53 (diff)
downloadbasket-08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3.tar.gz
basket-08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r--src/systemtray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemtray.cpp b/src/systemtray.cpp
index fa9fae2..ed2425f 100644
--- a/src/systemtray.cpp
+++ b/src/systemtray.cpp
@@ -161,10 +161,10 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu)
const int IMAGE_BORDER = 1;
int ax = g.x() - x - CIRCLE_MARGINS - 1;
int ay = g.y() - y - CIRCLE_MARGINS - 1;
- painter.setPen( TQPen(KApplication::palette().active().dark(), CIRCLE_WIDTH) );
+ painter.setPen( TQPen(TDEApplication::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::palette().active().highlight()*/, CIRCLE_WIDTH) );
+ painter.setPen( TQPen(TQt::red/*TDEApplication::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:
@@ -174,7 +174,7 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu)
// Then, we add a border arround the image to make it more visible:
TQPixmap finalShot(w + 2*IMAGE_BORDER, h + 2*IMAGE_BORDER);
- finalShot.fill(KApplication::palette().active().foreground());
+ finalShot.fill(TDEApplication::palette().active().foreground());
painter.begin(&finalShot);
painter.drawPixmap(IMAGE_BORDER, IMAGE_BORDER, shot);
painter.end();