diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/cppbrowser.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/cppbrowser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/cppbrowser.cpp b/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/cppbrowser.cpp index 00dca6879..82b1447a3 100644 --- a/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/cppbrowser.cpp +++ b/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/cppbrowser.cpp @@ -59,12 +59,12 @@ void CppEditorBrowser::showHelp( const TQString &w ) return; } - if ( word.tqfind( '(' ) != -1 ) { - TQString txt = "::" + word.left( word.tqfind( '(' ) ); + if ( word.find( '(' ) != -1 ) { + TQString txt = "::" + word.left( word.find( '(' ) ); TQTextDocument *doc = curEditor->document(); TQTextParagraph *p = doc->firstParagraph(); while ( p ) { - if ( p->string()->toString().tqfind( txt ) != -1 ) { + if ( p->string()->toString().find( txt ) != -1 ) { curEditor->setCursorPosition( p->paragId(), 0 ); return; } |