From eaa7ee2e0bbca40ba3173c4304f81957e8964291 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 9 Aug 2011 22:25:47 -0500 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains --- tqtinterface/qt4/src/styles/tqcompactstyle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tqtinterface/qt4/src/styles/tqcompactstyle.cpp') diff --git a/tqtinterface/qt4/src/styles/tqcompactstyle.cpp b/tqtinterface/qt4/src/styles/tqcompactstyle.cpp index 44cd711..7f90df9 100644 --- a/tqtinterface/qt4/src/styles/tqcompactstyle.cpp +++ b/tqtinterface/qt4/src/styles/tqcompactstyle.cpp @@ -94,7 +94,7 @@ static int extraPopupMenuItemWidth( bool checkable, int maxpmw, TQMenuItem* mi, w += mi->pixmap()->width(); // pixmap only if ( !mi->text().isNull() ) { - if ( mi->text().tqfind('\t') >= 0 ) // string tqcontains tab + if ( mi->text().find('\t') >= 0 ) // string contains tab w += motifTabSpacing; } @@ -265,7 +265,7 @@ void TQCompactStyle::tqdrawControl( ControlElement element, TQPainter *p, const } TQString s = mi->text(); if ( !s.isNull() ) { // draw text - int t = s.tqfind( '\t' ); + int t = s.find( '\t' ); int m = motifItemVMargin; const int text_flags = AlignVCenter|ShowPrefix | DontClip | SingleLine; if ( t >= 0 ) { // draw tab text -- cgit v1.2.3