diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/kernel/tqstylesheet.cpp | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqstylesheet.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqstylesheet.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |