summaryrefslogtreecommitdiffstats
path: root/lib/util/kscriptactionmanager.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:59:52 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:59:52 -0500
commit53058bf9157bf3f69218ac1e429ee55191207d7c (patch)
tree9b22290939c9e3a9a4819a1fe5e45df9e51e0331 /lib/util/kscriptactionmanager.cpp
parentab2599a71564597ae0a994454ffe19f3e5c99c78 (diff)
downloadtdevelop-53058bf9157bf3f69218ac1e429ee55191207d7c.tar.gz
tdevelop-53058bf9157bf3f69218ac1e429ee55191207d7c.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'lib/util/kscriptactionmanager.cpp')
-rw-r--r--lib/util/kscriptactionmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/kscriptactionmanager.cpp b/lib/util/kscriptactionmanager.cpp
index ffc3a536..ff3204ca 100644
--- a/lib/util/kscriptactionmanager.cpp
+++ b/lib/util/kscriptactionmanager.cpp
@@ -45,10 +45,10 @@ KScriptAction::KScriptAction( const TQString &scriptDesktopFile, TQObject *inter
KDesktopFile desktop(scriptDesktopFile, true);
TQFileInfo scriptPath(scriptDesktopFile);
- m_scriptFile = scriptPath.dirPath(true) + "/" + desktop.readEntry("X-KDE-ScriptName", "");
+ m_scriptFile = scriptPath.dirPath(true) + "/" + desktop.readEntry("X-TDE-ScriptName", "");
m_scriptName = desktop.readName();
m_scriptType = desktop.readType();
- TQString scriptTypeQuery = "([X-KDE-Script-Runner] == '" + m_scriptType + "')";
+ TQString scriptTypeQuery = "([X-TDE-Script-Runner] == '" + m_scriptType + "')";
KTrader::OfferList offers = KTrader::self()->query( "KScriptRunner/KScriptRunner", scriptTypeQuery );
if ( !offers.isEmpty() )
{
@@ -82,7 +82,7 @@ void KScriptAction::activate( )
{
if( m_interface == 0L)
{
- TQString scriptTypeQuery = "([X-KDE-Script-Runner] == '" + m_scriptType + "')";
+ TQString scriptTypeQuery = "([X-TDE-Script-Runner] == '" + m_scriptType + "')";
m_interface= KParts::ComponentFactory::createInstanceFromQuery<KScriptInterface>( "KScriptRunner/KScriptRunner", scriptTypeQuery, this );
if ( m_interface != 0L)
{