diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 |
commit | 7e66d7c3611d907ea28b140281b472bb1c406be6 (patch) | |
tree | d0512bf457c2bfe012f455b42ab78651afb81438 /languages/cpp/cppnewclassdlg.cpp | |
parent | c3b301575a98e4c3505ad95534d6192b65539dab (diff) | |
download | tdevelop-7e66d7c3611d907ea28b140281b472bb1c406be6.tar.gz tdevelop-7e66d7c3611d907ea28b140281b472bb1c406be6.zip |
Remove additional unneeded tq method conversions
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 243c643f..f15d6283 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 ) |