diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 330c33ab6f97b279737bf9527c9add7bb1475450 (patch) | |
tree | 85cb998d3077ae295d65944ebb4d0189fc660ead /parts/valgrind | |
parent | 093de0db4fea89b3f94a2359c6981f353d035eb7 (diff) | |
download | tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/valgrind')
-rw-r--r-- | parts/valgrind/valgrind_dialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/valgrind/valgrind_dialog.cpp b/parts/valgrind/valgrind_dialog.cpp index 247eaee1..5caa2db6 100644 --- a/parts/valgrind/valgrind_dialog.cpp +++ b/parts/valgrind/valgrind_dialog.cpp @@ -109,18 +109,18 @@ TQString ValgrindDialog::valParams() const void ValgrindDialog::setValParams( const TQString& params ) { TQString myParams = params; - if ( myParams.tqcontains( leakCheckParam ) ) + if ( myParams.contains( leakCheckParam ) ) w->memleakBox->setChecked( true ); - if ( myParams.tqcontains( reachableParam ) ) + if ( myParams.contains( reachableParam ) ) w->reachableBox->setChecked( true ); - if ( myParams.tqcontains( tqchildrenParam ) ) + if ( myParams.contains( tqchildrenParam ) ) w->tqchildrenBox->setChecked( true ); w->init(); - myParams = myParams.tqreplace( TQRegExp( memCheckParam ), "" ); - myParams = myParams.tqreplace( TQRegExp( leakCheckParam ), "" ); - myParams = myParams.tqreplace( TQRegExp( reachableParam ), "" ); - myParams = myParams.tqreplace( TQRegExp( tqchildrenParam ), "" ); + myParams = myParams.replace( TQRegExp( memCheckParam ), "" ); + myParams = myParams.replace( TQRegExp( leakCheckParam ), "" ); + myParams = myParams.replace( TQRegExp( reachableParam ), "" ); + myParams = myParams.replace( TQRegExp( tqchildrenParam ), "" ); myParams = myParams.stripWhiteSpace(); w->valParamEdit->setText( myParams ); } @@ -161,11 +161,11 @@ void ValgrindDialog::setCtParams( const TQString& params ) //force --tool=callgrind if no params are given if (myParams.isEmpty()) myParams = "--tool=callgrind"; - if ( myParams.tqcontains( tqchildrenParam ) ) + if ( myParams.contains( tqchildrenParam ) ) w->ctChildrenBox->setChecked( true ); w->init(); - myParams = myParams.tqreplace( TQRegExp( tqchildrenParam ), "" ); + myParams = myParams.replace( TQRegExp( tqchildrenParam ), "" ); myParams = myParams.stripWhiteSpace(); w->ctParamEdit->setText( myParams ); } |