summaryrefslogtreecommitdiffstats
path: root/parts/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'parts/valgrind')
-rw-r--r--parts/valgrind/valgrind_dialog.cpp6
-rw-r--r--parts/valgrind/valgrind_dialog.h2
-rw-r--r--parts/valgrind/valgrind_part.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/parts/valgrind/valgrind_dialog.cpp b/parts/valgrind/valgrind_dialog.cpp
index 67c05c56..3413feff 100644
--- a/parts/valgrind/valgrind_dialog.cpp
+++ b/parts/valgrind/valgrind_dialog.cpp
@@ -179,13 +179,13 @@ void ValgrindDialog::setKcExecutable( const TQString& ke )
{
TQString vUrl = ke;
if ( vUrl.isEmpty() ) {
- vUrl = KStandardDirs::findExe( "kcachegrind" );
+ vUrl = KStandardDirs::findExe( "tdecachegrind" );
}
if ( vUrl.isEmpty() ) {
- KMessageBox::sorry( this, i18n( "Could not find kcachegrind in your $PATH. Please make "
+ KMessageBox::sorry( this, i18n( "Could not find tdecachegrind in your $PATH. Please make "
"sure it is installed properly." ),
i18n( "KCachegrind Not Found" ) );
- w->kcExecutableEdit->setURL( "kcachegrind" );
+ w->kcExecutableEdit->setURL( "tdecachegrind" );
} else {
w->kcExecutableEdit->setURL( vUrl );
}
diff --git a/parts/valgrind/valgrind_dialog.h b/parts/valgrind/valgrind_dialog.h
index 0d5153ee..d5ade519 100644
--- a/parts/valgrind/valgrind_dialog.h
+++ b/parts/valgrind/valgrind_dialog.h
@@ -45,7 +45,7 @@ public:
TQString ctParams() const;
void setCtParams( const TQString& params );
- // name and/or path to the kcachegrind executable
+ // name and/or path to the tdecachegrind executable
TQString kcExecutable() const;
void setKcExecutable( const TQString& ke );
diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp
index bd0df1ef..5aaf66aa 100644
--- a/parts/valgrind/valgrind_part.cpp
+++ b/parts/valgrind/valgrind_part.cpp
@@ -332,7 +332,7 @@ void ValgrindPart::restorePartialProjectSession( const TQDomElement* el )
_lastCtExec = ctElem.attribute( "path", "" );
_lastCtParams = ctElem.attribute( "params", "" );
- TQDomElement kcElem = el->namedItem( "kcachegrind" ).toElement();
+ TQDomElement kcElem = el->namedItem( "tdecachegrind" ).toElement();
_lastKcExec = kcElem.attribute( "path", "" );
}
@@ -354,7 +354,7 @@ void ValgrindPart::savePartialProjectSession( TQDomElement* el )
ctElem.setAttribute( "path", _lastCtExec );
ctElem.setAttribute( "params", _lastCtParams );
- TQDomElement kcElem = domDoc.createElement( "kcachegrind" );
+ TQDomElement kcElem = domDoc.createElement( "tdecachegrind" );
kcElem.setAttribute( "path", _lastKcExec );
el->appendChild( execElem );