diff options
Diffstat (limited to 'scheck/scheck.cpp')
-rw-r--r-- | scheck/scheck.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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()) ) { |