summaryrefslogtreecommitdiffstats
path: root/parts/valgrind/valgrind_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/valgrind/valgrind_part.cpp')
-rw-r--r--parts/valgrind/valgrind_part.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp
index abf10a6d..bd0df1ef 100644
--- a/parts/valgrind/valgrind_part.cpp
+++ b/parts/valgrind/valgrind_part.cpp
@@ -93,7 +93,7 @@ void ValgrindPart::loadOutput()
TQFile f( fName );
if ( !f.open( IO_ReadOnly ) ) {
- KMessageBox::sorry( 0, i18n("Could not open valgrind output: %1").tqarg(fName) );
+ KMessageBox::sorry( 0, i18n("Could not open valgrind output: %1").arg(fName) );
return;
}
@@ -234,7 +234,7 @@ void ValgrindPart::runValgrind( const TQString& exec, const TQString& params, co
DomUtil::PairList::ConstIterator it;
for (it = run_envvars.begin(); it != run_envvars.end(); ++it)
{
- envVarList << TQString("%1=\"%2\" ").tqarg((*it).first).tqarg((*it).second);
+ envVarList << TQString("%1=\"%2\" ").arg((*it).first).arg((*it).second);
}
*proc << envVarList.join("") << valExec << valParams << exec << params;
@@ -312,7 +312,7 @@ void ValgrindPart::processExited( KProcess* p )
KProcess *kcProc = new KProcess;
// kcProc->setWorkingDirectory(kcInfo.kcWorkDir);
*kcProc << kcInfo.kcPath;
- *kcProc << TQString("callgrind.out.%1").tqarg(p->pid());
+ *kcProc << TQString("callgrind.out.%1").arg(p->pid());
kcProc->start(KProcess::DontCare);
}
}