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/kernel/tqstylesheet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tqtinterface/qt4/src/kernel/tqstylesheet.cpp') diff --git a/tqtinterface/qt4/src/kernel/tqstylesheet.cpp b/tqtinterface/qt4/src/kernel/tqstylesheet.cpp index 25f6c0c..08a29dc 100644 --- a/tqtinterface/qt4/src/kernel/tqstylesheet.cpp +++ b/tqtinterface/qt4/src/kernel/tqstylesheet.cpp @@ -790,7 +790,7 @@ bool TQStyleSheetItem::allowedInContext( const TQStyleSheetItem* s) const { if ( d->contxt.isEmpty() ) return TRUE; - return d->contxt.tqfind( TQChar(' ')+s->name()+TQChar(' ')) != -1; + return d->contxt.find( TQChar(' ')+s->name()+TQChar(' ')) != -1; } @@ -1036,7 +1036,7 @@ int TQStyleSheetItem::lineSpacing() const \endtable In addition, rich text supports simple HTML tables. A table - consists of one or more rows each of which tqcontains one or more + consists of one or more rows each of which contains one or more cells. Cells are either data cells or header cells, depending on their content. Cells which span rows and columns are supported. @@ -1370,7 +1370,7 @@ const TQStyleSheetItem* TQStyleSheet::item( const TQString& name) const \a context is the optional context of the document, i.e. the path to look for relative links. This becomes important if the text - tqcontains relative references, for example within image tags. + contains relative references, for example within image tags. TQSimpleRichText always uses the default mime source factory (see \l{TQMimeSourceFactory::defaultFactory()}) to resolve these references. The context will then be used to calculate the @@ -1532,7 +1532,7 @@ bool TQStyleSheet::mightBeRichText( const TQString& text) ++open; } if ( open < (int)text.length() && text[open] == '<' ) { - int close = text.tqfind('>', open); + int close = text.find('>', open); if ( close > -1 ) { TQString tag; for (int i = open+1; i < close; ++i) { -- cgit v1.2.1