summaryrefslogtreecommitdiffstats
path: root/parts/valgrind/valgrind_dialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
commitb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch)
tree76f49820693d443128d3720322ff1605e9bcd558 /parts/valgrind/valgrind_dialog.cpp
parent247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff)
downloadtdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz
tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'parts/valgrind/valgrind_dialog.cpp')
-rw-r--r--parts/valgrind/valgrind_dialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/valgrind/valgrind_dialog.cpp b/parts/valgrind/valgrind_dialog.cpp
index cfca7074..fe440449 100644
--- a/parts/valgrind/valgrind_dialog.cpp
+++ b/parts/valgrind/valgrind_dialog.cpp
@@ -1,4 +1,4 @@
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <tqregexp.h>
#include <tqwidgetstack.h>
@@ -89,7 +89,7 @@ void ValgrindDialog::setValExecutable( const TQString& ve )
static const TQString memCheckParam( "--tool=memcheck" );
static const TQString leakCheckParam( "--leak-check=yes" );
static const TQString reachableParam( "--show-reachable=yes" );
-static const TQString tqchildrenParam( "--trace-tqchildren=yes" );
+static const TQString childrenParam( "--trace-children=yes" );
TQString ValgrindDialog::valParams() const
{
@@ -100,8 +100,8 @@ TQString ValgrindDialog::valParams() const
params += " " + leakCheckParam;
if ( w->reachableBox->isChecked() )
params += " " + reachableParam;
- if ( w->tqchildrenBox->isChecked() )
- params += " " + tqchildrenParam;
+ if ( w->childrenBox->isChecked() )
+ params += " " + childrenParam;
return params;
}
@@ -113,14 +113,14 @@ void ValgrindDialog::setValParams( const TQString& params )
w->memleakBox->setChecked( true );
if ( myParams.contains( reachableParam ) )
w->reachableBox->setChecked( true );
- if ( myParams.contains( tqchildrenParam ) )
- w->tqchildrenBox->setChecked( true );
+ if ( myParams.contains( childrenParam ) )
+ w->childrenBox->setChecked( true );
w->init();
myParams = myParams.replace( TQRegExp( memCheckParam ), "" );
myParams = myParams.replace( TQRegExp( leakCheckParam ), "" );
myParams = myParams.replace( TQRegExp( reachableParam ), "" );
- myParams = myParams.replace( TQRegExp( tqchildrenParam ), "" );
+ myParams = myParams.replace( TQRegExp( childrenParam ), "" );
myParams = myParams.stripWhiteSpace();
w->valParamEdit->setText( myParams );
}
@@ -150,7 +150,7 @@ TQString ValgrindDialog::ctParams() const
{
TQString params = w->ctParamEdit->text();
if ( w->ctChildrenBox->isChecked() )
- params += " " + tqchildrenParam;
+ params += " " + childrenParam;
return params;
}
@@ -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.contains( tqchildrenParam ) )
+ if ( myParams.contains( childrenParam ) )
w->ctChildrenBox->setChecked( true );
w->init();
- myParams = myParams.replace( TQRegExp( tqchildrenParam ), "" );
+ myParams = myParams.replace( TQRegExp( childrenParam ), "" );
myParams = myParams.stripWhiteSpace();
w->ctParamEdit->setText( myParams );
}