summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/tools/assistant/helpwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commit03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch)
treecaabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/tools/assistant/helpwindow.cpp
parent0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff)
downloadtde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz
tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/assistant/helpwindow.cpp')
-rw-r--r--experimental/tqtinterface/qt4/tools/assistant/helpwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/tools/assistant/helpwindow.cpp b/experimental/tqtinterface/qt4/tools/assistant/helpwindow.cpp
index 7a5702862..25d774dc6 100644
--- a/experimental/tqtinterface/qt4/tools/assistant/helpwindow.cpp
+++ b/experimental/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("&gt;", ">");
- selectText.tqreplace("&lt;", "<");
- selectText.tqreplace("&amp;", "&");
+ selectText.replace("<br>", "\n");
+ selectText.replace("\xa0", " ");
+ selectText.replace("&gt;", ">");
+ selectText.replace("&lt;", "<");
+ selectText.replace("&amp;", "&");
TQClipboard *cb = TQApplication::tqclipboard();
if (cb->supportsSelection())