diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/styles/tqsgistyle.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/styles/tqsgistyle.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/experimental/tqtinterface/qt4/src/styles/tqsgistyle.cpp b/experimental/tqtinterface/qt4/src/styles/tqsgistyle.cpp index 6b8a17bf3..45ac25b76 100644 --- a/experimental/tqtinterface/qt4/src/styles/tqsgistyle.cpp +++ b/experimental/tqtinterface/qt4/src/styles/tqsgistyle.cpp @@ -487,7 +487,7 @@ static void drawSGIPrefix( TQPainter *p, int x, int y, TQString* miText ) if ( miText && (!!(*miText)) ) { int amp = 0; bool nextAmp = FALSE; - while ( ( amp = miText->tqfind( '&', amp ) ) != -1 ) { + while ( ( amp = miText->find( '&', amp ) ) != -1 ) { if ( (uint)amp == miText->length()-1 ) return; miText->remove( amp,1 ); @@ -795,7 +795,7 @@ void TQSGIStyle::tqdrawPrimitiveBase( TQ_PrimitiveElement pe, break; case PE_ScrollBarSubLine: - if ( !r.tqcontains( d->mousePos ) && !(flags & Style_Active) ) + if ( !r.contains( d->mousePos ) && !(flags & Style_Active) ) flags &= ~Style_MouseOver; tqdrawPrimitive( PE_ButtonCommand, p, r, cg, flags, opt ); tqdrawPrimitive(((flags & Style_Horizontal) ? PE_ArrowLeft : PE_ArrowUp), @@ -803,7 +803,7 @@ void TQSGIStyle::tqdrawPrimitiveBase( TQ_PrimitiveElement pe, break; case PE_ScrollBarAddLine: - if ( !r.tqcontains( d->mousePos ) ) + if ( !r.contains( d->mousePos ) ) flags &= ~Style_MouseOver; tqdrawPrimitive( PE_ButtonCommand, p, r, cg, flags, opt ); tqdrawPrimitive(((flags & Style_Horizontal) ? PE_ArrowRight : PE_ArrowDown), @@ -812,7 +812,7 @@ void TQSGIStyle::tqdrawPrimitiveBase( TQ_PrimitiveElement pe, case PE_ScrollBarSubPage: case PE_ScrollBarAddPage: - if ( !r.tqcontains( d->mousePos ) ) + if ( !r.contains( d->mousePos ) ) flags &= ~Style_MouseOver; if ( r.isValid() ) qDrawShadePanel( p, x, y, w, h, cg, FALSE, 1, hot ? &cg.brush( TQColorGroup::Midlight ) : &cg.brush( TQColorGroup::Button ) ); @@ -822,7 +822,7 @@ void TQSGIStyle::tqdrawPrimitiveBase( TQ_PrimitiveElement pe, { if ( !r.isValid() ) break; - if ( !(r.tqcontains( d->mousePos ) || flags & Style_Active) || !(flags & Style_Enabled ) ) + if ( !(r.contains( d->mousePos ) || flags & Style_Active) || !(flags & Style_Enabled ) ) flags &= ~Style_MouseOver; TQPixmap pm( r.width(), r.height() ); @@ -1056,7 +1056,7 @@ void TQSGIStyle::tqdrawControl( TQ_ControlElement element, TQString s = mi->text(); if ( !!s ) { - int t = s.tqfind( '\t' ); + int t = s.find( '\t' ); int m = sgiItemVMargin; const int text_flags = TQt::AlignVCenter | TQt::DontClip | TQt::SingleLine; //special underline for &x @@ -1195,7 +1195,7 @@ void TQSGIStyle::tqdrawComplexControl( TQ_ComplexControl control, } if (( sub & SC_SliderHandle ) && handle.isValid()) { - if ( flags & Style_MouseOver && !handle.tqcontains( d->mousePos ) && subActive != SC_SliderHandle ) + if ( flags & Style_MouseOver && !handle.contains( d->mousePos ) && subActive != SC_SliderHandle ) flags &= ~Style_MouseOver; tqdrawPrimitive( PE_ButtonBevel, p, handle, cg, flags ); |