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/mainwindow.ui.h | |
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/mainwindow.ui.h')
-rw-r--r-- | tqtinterface/qt4/tools/assistant/mainwindow.ui.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tqtinterface/qt4/tools/assistant/mainwindow.ui.h b/tqtinterface/qt4/tools/assistant/mainwindow.ui.h index cb079aa..68fcb95 100644 --- a/tqtinterface/qt4/tools/assistant/mainwindow.ui.h +++ b/tqtinterface/qt4/tools/assistant/mainwindow.ui.h @@ -293,32 +293,32 @@ void MainWindow::aboutApplication() box.exec(); } -void MainWindow::tqfind() +void MainWindow::find() { - if ( !tqfindDialog ) - tqfindDialog = new FindDialog( this ); - tqfindDialog->comboFind->setFocus(); - tqfindDialog->comboFind->lineEdit()->setSelection( - 0, tqfindDialog->comboFind->lineEdit()->text().length() ); - tqfindDialog->show(); + if ( !findDialog ) + findDialog = new FindDialog( this ); + findDialog->comboFind->setFocus(); + findDialog->comboFind->lineEdit()->setSelection( + 0, findDialog->comboFind->lineEdit()->text().length() ); + findDialog->show(); } -void MainWindow::tqfindAgain() +void MainWindow::findAgain() { - if (!tqfindDialog || !tqfindDialog->hasFindExpression()) { - tqfind(); + if (!findDialog || !findDialog->hasFindExpression()) { + find(); return; } - tqfindDialog->doFind(TRUE); + findDialog->doFind(TRUE); } -void MainWindow::tqfindAgainPrev() +void MainWindow::findAgainPrev() { - if (!tqfindDialog || !tqfindDialog->hasFindExpression()) { - tqfind(); + if (!findDialog || !findDialog->hasFindExpression()) { + find(); return; } - tqfindDialog->doFind(FALSE); + findDialog->doFind(FALSE); } void MainWindow::goHome() @@ -397,8 +397,8 @@ void MainWindow::setupBookmarkMenu() void MainWindow::showBookmark( int id ) { - if ( bookmarks.tqfind( id ) != bookmarks.end() ) - showLink( *bookmarks.tqfind( id ) ); + if ( bookmarks.find( id ) != bookmarks.end() ) + showLink( *bookmarks.find( id ) ); } void MainWindow::showLinkFromClient( const TQString &link ) @@ -415,14 +415,14 @@ void MainWindow::showLink( const TQString &link ) qWarning( "The link is empty!" ); } - int tqfind = link.tqfind( '#' ); - TQString name = tqfind >= 0 ? link.left( tqfind ) : link; + int find = link.find( '#' ); + TQString name = find >= 0 ? link.left( find ) : link; TQString absLink = link; TQFileInfo fi( name ); if ( fi.isRelative() ) { - if ( tqfind >= 0 ) - absLink = fi.absFilePath() + link.right( link.length() - tqfind ); + if ( find >= 0 ) + absLink = fi.absFilePath() + link.right( link.length() - find ); else absLink = fi.absFilePath(); } @@ -626,14 +626,14 @@ void MainWindow::showSearchLink( const TQString &link, const TQStringList &terms for ( ; it != terms.end(); ++it ) { int para = 0; int index = 0; - bool found = hw->tqfind( *it, FALSE, TRUE, TRUE, ¶, &index ); + bool found = hw->find( *it, FALSE, TRUE, TRUE, ¶, &index ); while ( found ) { if ( para < minPar ) { minPar = para; minIndex = index; } hw->setColor( Qt::red ); - found = hw->tqfind( *it, FALSE, TRUE, TRUE ); + found = hw->find( *it, FALSE, TRUE, TRUE ); } } hw->blockScrolling( FALSE ); @@ -651,7 +651,7 @@ void MainWindow::showGoActionLink() return; TQAction *action = (TQAction*) origin; - TQString docfile = *( goActionDocFiles->tqfind( action ) ); + TQString docfile = *( goActionDocFiles->find( action ) ); showLink( docfile ); } |