summaryrefslogtreecommitdiffstats
path: root/lib/util/kscriptactionmanager.cpp
diff options
context:
space:
mode:
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)
{