summaryrefslogtreecommitdiffstats
path: root/kteatime/toplevel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit49f9b290287ed4df63901c5912ddbb3c1ae5d515 (patch)
tree0a20bf2186d58b5edef3a3a7da518ea3c8244246 /kteatime/toplevel.cpp
parent1d14c95a7737078a695e99442628f450354c00ff (diff)
downloadtdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.tar.gz
tdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kteatime/toplevel.cpp')
-rw-r--r--kteatime/toplevel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kteatime/toplevel.cpp b/kteatime/toplevel.cpp
index 65cf116..82539ce 100644
--- a/kteatime/toplevel.cpp
+++ b/kteatime/toplevel.cpp
@@ -251,15 +251,15 @@ void TopLevel::paintEvent(TQPaintEvent *)
// overlay pie chart onto tray icon
TQPixmap base(*pm); // make copy of base pixmap
if (useTrayVis && running) {
- // extend tqmask
- TQBitmap tqmask = *(base.tqmask());
- TQPainter pm(&tqmask);
+ // extend mask
+ TQBitmap mask = *(base.mask());
+ TQPainter pm(&mask);
pm.setBrush(TQt::color1); // fill with "foreground-colour"
pm.setPen(TQt::NoPen); // no border needed/wanted
pm.drawPie(0+1, ((float) width()/(float) 2.44444444444)+1, (width()/2), (width()/2), 90*16, -360*16); // full circle of small size
pm.drawPie(0, ((float) width()/(float) 2.44444444444), ((float) width()/(float) 1.69230769231), ((float) width()/(float) 1.69230769231), 90*16, percentDone*16); // pie part of big size
pm.end();
- base.setMask(tqmask);
+ base.setMask(mask);
// draw pie chart
TQPainter px(&base);