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/tools/assistant/helpwindow.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/tools/assistant/helpwindow.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/assistant/helpwindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/tools/assistant/helpwindow.cpp b/tqtinterface/qt4/tools/assistant/helpwindow.cpp index 7a57028..25d774d 100644 --- a/tqtinterface/qt4/tools/assistant/helpwindow.cpp +++ b/tqtinterface/qt4/tools/assistant/helpwindow.cpp @@ -202,7 +202,7 @@ TQPopupMenu *HelpWindow::createPopupMenu( const TQPoint& pos ) if ( !lastAnchor.isEmpty() ) { if ( lastAnchor.at( 0 ) == '#' ) { TQString src = source(); - int hsh = src.tqfind( '#' ); + int hsh = src.find( '#' ); lastAnchor = ( hsh>=0 ? src.left( hsh ) : src ) + lastAnchor; } m->insertItem( tr("Open Link in New Window\tShift+LMB"), @@ -257,11 +257,11 @@ void HelpWindow::copy() TQt::TextFormat oldTf = textFormat(); setTextFormat(TQt::PlainText); TQString selectText = selectedText(); - selectText.tqreplace("<br>", "\n"); - selectText.tqreplace("\xa0", " "); - selectText.tqreplace(">", ">"); - selectText.tqreplace("<", "<"); - selectText.tqreplace("&", "&"); + selectText.replace("<br>", "\n"); + selectText.replace("\xa0", " "); + selectText.replace(">", ">"); + selectText.replace("<", "<"); + selectText.replace("&", "&"); TQClipboard *cb = TQApplication::tqclipboard(); if (cb->supportsSelection()) |