From 9150603ad32928e9c514c0492a8518b742d82ac3 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/kdesdk@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- scheck/scheck.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'scheck/scheck.cpp') diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp index 4e4dd724..0e4aa9c2 100644 --- a/scheck/scheck.cpp +++ b/scheck/scheck.cpp @@ -104,7 +104,7 @@ static TQBitmap lightBmp; static TQBitmap grayBmp; static TQBitmap dgrayBmp; static TQBitmap centerBmp; -static TQBitmap tqmaskBmp; +static TQBitmap maskBmp; static TQBitmap xBmp; static const int itemFrame = 1; @@ -991,7 +991,7 @@ void StyleCheckStyle::unPolish(TQWidget* widget) -// This function draws primitive elements as well as their tqmasks. +// This function draws primitive elements as well as their masks. void StyleCheckStyle::drawPrimitive( PrimitiveElement pe, TQPainter *p, const TQRect &r, @@ -1344,13 +1344,13 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe, // RADIOBUTTON (exclusive indicator) tqmask // ------------------------------------------------------------------- case PE_ExclusiveIndicatorMask: { - if (tqmaskBmp.isNull()) { - tqmaskBmp = TQBitmap(13, 13, radiotqmask_bits, true); - tqmaskBmp.setMask(tqmaskBmp); + if (maskBmp.isNull()) { + maskBmp = TQBitmap(13, 13, radiomask_bits, true); + maskBmp.setMask(maskBmp); } p->setPen(TQt::color1); - p->drawPixmap(r.x(), r.y(), tqmaskBmp); + p->drawPixmap(r.x(), r.y(), maskBmp); break; } @@ -2323,11 +2323,11 @@ void StyleCheckStyle::tqdrawComplexControl( ComplexControl control, drawPrimitive(PE_ButtonTool, p, button, cg, bflags, opt); // Check whether to draw a background pixmap - else if ( toolbutton->tqparentWidget() && - toolbutton->tqparentWidget()->backgroundPixmap() && - !toolbutton->tqparentWidget()->backgroundPixmap()->isNull() ) + else if ( toolbutton->parentWidget() && + toolbutton->parentWidget()->backgroundPixmap() && + !toolbutton->parentWidget()->backgroundPixmap()->isNull() ) { - TQPixmap pixmap = *(toolbutton->tqparentWidget()->backgroundPixmap()); + TQPixmap pixmap = *(toolbutton->parentWidget()->backgroundPixmap()); p->drawTiledPixmap( r, pixmap, toolbutton->pos() ); } else if (widget->tqparent()) @@ -2685,7 +2685,7 @@ bool StyleCheckStyle::eventFilter( TQObject *object, TQEvent *event ) //Walk tqparent hierarchy to check whether any are groupboxes too.. TQObject* tqparent = TQT_TQOBJECT(gb); - // GCC suggested tqparentheses around assignment used as truth value + // GCC suggested parentheses around assignment used as truth value // I suggested that it could eat me. GCC won. while ( (tqparent = tqparent->tqparent()) ) { -- cgit v1.2.1