diff options
Diffstat (limited to 'scheck/scheck.cpp')
-rw-r--r-- | scheck/scheck.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp index 033051b8..5d8d3582 100644 --- a/scheck/scheck.cpp +++ b/scheck/scheck.cpp @@ -1341,7 +1341,7 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe, } - // RADIOBUTTON (exclusive indicator) tqmask + // RADIOBUTTON (exclusive indicator) mask // ------------------------------------------------------------------- case PE_ExclusiveIndicatorMask: { if (maskBmp.isNull()) { @@ -2330,21 +2330,21 @@ void StyleCheckStyle::tqdrawComplexControl( ComplexControl control, TQPixmap pixmap = *(toolbutton->parentWidget()->backgroundPixmap()); p->drawTiledPixmap( r, pixmap, toolbutton->pos() ); } - else if (widget->tqparent()) + else if (widget->parent()) { - if (widget->tqparent()->inherits(TQTOOLBAR_OBJECT_NAME_STRING)) + if (widget->parent()->inherits(TQTOOLBAR_OBJECT_NAME_STRING)) { - TQToolBar* tqparent = (TQToolBar*)widget->tqparent(); - TQRect pr = tqparent->rect(); + TQToolBar* parent = (TQToolBar*)widget->parent(); + TQRect pr = parent->rect(); renderGradient( p, r, cg.button(), - tqparent->orientation() == Qt::Vertical, + parent->orientation() == Qt::Vertical, r.x(), r.y(), pr.width()-2, pr.height()-2); } - else if (widget->tqparent()->inherits("TQToolBarExtensionWidget")) + else if (widget->parent()->inherits("TQToolBarExtensionWidget")) { - TQWidget* tqparent = (TQWidget*)widget->tqparent(); - TQToolBar* toolbar = (TQToolBar*)tqparent->tqparent(); + TQWidget* parent = (TQWidget*)widget->parent(); + TQToolBar* toolbar = (TQToolBar*)parent->parent(); TQRect tr = toolbar->rect(); if ( toolbar->orientation() == Qt::Horizontal ) { @@ -2682,14 +2682,14 @@ bool StyleCheckStyle::eventFilter( TQObject *object, TQEvent *event ) bool nestedGroupBox = false; TQString stripped_title = removedXX(stripAccelViolations(gb->title())); - //Walk tqparent hierarchy to check whether any are groupboxes too.. - TQObject* tqparent = TQT_TQOBJECT(gb); + //Walk parent hierarchy to check whether any are groupboxes too.. + TQObject* parent = TQT_TQOBJECT(gb); // GCC suggested parentheses around assignment used as truth value // I suggested that it could eat me. GCC won. - while ( (tqparent = tqparent->tqparent()) ) + while ( (parent = parent->parent()) ) { - if (tqparent->inherits(TQGROUPBOX_OBJECT_NAME_STRING)) + if (parent->inherits(TQGROUPBOX_OBJECT_NAME_STRING)) { nestedGroupBox = true; break; |