diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqtextbrowser.cpp')
| -rw-r--r-- | tqtinterface/qt4/src/widgets/tqtextbrowser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqtextbrowser.cpp b/tqtinterface/qt4/src/widgets/tqtextbrowser.cpp index af1b078..81cf7de 100644 --- a/tqtinterface/qt4/src/widgets/tqtextbrowser.cpp +++ b/tqtinterface/qt4/src/widgets/tqtextbrowser.cpp @@ -234,7 +234,7 @@ void TQTextBrowser::setSource(const TQString& name) d->textOrSourceChanged = TRUE; TQString source = name; TQString mark; - int hash = name.tqfind('#'); + int hash = name.find('#'); if ( hash != -1) { source = name.left( hash ); mark = name.mid( hash+1 ); @@ -259,8 +259,8 @@ void TQTextBrowser::setSource(const TQString& name) } } if ( isVisible() ) { - TQString firstTag = txt.left( txt.tqfind( '>' ) + 1 ); - if ( firstTag.left( 3 ) == "<qt" && firstTag.tqcontains( "type" ) && firstTag.tqcontains( "detail" ) ) { + TQString firstTag = txt.left( txt.find( '>' ) + 1 ); + if ( firstTag.left( 3 ) == "<qt" && firstTag.contains( "type" ) && firstTag.contains( "detail" ) ) { popupDetail( txt, TQCursor::pos() ); #ifndef TQT_NO_CURSOR tqApp->restoreOverrideCursor(); @@ -471,7 +471,7 @@ void TQTextBrowser::popupDetail( const TQString& contents, const TQPoint& pos ) popup->resize( w + shadowWidth, h + shadowWidth ); - // okay, now to tqfind a suitable location + // okay, now to find a suitable location //###### we need a global fancy popup positioning somewhere popup->move(pos - popup->rect().center()); if (popup->tqgeometry().right() > TQApplication::desktop()->width()) |
