From 43f40ff715ffc412cddc67a901ce57f3066192be Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 30 Jan 2012 12:24:09 -0600 Subject: Rename ksocket and kcache --- parts/valgrind/valgrind_dialog.cpp | 6 +++--- parts/valgrind/valgrind_dialog.h | 2 +- parts/valgrind/valgrind_part.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'parts') 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 ); -- cgit v1.2.1