From 49f9b290287ed4df63901c5912ddbb3c1ae5d515 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kteatime/toplevel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kteatime/toplevel.cpp') 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); -- cgit v1.2.1