diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:16 +0200 |
commit | ec049c7c32d50faf317b13d5c844a19978881fc3 (patch) | |
tree | ca9b445d4cba887b9161fddd3ba714e1d7b5060b /languages/cpp/cppnewclassdlg.cpp | |
parent | 1c082a5ba751ddd4edd36bb0061462f9a999f88d (diff) | |
download | tdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.tar.gz tdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 7e66d7c3611d907ea28b140281b472bb1c406be6)
Diffstat (limited to 'languages/cpp/cppnewclassdlg.cpp')
-rw-r--r-- | languages/cpp/cppnewclassdlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp index 75dcdaa7..4742c6e9 100644 --- a/languages/cpp/cppnewclassdlg.cpp +++ b/languages/cpp/cppnewclassdlg.cpp @@ -461,7 +461,7 @@ void CppNewClassDialog::addBaseClass() if ( baseclasses_view->selectedItem() ) baseclasses_view->selectedItem() ->setSelected( false ); TQListViewItem* it = new TQListViewItem( baseclasses_view, baseclasses_view->lastItem(), - TQString(), "public", TQString( "%1" ).tqarg( scope_box->currentItem() ), TQString(), "false" ); + TQString(), "public", TQString( "%1" ).arg( scope_box->currentItem() ), TQString(), "false" ); setStateOfInheritanceEditors( true ); public_button->setChecked( true ); virtual_box->setChecked( false ); @@ -589,7 +589,7 @@ void CppNewClassDialog::scopeboxActivated( int value ) { if ( baseclasses_view->selectedItem() ) { - baseclasses_view->selectedItem() ->setText( 2, TQString( "%1" ).tqarg( value ) ); + baseclasses_view->selectedItem() ->setText( 2, TQString( "%1" ).arg( value ) ); } } @@ -1268,8 +1268,8 @@ void CppNewClassDialog::to_constructors_list_clicked() cparams += ( *argIt ) ->type() + " "; if ( ( *argIt ) ->name().isEmpty() ) { - cparams += TQString( "arg%1" ).tqarg( unnamed ); - bparams += TQString( "arg%1" ).tqarg( unnamed++ ); + cparams += TQString( "arg%1" ).arg( unnamed ); + bparams += TQString( "arg%1" ).arg( unnamed++ ); } else { @@ -1455,7 +1455,7 @@ void CppNewClassDialog::ClassGenerator::common_text() TQString author = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/author" ); TQString email = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/email" ); if( !email.isEmpty() ) - author += TQString( " <%1>" ).tqarg( email ); + author += TQString( " <%1>" ).arg( email ); if ( dlg.gen_config->author_box->isChecked() ) doc.append( "\t@author " + author + "\n" ); @@ -1618,8 +1618,8 @@ void CppNewClassDialog::ClassGenerator::genMethodDeclaration( FunctionDom method cparams += ( *argIt ) ->type() + " "; if ( ( *argIt ) ->name().isEmpty() ) { - cparams += TQString( "arg%1" ).tqarg( unnamed ); - bparams += TQString( "arg%1" ).tqarg( unnamed++ ); + cparams += TQString( "arg%1" ).arg( unnamed ); + bparams += TQString( "arg%1" ).arg( unnamed++ ); } else { @@ -1974,7 +1974,7 @@ void CppNewClassDialog::ClassGenerator::gen_interface() TQString author = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/author" ); TQString email = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/email" ); if( !email.isEmpty() ) - author += TQString( " <%1>" ).tqarg( email ); + author += TQString( " <%1>" ).arg( email ); TQString inheritance; if ( dlg.baseclasses_view->childCount() > 0 ) |