diff options
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 ); } |