diff options
Diffstat (limited to 'tqtinterface/qt4/src/styles/tqmotifplusstyle.cpp')
-rw-r--r-- | tqtinterface/qt4/src/styles/tqmotifplusstyle.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/styles/tqmotifplusstyle.cpp b/tqtinterface/qt4/src/styles/tqmotifplusstyle.cpp index bef75db..c10183c 100644 --- a/tqtinterface/qt4/src/styles/tqmotifplusstyle.cpp +++ b/tqtinterface/qt4/src/styles/tqmotifplusstyle.cpp @@ -859,7 +859,7 @@ void TQMotifPlusStyle::tqdrawControl( TQ_ControlElement element, TQString s = mi->text(); if ( !s.isNull() ) { // draw text - int t = s.tqfind( '\t' ); + int t = s.find( '\t' ); int m = 2; int text_flags = TQt::AlignVCenter|TQt::ShowPrefix | TQt::DontClip | TQt::SingleLine; text_flags |= (TQApplication::reverseLayout() ? TQt::AlignRight : TQt::AlignLeft ); @@ -1127,15 +1127,15 @@ void TQMotifPlusStyle::tqdrawComplexControl(TQ_ComplexControl control, bool skipUpdate = FALSE; if (singleton->hovering) { - if (addline.tqcontains(singleton->mousePos)) { + if (addline.contains(singleton->mousePos)) { skipUpdate = (singleton->scrollbarElement == SC_ScrollBarAddLine); singleton->scrollbarElement = SC_ScrollBarAddLine; - } else if (subline.tqcontains(singleton->mousePos)) { + } else if (subline.contains(singleton->mousePos)) { skipUpdate = (singleton->scrollbarElement == SC_ScrollBarSubLine); singleton->scrollbarElement = SC_ScrollBarSubLine; - } else if (slider.tqcontains(singleton->mousePos)) { + } else if (slider.contains(singleton->mousePos)) { skipUpdate = (singleton->scrollbarElement == SC_ScrollBarSlider); singleton->scrollbarElement = SC_ScrollBarSlider; @@ -1353,7 +1353,7 @@ void TQMotifPlusStyle::tqdrawComplexControl(TQ_ComplexControl control, } if ((controls & SC_SliderHandle) && handle.isValid()) { - if ((mouseover && handle.tqcontains(singleton->mousePos)) || + if ((mouseover && handle.contains(singleton->mousePos)) || singleton->sliderActive) flags |= Style_MouseOver; else |