diff --git a/style/lipstik.cpp b/style/lipstik.cpp index eca21f9..c45a1a1 100644 --- a/style/lipstik.cpp +++ b/style/lipstik.cpp @@ -731,7 +731,7 @@ void LipstikStyle::renderPixel(TQPainter *p, int key = search.key(); CacheEntry *cacheEntry; - if( (cacheEntry = pixmapCache->tqfind(key)) ) { + if( (cacheEntry = pixmapCache->find(key)) ) { if( search == *cacheEntry ) { // match! we can draw now... if(cacheEntry->pixmap) p->drawPixmap(pos, *(cacheEntry->pixmap) ); @@ -864,7 +864,7 @@ void LipstikStyle::renderGradient(TQPainter *painter, int key = search.key(); CacheEntry *cacheEntry; - if( (cacheEntry = pixmapCache->tqfind(key)) ) { + if( (cacheEntry = pixmapCache->find(key)) ) { if( search == *cacheEntry ) { // match! we can draw now... if(cacheEntry->pixmap) { painter->drawTiledPixmap(rect, *(cacheEntry->pixmap) ); @@ -1733,7 +1733,7 @@ void LipstikStyle::tqdrawPrimitive(PrimitiveElement pe, case PE_ButtonTool: case PE_ButtonDropDown: case PE_ButtonCommand: { - bool khtmlMode = opt.isDefault() ? false : khtmlWidgets.tqcontains(opt.widget()); + bool khtmlMode = opt.isDefault() ? false : khtmlWidgets.contains(opt.widget()); renderButton(p, r, cg, (on||down), mouseOver, true, enabled, khtmlMode ); break; } @@ -2578,7 +2578,7 @@ void LipstikStyle::tqdrawControl(ControlElement element, } else { // find the animation Offset for the current Widget TQWidget* nonConstWidget = const_cast(widget); - TQMapConstIterator iter = progAnimWidgets.tqfind(nonConstWidget); + TQMapConstIterator iter = progAnimWidgets.find(nonConstWidget); if (iter != progAnimWidgets.end()) animShift = iter.data(); } @@ -3014,7 +3014,7 @@ void LipstikStyle::tqdrawControl(ControlElement element, TQString s = mi->text(); // Does the menu item have a text label? if ( !s.isNull() ) { - int t = s.tqfind( '\t' ); + int t = s.find( '\t' ); int m = 2; int text_flags = AlignVCenter | ShowPrefix | DontClip | SingleLine; text_flags |= reverse ? AlignRight : AlignLeft; @@ -3203,7 +3203,7 @@ void LipstikStyle::tqdrawComplexControl(ComplexControl control, :cg.background(); uint contourFlags = 0; - if( khtmlWidgets.tqcontains(cb) ) + if( khtmlWidgets.contains(cb) ) contourFlags |= Draw_AlphaBlend; if (_inputFocusHighlight && hasFocus && editable && enabled) @@ -3856,7 +3856,7 @@ TQSize LipstikStyle::tqsizeFromContents(ContentsType t, } } - if (!mi->text().isNull() && (mi->text().tqfind('\t') >= 0)) { + if (!mi->text().isNull() && (mi->text().find('\t') >= 0)) { w += itemHMargin + itemFrame*2 + 7; } else if (mi->popup()) { w += 2 * arrowHMargin;