diff options
Diffstat (limited to 'languages/cpp/stringhelpers.h')
-rw-r--r-- | languages/cpp/stringhelpers.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/stringhelpers.h b/languages/cpp/stringhelpers.h index c8783413..a6815f2b 100644 --- a/languages/cpp/stringhelpers.h +++ b/languages/cpp/stringhelpers.h @@ -30,7 +30,7 @@ TQString clearComments( TQString str ); TQString cutTemplateParams( TQString str ); -QPair<TQString, TQString> splitTemplateParams( TQString str ); +TQPair<TQString, TQString> splitTemplateParams( TQString str ); bool parenFits( TQChar c1, TQChar c2 ); @@ -63,8 +63,8 @@ TQStringList splitType( TQString str ) ; class ParamIterator { public: ParamIterator( TQString parens, TQString source ) : m_source( source ), m_parens( parens ), m_cur( 0 ), m_curEnd ( 0 ) { - int begin = m_source.find( m_parens[ 0 ] ); - int end = m_source.findRev( m_parens[ 1 ] ); + int begin = m_source.tqfind( m_parens[ 0 ] ); + int end = m_source.tqfindRev( m_parens[ 1 ] ); m_prefix = m_source.left( begin ); if ( begin == -1 || end == -1 && end - begin > 1 ) |