diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:36:08 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:08 +0200 |
commit | 1c082a5ba751ddd4edd36bb0061462f9a999f88d (patch) | |
tree | e58e00b13f367e1eb92dc92b6dfbc69065226b80 /languages/cpp/ast_utils.cpp | |
parent | c51913a8c885131a350d3fcda9715699b0467306 (diff) | |
download | tdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.tar.gz tdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit c3b301575a98e4c3505ad95534d6192b65539dab)
Diffstat (limited to 'languages/cpp/ast_utils.cpp')
-rw-r--r-- | languages/cpp/ast_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/ast_utils.cpp b/languages/cpp/ast_utils.cpp index 050d4c24..6f130dd2 100644 --- a/languages/cpp/ast_utils.cpp +++ b/languages/cpp/ast_utils.cpp @@ -73,7 +73,7 @@ void scopeOfNode( AST* ast, TQStringList& scope ) if ( ( ( ClassSpecifierAST* ) ast ) ->name() ) { s = ( ( ClassSpecifierAST* ) ast ) ->name() ->text(); - s = s.isEmpty() ? TQString::tqfromLatin1( "<unnamed>" ) : s; + s = s.isEmpty() ? TQString::fromLatin1( "<unnamed>" ) : s; scope.push_back( s ); } break; @@ -81,7 +81,7 @@ void scopeOfNode( AST* ast, TQStringList& scope ) case NodeType_Namespace: { AST* namespaceName = ( ( NamespaceAST* ) ast ) ->namespaceName(); - s = namespaceName ? namespaceName->text() : TQString::tqfromLatin1( "<unnamed>" ); + s = namespaceName ? namespaceName->text() : TQString::fromLatin1( "<unnamed>" ); scope.push_back( s ); } break; @@ -141,7 +141,7 @@ TQString declaratorToString( DeclaratorAST* declarator, const TQString& scope, b text += scope; if ( declarator->subDeclarator() ) - text += TQString::tqfromLatin1( "(" ) + declaratorToString( declarator->subDeclarator() ) + TQString::tqfromLatin1( ")" ); + text += TQString::fromLatin1( "(" ) + declaratorToString( declarator->subDeclarator() ) + TQString::fromLatin1( ")" ); if ( declarator->declaratorId() ) text += declarator->declaratorId() ->text(); |