summaryrefslogtreecommitdiffstats
path: root/parts/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'parts/valgrind')
-rw-r--r--parts/valgrind/valgrind_dialog.cpp18
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 );
}