From bce8199ddac4feecdee9c094fb8f75863cfa9652 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksnapshot/ksnapshotwidget.ui | 4 ++-- ksnapshot/windowgrabber.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'ksnapshot') diff --git a/ksnapshot/ksnapshotwidget.ui b/ksnapshot/ksnapshotwidget.ui index 41fc9146..86e942f2 100644 --- a/ksnapshot/ksnapshotwidget.ui +++ b/ksnapshot/ksnapshotwidget.ui @@ -351,8 +351,8 @@ If <i>no delay</i> is set, the program will wait for a mouse click b preview() SmallIconSet - - + + kpushbutton.h kpushbutton.h diff --git a/ksnapshot/windowgrabber.cpp b/ksnapshot/windowgrabber.cpp index 8bf8deee..0f646a22 100644 --- a/ksnapshot/windowgrabber.cpp +++ b/ksnapshot/windowgrabber.cpp @@ -166,15 +166,15 @@ TQPixmap grabWindow( Window child, int x, int y, uint w, uint h, uint border ) contents += TQRegion( w - border, 0, border, h ); } - //Get the tqmasked away area. - TQRegion tqmaskedAway = bbox - contents; - TQMemArray tqmaskedAwayRects = tqmaskedAway.tqrects(); + //Get the masked away area. + TQRegion maskedAway = bbox - contents; + TQMemArray maskedAwayRects = maskedAway.tqrects(); //Construct a bitmap tqmask from the rectangles TQPainter p(&tqmask); p.fillRect(0, 0, w, h, TQt::color1); - for (uint pos = 0; pos < tqmaskedAwayRects.count(); pos++) - p.fillRect(tqmaskedAwayRects[pos], TQt::color0); + for (uint pos = 0; pos < maskedAwayRects.count(); pos++) + p.fillRect(maskedAwayRects[pos], TQt::color0); p.end(); pm.setMask(tqmask); -- cgit v1.2.1