From 6ed1ea98db6b1b369e7561efcc2c666b810e5446 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:51:46 -0500 Subject: Update XDG information in support of bug report 892. --- interfaces/khexedit/kbytesedit.desktop | 2 +- interfaces/kimproxy/interface/dcopinstantmessenger.desktop | 2 +- interfaces/kmediaplayer/kmediaplayer.desktop | 4 ++-- interfaces/kmediaplayer/kmediaplayerengine.desktop | 2 +- interfaces/kregexpeditor/kregexpeditor.desktop | 2 +- interfaces/kscript/sample/shellscript.desktop | 4 ++-- interfaces/kscript/scriptclientinterface.h | 2 +- interfaces/kscript/scriptinterface.desktop | 4 ++-- interfaces/kscript/scriptmanager.cpp | 4 ++-- interfaces/kspeech/dcoptexttospeech.desktop | 2 +- interfaces/ktexteditor/ktexteditor.desktop | 4 ++-- interfaces/ktexteditor/ktexteditoreditor.desktop | 4 ++-- interfaces/ktexteditor/ktexteditorplugin.desktop | 4 ++-- 13 files changed, 20 insertions(+), 20 deletions(-) (limited to 'interfaces') diff --git a/interfaces/khexedit/kbytesedit.desktop b/interfaces/khexedit/kbytesedit.desktop index 4c5b39ec0..c91680dc8 100644 --- a/interfaces/khexedit/kbytesedit.desktop +++ b/interfaces/khexedit/kbytesedit.desktop @@ -1,4 +1,4 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KHexEdit/KBytesEdit +X-TDE-ServiceType=KHexEdit/KBytesEdit diff --git a/interfaces/kimproxy/interface/dcopinstantmessenger.desktop b/interfaces/kimproxy/interface/dcopinstantmessenger.desktop index 406c4e979..a69994421 100644 --- a/interfaces/kimproxy/interface/dcopinstantmessenger.desktop +++ b/interfaces/kimproxy/interface/dcopinstantmessenger.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=DCOP/InstantMessenger +X-TDE-ServiceType=DCOP/InstantMessenger Comment=Instant Messenger with a DCOP interface Comment[af]=Oombliklike Boodskapper met DCOP intervlak Comment[be]=Імгненны абвестнік з інтэрфэйсам DCOP diff --git a/interfaces/kmediaplayer/kmediaplayer.desktop b/interfaces/kmediaplayer/kmediaplayer.desktop index 310247337..85c1df65b 100644 --- a/interfaces/kmediaplayer/kmediaplayer.desktop +++ b/interfaces/kmediaplayer/kmediaplayer.desktop @@ -1,4 +1,4 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KMediaPlayer/Player -X-KDE-Derived=KParts/ReadOnlyPart +X-TDE-ServiceType=KMediaPlayer/Player +X-TDE-Derived=KParts/ReadOnlyPart diff --git a/interfaces/kmediaplayer/kmediaplayerengine.desktop b/interfaces/kmediaplayer/kmediaplayerengine.desktop index 3fa56fae7..ba7bf0403 100644 --- a/interfaces/kmediaplayer/kmediaplayerengine.desktop +++ b/interfaces/kmediaplayer/kmediaplayerengine.desktop @@ -1,3 +1,3 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KMediaPlayer/Engine +X-TDE-ServiceType=KMediaPlayer/Engine diff --git a/interfaces/kregexpeditor/kregexpeditor.desktop b/interfaces/kregexpeditor/kregexpeditor.desktop index 2700ce370..ec0d50bb9 100644 --- a/interfaces/kregexpeditor/kregexpeditor.desktop +++ b/interfaces/kregexpeditor/kregexpeditor.desktop @@ -1,4 +1,4 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KRegExpEditor/KRegExpEditor +X-TDE-ServiceType=KRegExpEditor/KRegExpEditor diff --git a/interfaces/kscript/sample/shellscript.desktop b/interfaces/kscript/sample/shellscript.desktop index 990a69386..e65713a3b 100644 --- a/interfaces/kscript/sample/shellscript.desktop +++ b/interfaces/kscript/sample/shellscript.desktop @@ -71,8 +71,8 @@ Name[wa]=Enondeu di scripes shell bash Name[zh_CN]=Bash Shell 脚本运行程序 Name[zh_TW]=Bash Shell Script 執行器 Type=Service -X-KDE-Library=libshellscript -X-KDE-Script-Runner=ShellScript/bash +X-TDE-Library=libshellscript +X-TDE-Script-Runner=ShellScript/bash ServiceTypes=KScriptRunner/KScriptRunner Comment=Runs bash shell scripts from inside the application. Comment[af]=Laai bash tolk skripte vanuit die program. diff --git a/interfaces/kscript/scriptclientinterface.h b/interfaces/kscript/scriptclientinterface.h index 7aa82212b..0f07d34b2 100644 --- a/interfaces/kscript/scriptclientinterface.h +++ b/interfaces/kscript/scriptclientinterface.h @@ -40,7 +40,7 @@ class TQString; * { * // Create your @ref KScriptInterface here. * m_interface = KParts::ComponentFactory::createInstanceFromQuery( - * "KScriptRunner/KScriptRunner", "([X-KDE-Script-Runner] == 'bash/shell')", this ); + * "KScriptRunner/KScriptRunner", "([X-TDE-Script-Runner] == 'bash/shell')", this ); * } * * virtual ~KScriptAction() diff --git a/interfaces/kscript/scriptinterface.desktop b/interfaces/kscript/scriptinterface.desktop index 878c506d9..397e650d8 100644 --- a/interfaces/kscript/scriptinterface.desktop +++ b/interfaces/kscript/scriptinterface.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KScriptRunner/KScriptRunner +X-TDE-ServiceType=KScriptRunner/KScriptRunner Comment=This is a generic test script engine for testing the script interface. Comment[af]=Hierdie is 'n generies toets skrip masjien vir toetsing die skrip koppelvlak. Comment[ar]=هذه آلة نصوص برمجية اختبارية لاختبار واجهة النص البرمجي. @@ -84,6 +84,6 @@ Comment[zh_HK]=這是用來測試手稿介面用的一般性測試手稿引擎 Comment[zh_TW]=這是用來測試手稿介面用的一般性測試手稿引擎 Comment[zu]=Lena yinjini yesikripti sokuvivinya sawonke wonke yokuvivinya isikripti somxhumanisi. -[PropertyDef::X-KDE-Script-Runner] +[PropertyDef::X-TDE-Script-Runner] Type=TQString diff --git a/interfaces/kscript/scriptmanager.cpp b/interfaces/kscript/scriptmanager.cpp index 5cdbd7459..647410b8b 100644 --- a/interfaces/kscript/scriptmanager.cpp +++ b/interfaces/kscript/scriptmanager.cpp @@ -51,7 +51,7 @@ bool KScriptManager::addScript( const TQString &scriptDesktopFile) KDesktopFile desktop(scriptDesktopFile, true); m_scripts.insert(desktop.readName(), new ScriptInfo()); m_scripts[desktop.readName()]->scriptType = desktop.readType(); - TQString localpath = TQString(kapp->name()) + "/scripts/" + desktop.readEntry("X-KDE-ScriptName", ""); + TQString localpath = TQString(kapp->name()) + "/scripts/" + desktop.readEntry("X-TDE-ScriptName", ""); m_scripts[desktop.readName()]->scriptFile = locate("data", localpath); // m_scripts[desktop.readName()]->scriptMethod = tmpScriptMethod; success = true; @@ -86,7 +86,7 @@ void KScriptManager::runScript( const TQString &scriptName, TQObject *context, c ScriptInfo *newScript = m_scripts[scriptName]; if (newScript) { - TQString scriptType = "([X-KDE-Script-Runner] == '" + newScript->scriptType + "')"; + TQString scriptType = "([X-TDE-Script-Runner] == '" + newScript->scriptType + "')"; kdDebug()<<"running script, type = '"<