Browse Source

Update XDG information in support of bug report 892.

tags/r14.0.0
Darrell Anderson 7 years ago
parent
commit
6ed1ea98db
100 changed files with 295 additions and 295 deletions
  1. 6
    6
      KDE3PORTING.html
  2. 1
    1
      arts/kde/mcop-dcop/kmcop.desktop
  3. 1
    1
      arts/knotify/knotify.desktop
  4. 1
    1
      interfaces/khexedit/kbytesedit.desktop
  5. 1
    1
      interfaces/kimproxy/interface/dcopinstantmessenger.desktop
  6. 2
    2
      interfaces/kmediaplayer/kmediaplayer.desktop
  7. 1
    1
      interfaces/kmediaplayer/kmediaplayerengine.desktop
  8. 1
    1
      interfaces/kregexpeditor/kregexpeditor.desktop
  9. 2
    2
      interfaces/kscript/sample/shellscript.desktop
  10. 1
    1
      interfaces/kscript/scriptclientinterface.h
  11. 2
    2
      interfaces/kscript/scriptinterface.desktop
  12. 2
    2
      interfaces/kscript/scriptmanager.cpp
  13. 1
    1
      interfaces/kspeech/dcoptexttospeech.desktop
  14. 2
    2
      interfaces/ktexteditor/ktexteditor.desktop
  15. 2
    2
      interfaces/ktexteditor/ktexteditoreditor.desktop
  16. 2
    2
      interfaces/ktexteditor/ktexteditorplugin.desktop
  17. 1
    1
      kabc/formatfactory.cpp
  18. 1
    1
      kabc/formats/binary.desktop
  19. 1
    1
      kabc/kab2kabc.desktop
  20. 1
    1
      kabc/kabc_manager.desktop
  21. 3
    3
      kabc/plugins/dir/dir.desktop
  22. 3
    3
      kabc/plugins/evolution/evolution.desktop
  23. 3
    3
      kabc/plugins/file/file.desktop
  24. 3
    3
      kabc/plugins/ldapkio/ldapkio.desktop
  25. 3
    3
      kabc/plugins/net/net.desktop
  26. 1
    1
      kabc/plugins/sql/sql.desktop
  27. 1
    1
      kate/data/katepart.desktop
  28. 1
    1
      kate/plugins/autobookmarker/ktexteditor_autobookmarker.desktop
  29. 1
    1
      kate/plugins/insertfile/ktexteditor_insertfile.desktop
  30. 1
    1
      kate/plugins/isearch/ktexteditor_isearch.desktop
  31. 1
    1
      kate/plugins/kdatatool/ktexteditor_kdatatool.desktop
  32. 1
    1
      kate/plugins/wordcompletion/ktexteditor_docwordcompletion.desktop
  33. 1
    1
      kcert/kcertpart.desktop
  34. 5
    5
      kded/README.kded
  35. 32
    32
      kded/applications.menu
  36. 1
    1
      kded/kbuildservicegroupfactory.h
  37. 1
    1
      kded/kbuildservicetypefactory.cpp
  38. 8
    8
      kded/kded.cpp
  39. 4
    4
      kded/kdedmodule.desktop
  40. 5
    5
      kded/test/test.desktop
  41. 1
    1
      kfile-plugins/elf/kfile_elf.desktop
  42. 1
    1
      khtml/ecma/kjs_navigator.cpp
  43. 2
    2
      khtml/java/kjavaappletviewer.desktop
  44. 1
    1
      khtml/khtml.desktop
  45. 1
    1
      khtml/khtmlimage.desktop
  46. 1
    1
      khtml/kmultipart/kmultipart.desktop
  47. 4
    4
      kinit/README.autostart
  48. 4
    4
      kinit/autostart.cpp
  49. 7
    7
      kio/DESIGN.mimetypes
  50. 8
    8
      kio/application.desktop
  51. 8
    8
      kio/kcmodule.desktop
  52. 1
    1
      kio/kcomprfilter.desktop
  53. 1
    1
      kio/kdatatool.desktop
  54. 3
    3
      kio/kfile/kfiledialog.cpp
  55. 2
    2
      kio/kfile/kfilemetapreview.cpp
  56. 1
    1
      kio/kfile/kopenwith.cpp
  57. 15
    15
      kio/kfile/kpropertiesdialog.cpp
  58. 1
    1
      kio/kfile/kpropertiesdialog.h
  59. 2
    2
      kio/kfile/kpropsdlgplugin.desktop
  60. 2
    2
      kio/kfile/krecentdocument.cpp
  61. 1
    1
      kio/kfileplugin.desktop
  62. 1
    1
      kio/kio/job.cpp
  63. 2
    2
      kio/kio/kfilemetainfo.cpp
  64. 2
    2
      kio/kio/kfilemetainfo.h
  65. 14
    14
      kio/kio/kmimetype.cpp
  66. 2
    2
      kio/kio/kmimetype.h
  67. 5
    5
      kio/kio/krun.cpp
  68. 2
    2
      kio/kio/krun.h
  69. 10
    10
      kio/kio/kservice.cpp
  70. 1
    1
      kio/kio/kservicefactory.h
  71. 2
    2
      kio/kio/kservicegroup.cpp
  72. 2
    2
      kio/kio/kservicegroup.h
  73. 5
    5
      kio/kio/kservicetype.cpp
  74. 5
    5
      kio/kio/ktrader.h
  75. 2
    2
      kio/kio/previewjob.cpp
  76. 1
    1
      kio/kio/thumbcreator.h
  77. 5
    5
      kio/kpasswdserver.desktop
  78. 1
    1
      kio/kscan.desktop
  79. 1
    1
      kio/kurifilterplugin.desktop
  80. 1
    1
      kio/misc/kio_uiserver.desktop
  81. 5
    5
      kio/misc/kpac/proxyscout.desktop
  82. 5
    5
      kio/misc/kssld/kssld.desktop
  83. 5
    5
      kio/misc/kwalletd/kwalletd.desktop
  84. 1
    1
      kio/renamedlgplugin.desktop
  85. 1
    1
      kio/tests/dummymeta.desktop
  86. 1
    1
      kio/tests/kruntest.cpp
  87. 1
    1
      kioslave/bzip2/kbzip2filter.desktop
  88. 1
    1
      kioslave/gzip/kgzipfilter.desktop
  89. 1
    1
      kioslave/http/http_cache_cleaner.desktop
  90. 6
    6
      kioslave/http/kcookiejar/kcookiejar.desktop
  91. 1
    1
      kioslave/iso/kio_iso.desktop
  92. 15
    15
      kparts/browserview.desktop
  93. 1
    1
      kparts/kpart.desktop
  94. 2
    2
      kparts/krop.desktop
  95. 2
    2
      kparts/krwp.desktop
  96. 1
    1
      kparts/plugin.cpp
  97. 1
    1
      kparts/plugin.h
  98. 1
    1
      kparts/tests/notepad.desktop
  99. 2
    2
      kresources/configpage.cpp
  100. 0
    0
      kresources/factory.cpp

+ 6
- 6
KDE3PORTING.html View File

@@ -624,17 +624,17 @@ The change should affect only code using hardcoded numeric values instead of usi
624 624
 <H3><A NAME="kcontrol">Changes in KControl</A></H3>
625 625
 
626 626
 <H4>Modules that require root permission</H4>
627
-The meaning of the <i>X-KDE-RootOnly</i> flag in the .desktop files has changed.
627
+The meaning of the <i>X-TDE-RootOnly</i> flag in the .desktop files has changed.
628 628
 In KControl 2.0 a message was shown if the user did not press the &quot;modify&quot;
629
-button. With the additional flag <i>X-KDE-HasReadOnlyMode</i> it was possible to show
629
+button. With the additional flag <i>X-TDE-HasReadOnlyMode</i> it was possible to show
630 630
 a disabled version of the module instead of the message. The behavior was inconsistent
631 631
 and has been changed:
632 632
 
633 633
 <ul>
634
-<li><i>X-KDE-HasReadOnlyMode</i> is not used anymore and is ignored by KControl &gt; 2.0.
635
-<li><i>X-KDE-RootOnly</i> does now show a disabled preview of the widget and a notification box.
636
-<li>If you want the old behavior back set <i>X-KDE-IsHiddenByDefault</i> along with
637
-<i>X-KDE-RootOnly</i>. Please note that this behavior is deprecated the sake of
634
+<li><i>X-TDE-HasReadOnlyMode</i> is not used anymore and is ignored by KControl &gt; 2.0.
635
+<li><i>X-TDE-RootOnly</i> does now show a disabled preview of the widget and a notification box.
636
+<li>If you want the old behavior back set <i>X-TDE-IsHiddenByDefault</i> along with
637
+<i>X-TDE-RootOnly</i>. Please note that this behavior is deprecated the sake of
638 638
 usability.
639 639
 </ul>
640 640
 

+ 1
- 1
arts/kde/mcop-dcop/kmcop.desktop View File

@@ -87,4 +87,4 @@ Comment[zu]=Ibhulogo le-TDE MCOP-DCOP
87 87
 Icon=kmcop
88 88
 ServiceTypes=KMCOP
89 89
 X-DCOP-ServiceType=Unique
90
-X-KDE-StartupNotify=false
90
+X-TDE-StartupNotify=false

+ 1
- 1
arts/knotify/knotify.desktop View File

@@ -116,4 +116,4 @@ Comment[zu]=Isaziso se-Daemon ye-TDE
116 116
 Icon=knotify
117 117
 ServiceTypes=KNotify
118 118
 X-DCOP-ServiceType=Unique
119
-X-KDE-StartupNotify=false
119
+X-TDE-StartupNotify=false

+ 1
- 1
interfaces/khexedit/kbytesedit.desktop View File

@@ -1,4 +1,4 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KHexEdit/KBytesEdit
3
+X-TDE-ServiceType=KHexEdit/KBytesEdit
4 4
 

+ 1
- 1
interfaces/kimproxy/interface/dcopinstantmessenger.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=DCOP/InstantMessenger
3
+X-TDE-ServiceType=DCOP/InstantMessenger
4 4
 Comment=Instant Messenger with a DCOP interface
5 5
 Comment[af]=Oombliklike Boodskapper met DCOP intervlak
6 6
 Comment[be]=Імгненны абвестнік з інтэрфэйсам DCOP

+ 2
- 2
interfaces/kmediaplayer/kmediaplayer.desktop View File

@@ -1,4 +1,4 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KMediaPlayer/Player
4
-X-KDE-Derived=KParts/ReadOnlyPart
3
+X-TDE-ServiceType=KMediaPlayer/Player
4
+X-TDE-Derived=KParts/ReadOnlyPart

+ 1
- 1
interfaces/kmediaplayer/kmediaplayerengine.desktop View File

@@ -1,3 +1,3 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KMediaPlayer/Engine
3
+X-TDE-ServiceType=KMediaPlayer/Engine

+ 1
- 1
interfaces/kregexpeditor/kregexpeditor.desktop View File

@@ -1,4 +1,4 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KRegExpEditor/KRegExpEditor
3
+X-TDE-ServiceType=KRegExpEditor/KRegExpEditor
4 4
 

+ 2
- 2
interfaces/kscript/sample/shellscript.desktop View File

@@ -71,8 +71,8 @@ Name[wa]=Enondeu di scripes shell bash
71 71
 Name[zh_CN]=Bash Shell 脚本运行程序
72 72
 Name[zh_TW]=Bash Shell Script 執行器
73 73
 Type=Service
74
-X-KDE-Library=libshellscript
75
-X-KDE-Script-Runner=ShellScript/bash
74
+X-TDE-Library=libshellscript
75
+X-TDE-Script-Runner=ShellScript/bash
76 76
 ServiceTypes=KScriptRunner/KScriptRunner
77 77
 Comment=Runs bash shell scripts from inside the application.
78 78
 Comment[af]=Laai bash tolk skripte vanuit die program.

+ 1
- 1
interfaces/kscript/scriptclientinterface.h View File

@@ -40,7 +40,7 @@ class TQString;
40 40
 	*	{
41 41
 	*		// Create your @ref KScriptInterface here.
42 42
 	*		m_interface = KParts::ComponentFactory::createInstanceFromQuery<KScriptInterface>( 
43
-	*			"KScriptRunner/KScriptRunner", "([X-KDE-Script-Runner] == 'bash/shell')", this );
43
+	*			"KScriptRunner/KScriptRunner", "([X-TDE-Script-Runner] == 'bash/shell')", this );
44 44
 	*	}
45 45
 	*
46 46
 	*	virtual ~KScriptAction()

+ 2
- 2
interfaces/kscript/scriptinterface.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KScriptRunner/KScriptRunner
3
+X-TDE-ServiceType=KScriptRunner/KScriptRunner
4 4
 Comment=This is a generic test script engine for testing the script interface.
5 5
 Comment[af]=Hierdie is 'n generies toets skrip masjien vir toetsing die skrip koppelvlak.
6 6
 Comment[ar]=هذه آلة نصوص برمجية اختبارية لاختبار واجهة النص البرمجي.
@@ -84,6 +84,6 @@ Comment[zh_HK]=這是用來測試手稿介面用的一般性測試手稿引擎
84 84
 Comment[zh_TW]=這是用來測試手稿介面用的一般性測試手稿引擎
85 85
 Comment[zu]=Lena yinjini yesikripti sokuvivinya sawonke wonke yokuvivinya isikripti somxhumanisi.
86 86
 
87
-[PropertyDef::X-KDE-Script-Runner]
87
+[PropertyDef::X-TDE-Script-Runner]
88 88
 Type=TQString
89 89
 

+ 2
- 2
interfaces/kscript/scriptmanager.cpp View File

@@ -51,7 +51,7 @@ bool KScriptManager::addScript( const TQString &scriptDesktopFile)
51 51
 		KDesktopFile desktop(scriptDesktopFile, true);
52 52
 		m_scripts.insert(desktop.readName(), new ScriptInfo());
53 53
 		m_scripts[desktop.readName()]->scriptType = desktop.readType();
54
-		TQString localpath = TQString(kapp->name()) + "/scripts/" + desktop.readEntry("X-KDE-ScriptName", "");
54
+		TQString localpath = TQString(kapp->name()) + "/scripts/" + desktop.readEntry("X-TDE-ScriptName", "");
55 55
 		m_scripts[desktop.readName()]->scriptFile = locate("data", localpath);
56 56
 //		m_scripts[desktop.readName()]->scriptMethod = tmpScriptMethod;
57 57
 		success = true;
@@ -86,7 +86,7 @@ void KScriptManager::runScript( const TQString &scriptName, TQObject *context, c
86 86
 	ScriptInfo *newScript = m_scripts[scriptName];
87 87
 	if (newScript)
88 88
 	{
89
-		TQString scriptType = "([X-KDE-Script-Runner] == '" + newScript->scriptType + "')";
89
+		TQString scriptType = "([X-TDE-Script-Runner] == '" + newScript->scriptType + "')";
90 90
 		kdDebug()<<"running script, type = '"<<scriptType<<"'"<<endl;
91 91
 		// See if the script is already cached...
92 92
 		if ( !m_scriptCache[scriptName] )

+ 1
- 1
interfaces/kspeech/dcoptexttospeech.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=DCOP/Text-to-Speech
3
+X-TDE-ServiceType=DCOP/Text-to-Speech
4 4
 Comment=Text-to-Speech Service with a DCOP interface
5 5
 Comment[af]=Tekste-tot-spraak diens met DCOP intervlak
6 6
 Comment[be]=Сервіс агалошвання тэксту з інтэрфэйсам DCOP

+ 2
- 2
interfaces/ktexteditor/ktexteditor.desktop View File

@@ -1,7 +1,7 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KTextEditor/Document
4
-X-KDE-Derived=KParts/ReadWritePart
3
+X-TDE-ServiceType=KTextEditor/Document
4
+X-TDE-Derived=KParts/ReadWritePart
5 5
 Comment=Embeddable Text Editor Component (with Doc/View Separation)
6 6
 Comment[af]=Inlegbare Teks Redigeerder Komponent (met Dok/Besigtig Seperasie)
7 7
 Comment[ar]=مكوّن تحرير النصوص القابل للدمج )مع Doc/View Separation(

+ 2
- 2
interfaces/ktexteditor/ktexteditoreditor.desktop View File

@@ -1,7 +1,7 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KTextEditor/Editor
4
-X-KDE-Derived=KParts/ReadWritePart
3
+X-TDE-ServiceType=KTextEditor/Editor
4
+X-TDE-Derived=KParts/ReadWritePart
5 5
 Comment=Embeddable Text Editor Component (without Doc/View Separation)
6 6
 Comment[af]=Inlegbare Teks Redigeerder Komponent (sonder om te Dok/Besigtig Seperasie)
7 7
 Comment[ar]=مكوّن تحرير النصوص القابل للدمج )مع Doc/View Separation(

+ 2
- 2
interfaces/ktexteditor/ktexteditorplugin.desktop View File

@@ -1,7 +1,7 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KTextEditor/Plugin
4
-X-KDE-Derived=
3
+X-TDE-ServiceType=KTextEditor/Plugin
4
+X-TDE-Derived=
5 5
 Comment=KTextEditor Plugin
6 6
 Comment[af]=KTextEditor Inprop Module
7 7
 Comment[ar]=مساعد برنامج KTextEditor

+ 1
- 1
kabc/formatfactory.cpp View File

@@ -68,7 +68,7 @@ FormatFactory::FormatFactory()
68 68
 
69 69
     config.setGroup( "Plugin" );
70 70
     TQString type = config.readEntry( "Type" );
71
-    info->library = config.readEntry( "X-KDE-Library" );
71
+    info->library = config.readEntry( "X-TDE-Library" );
72 72
 
73 73
     config.setGroup( "Misc" );
74 74
     info->nameLabel = config.readEntry( "Name" );

+ 1
- 1
kabc/formats/binary.desktop View File

@@ -86,4 +86,4 @@ Name[zu]=Okuhambisana ngambili
86 86
 
87 87
 [Plugin]
88 88
 Type=binary
89
-X-KDE-Library=kabcformat_binary
89
+X-TDE-Library=kabcformat_binary

+ 1
- 1
kabc/kab2kabc.desktop View File

@@ -101,5 +101,5 @@ Comment[zh_TW]=libkab 至 libkabc 轉換工具
101 101
 Comment[zu]=Ithuluzi lokuguqula le-libkab kuyaku-libkabc
102 102
 Terminal=false
103 103
 NoDisplay=true
104
-X-KDE-autostart-condition=kab2kabcrc:Startup:EnableAutostart:true
104
+X-TDE-autostart-condition=kab2kabcrc:Startup:EnableAutostart:true
105 105
 OnlyShowIn=TDE;

+ 1
- 1
kabc/kabc_manager.desktop View File

@@ -73,4 +73,4 @@ Name[zh_TW]=聯絡人
73 73
 Type=Service
74 74
 ServiceTypes=KResources/Manager
75 75
 
76
-X-KDE-ResourceFamily=contact
76
+X-TDE-ResourceFamily=contact

+ 3
- 3
kabc/plugins/dir/dir.desktop View File

@@ -85,8 +85,8 @@ Name[zh_CN]=目录
85 85
 Name[zh_HK]=目錄
86 86
 Name[zh_TW]=目錄
87 87
 Name[zu]=Uhlu lwamafayela
88
-X-KDE-Library=kabc_dir
88
+X-TDE-Library=kabc_dir
89 89
 Type=Service
90 90
 ServiceTypes=KResources/Plugin
91
-X-KDE-ResourceFamily=contact
92
-X-KDE-ResourceType=dir
91
+X-TDE-ResourceFamily=contact
92
+X-TDE-ResourceType=dir

+ 3
- 3
kabc/plugins/evolution/evolution.desktop View File

@@ -19,8 +19,8 @@ Name[ven]=Tsikoni
19 19
 Name[wa]=Evolucion
20 20
 Name[xh]=Utshintsho lwendawo ngokwenqanawa
21 21
 Name[zu]=Evolushini
22
-X-KDE-Library=kabc_evo
22
+X-TDE-Library=kabc_evo
23 23
 Type=Service
24 24
 ServiceTypes=KResources/Plugin
25
-X-KDE-ResourceFamily=contact
26
-X-KDE-ResourceType=evolution
25
+X-TDE-ResourceFamily=contact
26
+X-TDE-ResourceType=evolution

+ 3
- 3
kabc/plugins/file/file.desktop View File

@@ -75,8 +75,8 @@ Name[wa]=Fitchî
75 75
 Name[zh_CN]=文件
76 76
 Name[zh_HK]=檔案
77 77
 Name[zh_TW]=檔案
78
-X-KDE-Library=kabc_file
78
+X-TDE-Library=kabc_file
79 79
 Type=Service
80 80
 ServiceTypes=KResources/Plugin
81
-X-KDE-ResourceFamily=contact
82
-X-KDE-ResourceType=file
81
+X-TDE-ResourceFamily=contact
82
+X-TDE-ResourceType=file

+ 3
- 3
kabc/plugins/ldapkio/ldapkio.desktop View File

@@ -3,8 +3,8 @@ Name=LDAP
3 3
 Name[bn]=এল-ডি-এ-পি (LDAP)
4 4
 Name[hi]=एलडीएपी (LDAP)
5 5
 Name[te]=ఎల్డిఏపి
6
-X-KDE-Library=kabc_ldapkio
6
+X-TDE-Library=kabc_ldapkio
7 7
 Type=Service
8 8
 ServiceTypes=KResources/Plugin
9
-X-KDE-ResourceFamily=contact
10
-X-KDE-ResourceType=ldapkio
9
+X-TDE-ResourceFamily=contact
10
+X-TDE-ResourceType=ldapkio

+ 3
- 3
kabc/plugins/net/net.desktop View File

@@ -83,8 +83,8 @@ Name[zh_CN]=网络
83 83
 Name[zh_HK]=網絡
84 84
 Name[zh_TW]=網路
85 85
 Name[zu]=Umsebenzi wokuxhumana okusakazekile
86
-X-KDE-Library=kabc_net
86
+X-TDE-Library=kabc_net
87 87
 Type=Service
88 88
 ServiceTypes=KResources/Plugin
89
-X-KDE-ResourceFamily=contact
90
-X-KDE-ResourceType=net
89
+X-TDE-ResourceFamily=contact
90
+X-TDE-ResourceType=net

+ 1
- 1
kabc/plugins/sql/sql.desktop View File

@@ -7,4 +7,4 @@ Name[te]=ఏస్క్యుఎల్
7 7
 
8 8
 [Plugin]
9 9
 Type=sql
10
-X-KDE-Library=kabc_sql
10
+X-TDE-Library=kabc_sql

+ 1
- 1
kate/data/katepart.desktop View File

@@ -82,7 +82,7 @@ Name[zh_CN]=嵌入式 KDE 高级文本编辑器
82 82
 Name[zh_HK]=嵌入式進階文字編輯器
83 83
 Name[zh_TW]=嵌入式進階文字編輯器
84 84
 Name[zu]=Umlungisi Wezinga Eliphezulu Oshuthekiwe
85
-X-KDE-Library=libkatepart
85
+X-TDE-Library=libkatepart
86 86
 Icon=kate
87 87
 ServiceTypes=KParts/ReadOnlyPart,Browser/View,KParts/ReadWritePart,KTextEditor/Editor,KTextEditor/Document
88 88
 Type=Service

+ 1
- 1
kate/plugins/autobookmarker/ktexteditor_autobookmarker.desktop View File

@@ -128,7 +128,7 @@ Comment[uk]=Встановлює закладки на рядках, що від
128 128
 Comment[vi]=Đặt đánh dấu trên các dòng khớp một mẫu nào đó khi tải tài liệu.
129 129
 Comment[zh_CN]=文档装入时根据匹配模式自动设置书签
130 130
 Comment[zh_TW]=文件載入時以字串比對演算法來設定書籤。
131
-X-KDE-Library=ktexteditor_autobookmarker
131
+X-TDE-Library=ktexteditor_autobookmarker
132 132
 ServiceTypes=KTextEditor/Plugin
133 133
 Type=Service
134 134
 InitialPreference=8

+ 1
- 1
kate/plugins/insertfile/ktexteditor_insertfile.desktop View File

@@ -149,7 +149,7 @@ Comment[vi]=Chèn bất kỳ tập tin có khả năng đọc tại vị trí c
149 149
 Comment[zh_CN]=在光标位置插入任何可读文件
150 150
 Comment[zh_HK]=在游標處插入任意的檔案
151 151
 Comment[zh_TW]=在游標處插入任意的可讀檔案
152
-X-KDE-Library=ktexteditor_insertfile
152
+X-TDE-Library=ktexteditor_insertfile
153 153
 ServiceTypes=KTextEditor/Plugin
154 154
 Type=Service
155 155
 InitialPreference=8

+ 1
- 1
kate/plugins/isearch/ktexteditor_isearch.desktop View File

@@ -146,7 +146,7 @@ Comment[uk]=Також відомий як "Пошук за вводом"
146 146
 Comment[vi]=Cũng được biết như là « Tìm kiếm trong khi gõ ».
147 147
 Comment[zh_CN]=也称为“即输即搜”
148 148
 Comment[zh_TW]=也稱做「即時搜尋」
149
-X-KDE-Library=ktexteditor_isearch
149
+X-TDE-Library=ktexteditor_isearch
150 150
 ServiceTypes=KTextEditor/Plugin
151 151
 Type=Service
152 152
 InitialPreference=8

+ 1
- 1
kate/plugins/kdatatool/ktexteditor_kdatatool.desktop View File

@@ -162,7 +162,7 @@ Comment[zh_CN]=启用像辞典(thesaurus)和拼写检查(spell check)这样的
162 162
 Comment[zh_HK]=如果有安裝的話,啟用像同義字字典和拼字檢查等的文字工具
163 163
 Comment[zh_TW]=打開資料工具如同義字典與拼字檢查 (如果有安裝的話)
164 164
 Comment[zu]=Nika amandla amathuluzi edata  anjenge thesaurus kanye nokubheka ukubhalwa kwamagama (uma kufakiwe)
165
-X-KDE-Library=ktexteditor_kdatatool
165
+X-TDE-Library=ktexteditor_kdatatool
166 166
 ServiceTypes=KTextEditor/Plugin
167 167
 Type=Service
168 168
 InitialPreference=8

+ 1
- 1
kate/plugins/wordcompletion/ktexteditor_docwordcompletion.desktop View File

@@ -132,7 +132,7 @@ Comment[uk]=Завершення слів у документі. Пряме аб
132 132
 Comment[vi]=Khả năng nhập xong từ trong tài liệu, đựa vào chiều hoặc vào bộ bật lên.
133 133
 Comment[zh_CN]=在文档中基于方向或弹出补全单词
134 134
 Comment[zh_TW]=在編輯文件時的單字補完功能
135
-X-KDE-Library=ktexteditor_docwordcompletion
135
+X-TDE-Library=ktexteditor_docwordcompletion
136 136
 ServiceTypes=KTextEditor/Plugin
137 137
 Type=Service
138 138
 InitialPreference=8

+ 1
- 1
kcert/kcertpart.desktop View File

@@ -95,5 +95,5 @@ Name[ta]=கேசான்றிதழ்பகுதி
95 95
 Name[te]=కెసెర్ట్ పార్ట్
96 96
 Name[ven]=Tshipida tsha cert ya K
97 97
 ServiceTypes=KParts/ReadWritePart
98
-X-KDE-Library=libkcertpart
98
+X-TDE-Library=libkcertpart
99 99
 InitialPreference=15

+ 5
- 5
kded/README.kded View File

@@ -106,7 +106,7 @@ A KDED module should install a .desktop file with
106 106
 	ServicesTypes=KDEDModule
107 107
 
108 108
 A KDED module will be loaded on KDE startup if it has a line
109
-	X-KDE-Kded-autoload=true
109
+	X-TDE-Kded-autoload=true
110 110
 
111 111
 Note that this flag doesn't cause the module to be loaded if the KDE desktop
112 112
 is not running (i.e. when running a KDE application in another environment).
@@ -114,12 +114,12 @@ is not running (i.e. when running a KDE application in another environment).
114 114
 Normally KDED modules are loaded whenever they are accessed, so you don't
115 115
 need autoloading enabled. On demand loading can be disabled by putting
116 116
 the following line in the .desktop file:
117
-	X-KDE-Kded-load-on-demand=false
117
+	X-TDE-Kded-load-on-demand=false
118 118
 
119 119
 Further it should contain:
120
-	X-KDE-ModuleType=Library
121
-	X-KDE-Library=foo
122
-	X-KDE-FactoryName=foo
120
+	X-TDE-ModuleType=Library
121
+	X-TDE-Library=foo
122
+	X-TDE-FactoryName=foo
123 123
 
124 124
 Which means that kded_foo.la is the name of the library that contains 
125 125
 the module and KDEDModule *create_foo(const QCString &) is the factory 

+ 32
- 32
kded/applications.menu View File

@@ -26,10 +26,10 @@
26 26
     <OnlyUnallocated/>
27 27
     <Include>
28 28
       <Not>
29
-        <!-- Don't list non-KDE core applications -->
29
+        <!-- Don't list non-TDE core applications -->
30 30
         <And>
31 31
           <Category>Core</Category>
32
-          <Not><Category>KDE</Category></Not>
32
+          <Not><Category>TDE</Category></Not>
33 33
         </And>
34 34
         <!-- Don't list SUSE's YaST in here -->
35 35
         <Category>X-SuSE-YaST</Category>
@@ -40,12 +40,12 @@
40 40
     <Name>Development</Name>
41 41
     <Directory>tde-development.directory</Directory>
42 42
     <Menu>
43
-      <Name>X-KDE-KDevelopIDE</Name>
43
+      <Name>X-TDE-KDevelopIDE</Name>
44 44
       <Directory>tde-development-tdevelop.directory</Directory>
45 45
       <Include>
46 46
         <And>
47 47
         <Category>Development</Category>
48
-        <Category>X-KDE-KDevelopIDE</Category>
48
+        <Category>X-TDE-KDevelopIDE</Category>
49 49
         </And>
50 50
       </Include>
51 51
     </Menu>
@@ -72,7 +72,7 @@
72 72
       <Include>
73 73
         <And>
74 74
         <Category>Development</Category>
75
-        <Not><Category>X-KDE-KDevelopIDE</Category></Not>
75
+        <Not><Category>X-TDE-KDevelopIDE</Category></Not>
76 76
         <Not><Category>Translation</Category></Not>
77 77
         <Not><Category>WebDevelopment</Category></Not>
78 78
         </And>
@@ -108,7 +108,7 @@
108 108
         <Category>Education</Category>
109 109
         <Or>
110 110
         <Category>Languages</Category>
111
-        <Category>X-KDE-Edu-Language</Category>
111
+        <Category>X-TDE-Edu-Language</Category>
112 112
         </Or>
113 113
         </And>
114 114
       </Include>
@@ -131,11 +131,11 @@
131 131
         <Category>Education</Category>
132 132
         <Not>
133 133
         <Category>Languages</Category>
134
-        <Category>X-KDE-Edu-Language</Category>
134
+        <Category>X-TDE-Edu-Language</Category>
135 135
         <Category>Math</Category>
136 136
         <Category>Science</Category>
137 137
         <Category>Teaching</Category>
138
-        <Category>X-KDE-Edu-Teaching</Category>
138
+        <Category>X-TDE-Edu-Teaching</Category>
139 139
         </Not>
140 140
         </And>
141 141
       </Include>
@@ -158,7 +158,7 @@
158 158
         <Category>Education</Category>
159 159
         <Or>
160 160
         <Category>Teaching</Category>
161
-        <Category>X-KDE-Edu-Teaching</Category>
161
+        <Category>X-TDE-Edu-Teaching</Category>
162 162
         </Or>
163 163
         </And>
164 164
       </Include>
@@ -204,7 +204,7 @@
204 204
         <And>
205 205
         <Category>Game</Category>
206 206
         <Or>
207
-        <Category>X-KDE-KidsGame</Category>
207
+        <Category>X-TDE-KidsGame</Category>
208 208
         <Category>KidsGame</Category>
209 209
         </Or>
210 210
         </And>
@@ -227,7 +227,7 @@
227 227
       <Category>ArcadeGame</Category>
228 228
       <Category>BoardGame</Category>
229 229
       <Category>CardGame</Category>
230
-      <Category>X-KDE-KidsGame</Category>
230
+      <Category>X-TDE-KidsGame</Category>
231 231
       <Category>KidsGame</Category>
232 232
       <Category>StrategyGame</Category>
233 233
       </Not>
@@ -240,7 +240,7 @@
240 240
     <Include>
241 241
       <And>
242 242
       <Category>Graphics</Category>
243
-      <Not><Category>X-KDE-More</Category></Not>
243
+      <Not><Category>X-TDE-More</Category></Not>
244 244
       <Not><Filename>ooo-draw.desktop</Filename></Not>
245 245
       </And>
246 246
     </Include>
@@ -250,7 +250,7 @@
250 250
       <Include>
251 251
         <And>
252 252
         <Category>Graphics</Category>
253
-        <Category>X-KDE-More</Category>
253
+        <Category>X-TDE-More</Category>
254 254
         </And>
255 255
       </Include>
256 256
     </Menu>
@@ -261,7 +261,7 @@
261 261
     <Include>
262 262
       <And>
263 263
       <Category>Network</Category>
264
-      <Not><Category>X-KDE-More</Category></Not>
264
+      <Not><Category>X-TDE-More</Category></Not>
265 265
       </And>
266 266
     </Include>
267 267
     <Menu>
@@ -274,7 +274,7 @@
274 274
       <Include>
275 275
         <And>
276 276
         <Category>Network</Category>
277
-        <Category>X-KDE-More</Category>
277
+        <Category>X-TDE-More</Category>
278 278
         </And>
279 279
       </Include>
280 280
     </Menu>
@@ -285,7 +285,7 @@
285 285
     <Include>
286 286
       <And>
287 287
       <Category>AudioVideo</Category>
288
-      <Not><Category>X-KDE-More</Category></Not>
288
+      <Not><Category>X-TDE-More</Category></Not>
289 289
       </And>
290 290
     </Include>
291 291
     <Menu>
@@ -294,7 +294,7 @@
294 294
       <Include>
295 295
         <And>
296 296
         <Category>AudioVideo</Category>
297
-        <Category>X-KDE-More</Category>
297
+        <Category>X-TDE-More</Category>
298 298
         </And>
299 299
       </Include>
300 300
     </Menu>
@@ -311,7 +311,7 @@
311 311
     <Include>
312 312
       <And>
313 313
       <Category>Office</Category>
314
-        <Not><Category>X-KDE-More</Category></Not>
314
+        <Not><Category>X-TDE-More</Category></Not>
315 315
       </And>
316 316
     <Filename>ooo-draw.desktop</Filename>
317 317
     </Include>
@@ -321,7 +321,7 @@
321 321
       <Include>
322 322
         <And>
323 323
           <Category>Office</Category>
324
-          <Category>X-KDE-More</Category>
324
+          <Category>X-TDE-More</Category>
325 325
         </And>
326 326
       </Include>
327 327
     </Menu>
@@ -339,7 +339,7 @@
339 339
     <Include>
340 340
       <And>
341 341
       <Category>System</Category>
342
-      <Not><Category>X-KDE-More</Category></Not>
342
+      <Not><Category>X-TDE-More</Category></Not>
343 343
       </And>
344 344
     </Include>
345 345
     <Menu>
@@ -347,8 +347,8 @@
347 347
       <Directory>tde-system-su.directory</Directory>
348 348
       <Include>
349 349
         <And>
350
-        <Category>X-KDE-System-su</Category>
351
-        <Not><Category>X-KDE-More</Category></Not>
350
+        <Category>X-TDE-System-su</Category>
351
+        <Not><Category>X-TDE-More</Category></Not>
352 352
         </And>
353 353
       </Include>
354 354
     </Menu>
@@ -358,7 +358,7 @@
358 358
       <Include>
359 359
         <And>
360 360
         <Category>System</Category>
361
-        <Category>X-KDE-More</Category>
361
+        <Category>X-TDE-More</Category>
362 362
         </And>
363 363
       </Include>
364 364
     </Menu>
@@ -378,10 +378,10 @@
378 378
       <And>
379 379
       <Category>Utility</Category>
380 380
       <Not><Category>Accessibility</Category></Not>
381
-      <Not><Category>X-KDE-Utilities-Desktop</Category></Not>
382
-      <Not><Category>X-KDE-Utilities-Peripherals</Category></Not>
383
-      <Not><Category>X-KDE-Utilities-PIM</Category></Not>
384
-      <Not><Category>X-KDE-More</Category></Not>
381
+      <Not><Category>X-TDE-Utilities-Desktop</Category></Not>
382
+      <Not><Category>X-TDE-Utilities-Peripherals</Category></Not>
383
+      <Not><Category>X-TDE-Utilities-PIM</Category></Not>
384
+      <Not><Category>X-TDE-More</Category></Not>
385 385
       </And>
386 386
     </Include>
387 387
     <Menu>
@@ -400,7 +400,7 @@
400 400
       <Include>
401 401
         <And>
402 402
         <Category>Utility</Category>
403
-        <Category>X-KDE-Utilities-Desktop</Category>
403
+        <Category>X-TDE-Utilities-Desktop</Category>
404 404
         </And>
405 405
       </Include>
406 406
     </Menu>
@@ -417,7 +417,7 @@
417 417
       <Include>
418 418
         <And>
419 419
         <Category>Utility</Category>
420
-        <Category>X-KDE-Utilities-PIM</Category>
420
+        <Category>X-TDE-Utilities-PIM</Category>
421 421
         </And>
422 422
       </Include>
423 423
     </Menu>
@@ -438,7 +438,7 @@
438 438
       <Include>
439 439
         <And>
440 440
         <Category>Utility</Category>
441
-        <Category>X-KDE-More</Category>
441
+        <Category>X-TDE-More</Category>
442 442
         </And>
443 443
       </Include>
444 444
     </Menu>
@@ -448,14 +448,14 @@
448 448
       <Include>
449 449
         <And>
450 450
         <Category>Utility</Category>
451
-        <Category>X-KDE-More</Category>
451
+        <Category>X-TDE-More</Category>
452 452
         </And>
453 453
       </Include>
454 454
     </Menu>
455 455
   </Menu>
456 456
   <Include>
457 457
     <And>
458
-    <Category>KDE</Category>
458
+    <Category>TDE</Category>
459 459
     <Category>Core</Category>
460 460
     </And>
461 461
   </Include>

+ 1
- 1
kded/kbuildservicegroupfactory.h View File

@@ -53,7 +53,7 @@ public:
53 53
    * Adds the entry @p newEntry to the "parent group" @p parent, creating
54 54
    * the group if necassery.
55 55
    * A "parent group" is a group of services that all have the same
56
-   * "X-KDE-ParentApp".
56
+   * "X-TDE-ParentApp".
57 57
    */
58 58
   KServiceGroup *addNewChild( const TQString &parent, const char *resource, KSycocaEntry *newEntry);
59 59
  

+ 1
- 1
kded/kbuildservicetypefactory.cpp View File

@@ -85,7 +85,7 @@ KBuildServiceTypeFactory::createEntry(const TQString &file, const char *resource
85 85
 
86 86
   // TODO check Type field first
87 87
   TQString mime = desktopFile.readEntry( "MimeType" );
88
-  TQString service = desktopFile.readEntry( "X-KDE-ServiceType" );
88
+  TQString service = desktopFile.readEntry( "X-TDE-ServiceType" );
89 89
 
90 90
   if ( mime.isEmpty() && service.isEmpty() )
91 91
   {

+ 8
- 8
kded/kded.cpp View File

@@ -172,7 +172,7 @@ void Kded::initModules()
172 172
      for(KService::List::ConstIterator it = kdedModules.begin(); it != kdedModules.end(); ++it)
173 173
      {
174 174
          KService::Ptr service = *it;
175
-         bool autoload = service->property("X-KDE-Kded-autoload", TQVariant::Bool).toBool();
175
+         bool autoload = service->property("X-TDE-Kded-autoload", TQVariant::Bool).toBool();
176 176
          config->setGroup(TQString("Module-%1").arg(service->desktopEntryName()));
177 177
          autoload = config->readBoolEntry("autoload", autoload);
178 178
          for (TQStringList::Iterator module = blacklist.begin(); module != blacklist.end(); ++module)
@@ -186,7 +186,7 @@ void Kded::initModules()
186 186
          if( m_newStartup )
187 187
          {
188 188
             // see ksmserver's README for description of the phases
189
-            TQVariant phasev = service->property("X-KDE-Kded-phase", TQVariant::Int );
189
+            TQVariant phasev = service->property("X-TDE-Kded-phase", TQVariant::Int );
190 190
             int phase = phasev.isValid() ? phasev.toInt() : 2;
191 191
             bool prevent_autoload = false;
192 192
             switch( phase )
@@ -211,7 +211,7 @@ void Kded::initModules()
211 211
                loadModule(service, false);
212 212
          }
213 213
          bool dontLoad = false;
214
-         TQVariant p = service->property("X-KDE-Kded-load-on-demand", TQVariant::Bool);
214
+         TQVariant p = service->property("X-TDE-Kded-load-on-demand", TQVariant::Bool);
215 215
          if (p.isValid() && (p.toBool() == false))
216 216
             dontLoad = true;
217 217
          if (dontLoad)
@@ -230,10 +230,10 @@ void Kded::loadSecondPhase()
230 230
      for(KService::List::ConstIterator it = kdedModules.begin(); it != kdedModules.end(); ++it)
231 231
      {
232 232
          KService::Ptr service = *it;
233
-         bool autoload = service->property("X-KDE-Kded-autoload", TQVariant::Bool).toBool();
233
+         bool autoload = service->property("X-TDE-Kded-autoload", TQVariant::Bool).toBool();
234 234
          config->setGroup(TQString("Module-%1").arg(service->desktopEntryName()));
235 235
          autoload = config->readBoolEntry("autoload", autoload);
236
-         TQVariant phasev = service->property("X-KDE-Kded-phase", TQVariant::Int );
236
+         TQVariant phasev = service->property("X-TDE-Kded-phase", TQVariant::Int );
237 237
          int phase = phasev.isValid() ? phasev.toInt() : 2;
238 238
          if( phase == 2 && autoload )
239 239
             loadModule(service, false);
@@ -266,7 +266,7 @@ KDEDModule *Kded::loadModule(const KService *s, bool onDemand)
266 266
 
267 267
     if (onDemand)
268 268
     {
269
-      TQVariant p = s->property("X-KDE-Kded-load-on-demand", TQVariant::Bool);
269
+      TQVariant p = s->property("X-TDE-Kded-load-on-demand", TQVariant::Bool);
270 270
       if (p.isValid() && (p.toBool() == false))
271 271
       {
272 272
          noDemandLoad(s->desktopEntryName());
@@ -277,12 +277,12 @@ KDEDModule *Kded::loadModule(const KService *s, bool onDemand)
277 277
 
278 278
     KLibLoader *loader = KLibLoader::self();
279 279
 
280
-    TQVariant v = s->property("X-KDE-FactoryName", TQVariant::String);
280
+    TQVariant v = s->property("X-TDE-FactoryName", TQVariant::String);
281 281
     TQString factory = v.isValid() ? v.toString() : TQString::null;
282 282
     if (factory.isEmpty())
283 283
     {
284 284
        // Stay bugward compatible
285
-       v = s->property("X-KDE-Factory", TQVariant::String);
285
+       v = s->property("X-TDE-Factory", TQVariant::String);
286 286
        factory = v.isValid() ? v.toString() : TQString::null;
287 287
     }
288 288
     if (factory.isEmpty())

+ 4
- 4
kded/kdedmodule.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KDEDModule
3
+X-TDE-ServiceType=KDEDModule
4 4
 Comment=KDED Module
5 5
 Comment[ar]=وحدة KDED
6 6
 Comment[az]=KDED Modulu
@@ -82,9 +82,9 @@ Comment[zh_CN]=KDED 模块
82 82
 Comment[zh_HK]=KDED 模組
83 83
 Comment[zh_TW]=KDED 模組
84 84
 Comment[zu]=Ingxenye ye-KDED
85
-[PropertyDef::X-KDE-FactoryName]
85
+[PropertyDef::X-TDE-FactoryName]
86 86
 Type=TQString
87
-[PropertyDef::X-KDE-Kded-autoload]
87
+[PropertyDef::X-TDE-Kded-autoload]
88 88
 Type=bool
89
-[PropertyDef::X-KDE-Kded-load-on-demand]
89
+[PropertyDef::X-TDE-Kded-load-on-demand]
90 90
 Type=bool

+ 5
- 5
kded/test/test.desktop View File

@@ -2,11 +2,11 @@
2 2
 Type=Service
3 3
 
4 4
 ServiceTypes=KDEDModule
5
-X-KDE-ModuleType=Library
6
-X-KDE-Library=test
7
-X-KDE-Factory=test
8
-X-KDE-Kded-autoload=false
9
-X-KDE-Kded-load-on-demand=true
5
+X-TDE-ModuleType=Library
6
+X-TDE-Library=test
7
+X-TDE-Factory=test
8
+X-TDE-Kded-autoload=false
9
+X-TDE-Kded-load-on-demand=true
10 10
 
11 11
 Name=KDED Test Module
12 12
 Name[af]=Kded Toets Module

+ 1
- 1
kfile-plugins/elf/kfile_elf.desktop View File

@@ -60,7 +60,7 @@ Name[zh_HK]=ELF 資訊
60 60
 Name[zh_TW]=ELF 資訊
61 61
 Name[zu]=Ulwazi lwe-ELF
62 62
 ServiceTypes=KFilePlugin
63
-X-KDE-Library=kfile_elf
63
+X-TDE-Library=kfile_elf
64 64
 MimeType=application/x-executable
65 65
 PreferredItems=Name,Description,License,Copyright,Authors,Product,Organization,Version,DateTime,Notes"
66 66
 SupportsThumbnail=false

+ 1
- 1
khtml/ecma/kjs_navigator.cpp View File

@@ -296,7 +296,7 @@ PluginBase::PluginBase(ExecState *exec, bool loadPluginInfo)
296 296
         KTrader::OfferList::iterator it;
297 297
         for ( it = offers.begin(); it != offers.end(); ++it ) {
298 298
 
299
-            TQVariant pluginsinfo = (**it).property( "X-KDE-BrowserView-PluginsInfo" );
299
+            TQVariant pluginsinfo = (**it).property( "X-TDE-BrowserView-PluginsInfo" );
300 300
             if ( !pluginsinfo.isValid() ) {
301 301
                 // <backwards compatible>
302 302
                 if ((**it).library() == TQString("libnsplugin"))

+ 2
- 2
khtml/java/kjavaappletviewer.desktop View File

@@ -73,10 +73,10 @@ Name[vi]=Bộ xem tiểu dụng Java nhúng
73 73
 Name[wa]=Ravalé håyneu d' apliketes Java
74 74
 Name[zh_CN]=嵌入的 Java 小程序查看器
75 75
 Name[zh_TW]=Embedded Java Applet 檢視器
76
-X-KDE-Library=kjavaappletviewer
76
+X-TDE-Library=kjavaappletviewer
77 77
 Icon=java
78 78
 MimeType=application/x-java-applet;application/x-java;
79 79
 ServiceTypes=KParts/ReadOnlyPart,Browser/View
80 80
 Type=Service
81 81
 InitialPreference=2
82
-X-KDE-BrowserView-PluginsInfo=kjava/pluginsinfo
82
+X-TDE-BrowserView-PluginsInfo=kjava/pluginsinfo

+ 1
- 1
khtml/khtml.desktop View File

@@ -89,5 +89,5 @@ Name=KHTML
89 89
 Name[hi]=केएचटीएमएल (KHTML)
90 90
 Name[te]=కెహెచ్ టి ఎమ్ ఎల్
91 91
 ServiceTypes=KParts/ReadOnlyPart,Browser/View
92
-X-KDE-Library=libkhtmlpart
92
+X-TDE-Library=libkhtmlpart
93 93
 InitialPreference=10

+ 1
- 1
khtml/khtmlimage.desktop View File

@@ -167,4 +167,4 @@ Name[zh_TW]=可嵌入的影像檢視器
167 167
 Name[zu]=Isithombe Sombukisi Oshuthisekayo
168 168
 ServiceTypes=KParts/ReadOnlyPart,Browser/View
169 169
 InitialPreference=4
170
-X-KDE-Library=khtmlimagepart
170
+X-TDE-Library=khtmlimagepart

+ 1
- 1
khtml/kmultipart/kmultipart.desktop View File

@@ -70,4 +70,4 @@ Name[zh_CN]=可嵌入的 multipart/mixed 组件
70 70
 Name[zh_HK]=multipart/mixed 的可嵌入元件
71 71
 Name[zh_TW]=multipart/mixed 的可嵌入元件
72 72
 ServiceTypes=KParts/ReadOnlyPart
73
-X-KDE-Library=libkmultipart
73
+X-TDE-Library=libkmultipart

+ 4
- 4
kinit/README.autostart View File

@@ -15,7 +15,7 @@ application's .desktop file must be located in a KDE autostart directory such
15 15
 as $TDEDIR/share/autostart or $TDEHOME/share/autostart. The .desktop file can
16 16
 contain the following optional entries to control its autostart:
17 17
 
18
-   X-KDE-autostart-condition = rcfile:group:entry:default
18
+   X-TDE-autostart-condition = rcfile:group:entry:default
19 19
 
20 20
          rcfile   = name of a config file (including path if necessary)
21 21
          group    = name of a group within the config file
@@ -28,17 +28,17 @@ contain the following optional entries to control its autostart:
28 28
       'default' is 'true'.
29 29
       If the entry is not within a group, the group entry can be left empty.
30 30
 
31
-   X-KDE-autostart-after = desktop_name
31
+   X-TDE-autostart-after = desktop_name
32 32
 
33 33
          desktop_name  = the name of another .desktop file excluding path and
34 34
                          the .desktop suffix. E.g. panel.desktop would appear
35
-                         as 'X-KDE-autostart-after=panel'
35
+                         as 'X-TDE-autostart-after=panel'
36 36
                       
37 37
       Waits until the .desktop file specified by 'desktop_name' has been
38 38
       autostarted. The entry is ignored if the specified application is not
39 39
       scheduled in the same autostart phase as this .desktop file.
40 40
 
41
-   X-KDE-autostart-phase = phase
41
+   X-TDE-autostart-phase = phase
42 42
 
43 43
          phase  = 1 or 2
44 44
 

+ 4
- 4
kinit/autostart.cpp View File

@@ -128,7 +128,7 @@ AutoStart::loadAutoStartList()
128 128
               continue;
129 129
        }
130 130
        else {
131
-           if (!startCondition(config.readEntry("X-KDE-autostart-condition")))
131
+           if (!startCondition(config.readEntry("X-TDE-autostart-condition")))
132 132
               continue;
133 133
        }
134 134
        if (!config.tryExec())
@@ -193,13 +193,13 @@ AutoStart::loadAutoStartList()
193 193
        if (config.hasKey("X-TDE-autostart-after"))
194 194
            item->startAfter = config.readEntry("X-TDE-autostart-after");
195 195
        else
196
-           item->startAfter = config.readEntry("X-KDE-autostart-after");
196
+           item->startAfter = config.readEntry("X-TDE-autostart-after");
197 197
        if( m_newStartup )
198 198
        {
199 199
           if (config.hasKey("X-TDE-autostart-phase"))
200 200
               item->phase = config.readNumEntry("X-TDE-autostart-phase", 2);
201 201
           else
202
-              item->phase = config.readNumEntry("X-KDE-autostart-phase", 2);
202
+              item->phase = config.readNumEntry("X-TDE-autostart-phase", 2);
203 203
           if (item->phase < 0)
204 204
              item->phase = 0;
205 205
        }
@@ -208,7 +208,7 @@ AutoStart::loadAutoStartList()
208 208
           if (config.hasKey("X-TDE-autostart-phase"))
209 209
               item->phase = config.readNumEntry("X-TDE-autostart-phase", 1);
210 210
           else
211
-              item->phase = config.readNumEntry("X-KDE-autostart-phase", 1);
211
+              item->phase = config.readNumEntry("X-TDE-autostart-phase", 1);
212 212
           if (item->phase < 1)
213 213
              item->phase = 1;
214 214
        }

+ 7
- 7
kio/DESIGN.mimetypes View File

@@ -1,9 +1,9 @@
1 1
 TODO: servicetypes
2 2
 TODO: mimetypes
3 3
 
4
-Service type inheritance (X-KDE-Derived)
4
+Service type inheritance (X-TDE-Derived)
5 5
 ========================================
6
-X-KDE-Derived is for service types. ST1 derives from ST2 means ST1 is more specific than ST2.
6
+X-TDE-Derived is for service types. ST1 derives from ST2 means ST1 is more specific than ST2.
7 7
 If a service implements ST1, it also implements ST2, but not the other way round.
8 8
 
9 9
 For instance, KoDocument derives from KParts/ReadWritePart, which derives from KParts/ReadOnlyPart,
@@ -16,19 +16,19 @@ We need a mechanism to also say that "text/xml is a special case of text/plain",
16 16
 or "text/docbook is a kind of text/sgml", or "application/x-smb-workgroup is a kind
17 17
 of inode/directory", etc. See below.
18 18
 
19
-Why mimetype "inheritance" doesn't use X-KDE-Derived
19
+Why mimetype "inheritance" doesn't use X-TDE-Derived
20 20
 ====================================================
21 21
 The confusing thing is that we said "a mimetype is a servicetype". But that's not exactly correct.
22 22
 As Waldo noted, "the ability to open a mimetype" is what's a servicetype.
23
-So if text/xml said X-KDE-Derived=text/plain (i.e. ST1=text/xml, ST2=text/plain),
23
+So if text/xml said X-TDE-Derived=text/plain (i.e. ST1=text/xml, ST2=text/plain),
24 24
 then an application opening text/xml (ST1) could also open text/plain (ST2) - which is not necessarily true.
25 25
 
26 26
 We want the other way round: to be able to open special kinds of text/plain in a plain text editor.
27
-This is what X-KDE-IsAlso was introduced for. X-KDE-IsAlso kind of "works the other way" than X-KDE-Derived.
27
+This is what X-TDE-IsAlso was introduced for. X-TDE-IsAlso kind of "works the other way" than X-TDE-Derived.
28 28
 If M1 is a special kind of M2 (mimetypes), then "the ability to open M2" derives from "the ability to open M1"
29
-So we say in text/xml:  X-KDE-IsAlso=text/plain, and applications that can open text/plain can also open text/xml.
29
+So we say in text/xml:  X-TDE-IsAlso=text/plain, and applications that can open text/plain can also open text/xml.
30 30
 
31 31
 Pattern Accuracy
32 32
 ======================
33 33
 In some cases of inheritance several mimetypes shares the same extension (with the primary case being Ogg Multimedia files).
34
-This has been solved sofar by matching the extension to most generic mimetype. To indicate that the mimetype can be refined further, the flag X-KDE-PatternsAccuracy can be set. The value to X-KDE-PatternsAccuracy is a number between 0-100, with 100 being the default if not set. Any values below 100 is interpreted as the possibility of further mimetype refinement.
34
+This has been solved sofar by matching the extension to most generic mimetype. To indicate that the mimetype can be refined further, the flag X-TDE-PatternsAccuracy can be set. The value to X-TDE-PatternsAccuracy is a number between 0-100, with 100 being the default if not set. Any values below 100 is interpreted as the possibility of further mimetype refinement.

+ 8
- 8
kio/application.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=Application
3
+X-TDE-ServiceType=Application
4 4
 Name=Application
5 5
 Name[af]=Program
6 6
 Name[ar]=تطبيق
@@ -92,10 +92,10 @@ Type=bool
92 92
 [PropertyDef::DocPath]
93 93
 Type=TQString
94 94
 
95
-[PropertyDef::X-KDE-SubstituteUID]
95
+[PropertyDef::X-TDE-SubstituteUID]
96 96
 Type=bool
97 97
 
98
-[PropertyDef::X-KDE-Username]
98
+[PropertyDef::X-TDE-Username]
99 99
 Type=TQString
100 100
 
101 101
 [PropertyDef::StartupWMClass]
@@ -104,21 +104,21 @@ Type=TQString
104 104
 [PropertyDef::StartupNotify]
105 105
 Type=bool
106 106
 
107
-[PropertyDef::X-KDE-WMClass]
107
+[PropertyDef::X-TDE-WMClass]
108 108
 Type=TQString
109 109
 
110
-[PropertyDef::X-KDE-StartupNotify]
110
+[PropertyDef::X-TDE-StartupNotify]
111 111
 Type=bool
112 112
 
113 113
 [PropertyDef::X-DCOP-ServiceName]
114 114
 Type=TQString
115 115
 
116
-[PropertyDef::X-KDE-ParentApp]
116
+[PropertyDef::X-TDE-ParentApp]
117 117
 Type=TQString
118 118
 
119
-[PropertyDef::X-KDE-HasTempFileOption]
119
+[PropertyDef::X-TDE-HasTempFileOption]
120 120
 Type=bool
121 121
 
122
-[PropertyDef::X-KDE-Protocols]
122
+[PropertyDef::X-TDE-Protocols]
123 123
 Type=TQStringList
124 124
 

+ 8
- 8
kio/kcmodule.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KCModule
3
+X-TDE-ServiceType=KCModule
4 4
 Name=TDE Control Module
5 5
 Name[af]=TDE Beheer Module
6 6
 Name[ar]=وحدة تحكم كيدي
@@ -84,26 +84,26 @@ Name[zh_HK]=TDE 控制模組
84 84
 Name[zh_TW]=TDE 控制模組
85 85
 Name[zu]=Ingxenye ye-TDE Control
86 86
 
87
-[PropertyDef::X-KDE-FactoryName]
87
+[PropertyDef::X-TDE-FactoryName]
88 88
 Type=TQString
89 89
 
90
-[PropertyDef::X-KDE-RootOnly]
90
+[PropertyDef::X-TDE-RootOnly]
91 91
 Type=bool
92 92
 
93 93
 # a list of all components this KCM belongs to
94
-[PropertyDef::X-KDE-ParentComponents]
94
+[PropertyDef::X-TDE-ParentComponents]
95 95
 Type=TQStringList
96 96
 
97 97
 # the id of the parent in the TreeList
98
-[PropertyDef::X-KDE-CfgDlgHierarchy]
98
+[PropertyDef::X-TDE-CfgDlgHierarchy]
99 99
 Type=TQString
100 100
 
101 101
 # sets the order of the modules in the TreeList/IconList
102
-[PropertyDef::X-KDE-Weight]
102
+[PropertyDef::X-TDE-Weight]
103 103
 Type=int
104 104
 
105
-[PropertyDef::X-KDE-RootOnly]
105
+[PropertyDef::X-TDE-RootOnly]
106 106
 Type=bool
107 107
 
108
-[PropertyDef::X-KDE-IsHiddenByDefault]
108
+[PropertyDef::X-TDE-IsHiddenByDefault]
109 109
 Type=bool

+ 1
- 1
kio/kcomprfilter.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KDECompressionFilter
3
+X-TDE-ServiceType=KDECompressionFilter
4 4
 Name=TDE Compression Filter
5 5
 Name[af]=TDE Kompakteer Filter
6 6
 Name[az]=TDE Sıxışdırma Filtri

+ 1
- 1
kio/kdatatool.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KDataTool
3
+X-TDE-ServiceType=KDataTool
4 4
 Comment=TDE Data Tool
5 5
 Comment[af]=TDE Data Program
6 6
 Comment[ar]=أداة كيدي للبيانات

+ 3
- 3
kio/kfile/kfiledialog.cpp View File

@@ -1948,8 +1948,8 @@ void KFileDialog::updateAutoSelectExtension (void)
1948 1948
             {
1949 1949
                 KMimeType::Ptr mime = KMimeType::mimeType (filter);
1950 1950
 
1951
-                // first try X-KDE-NativeExtension
1952
-                TQString nativeExtension = mime->property ("X-KDE-NativeExtension").toString ();
1951
+                // first try X-TDE-NativeExtension
1952
+                TQString nativeExtension = mime->property ("X-TDE-NativeExtension").toString ();
1953 1953
                 if (nativeExtension.at (0) == '.')
1954 1954
                 {
1955 1955
                     d->extension = nativeExtension.lower ();
@@ -1957,7 +1957,7 @@ void KFileDialog::updateAutoSelectExtension (void)
1957 1957
                                          << d->extension << "\'" << endl;
1958 1958
                 }
1959 1959
 
1960
-                // no X-KDE-NativeExtension
1960
+                // no X-TDE-NativeExtension
1961 1961
                 if (d->extension.isEmpty ())
1962 1962
                 {
1963 1963
                     d->extension = getExtensionFromPatternList (mime->patterns ()).lower ();

+ 2
- 2
kio/kfile/kfilemetapreview.cpp View File

@@ -117,8 +117,8 @@ KPreviewWidgetBase * KFileMetaPreview::previewProviderFor( const TQString& mimeT
117 117
             parentMimeType = parentMimeInfo->parentMimeType();
118 118
         }
119 119
 
120
-        // check X-KDE-Text property
121
-        TQVariant textProperty = mimeInfo->property( "X-KDE-text" );
120
+        // check X-TDE-Text property
121
+        TQVariant textProperty = mimeInfo->property( "X-TDE-text" );
122 122
         if ( textProperty.isValid() && textProperty.type() == TQVariant::Bool )
123 123
         {
124 124
             if ( textProperty.toBool() )

+ 1
- 1
kio/kfile/kopenwith.cpp View File

@@ -768,7 +768,7 @@ void KOpenWithDlg::slotOK()
768 768
     {
769 769
       // Also make sure the "auto embed" setting for this mimetype is off
770 770
       KDesktopFile mimeDesktop( locateLocal( "mime", qServiceType + ".desktop" ) );
771
-      mimeDesktop.writeEntry( "X-KDE-AutoEmbed", false );
771
+      mimeDesktop.writeEntry( "X-TDE-AutoEmbed", false );
772 772
       mimeDesktop.sync();
773 773
     }
774 774
   }

+ 15
- 15
kio/kfile/kpropertiesdialog.cpp View File

@@ -518,8 +518,8 @@ void KPropertiesDialog::insertPages()
518 518
 
519 519
   TQString query = TQString::fromLatin1(
520 520
       "('KPropsDlg/Plugin' in ServiceTypes) and "
521
-      "((not exist [X-KDE-Protocol]) or "
522
-      " ([X-KDE-Protocol] == '%1'  )   )"          ).arg(item->url().protocol());
521
+      "((not exist [X-TDE-Protocol]) or "
522
+      " ([X-TDE-Protocol] == '%1'  )   )"          ).arg(item->url().protocol());
523 523
 
524 524
   kdDebug( 250 ) << "trader query: " << query << endl;
525 525
   KTrader::OfferList offers = KTrader::self()->query( mimetype, query );
@@ -2742,8 +2742,8 @@ KBindingPropsPlugin::KBindingPropsPlugin( KPropertiesDialog *_props ) : KPropsDl
2742 2742
   if ( !m_sMimeStr.isEmpty() )
2743 2743
     mimeEdit->setText( m_sMimeStr );
2744 2744
   cbAutoEmbed->setTristate();
2745
-  if ( config.hasKey( "X-KDE-AutoEmbed" ) )
2746
-      cbAutoEmbed->setChecked( config.readBoolEntry( "X-KDE-AutoEmbed" ) );
2745
+  if ( config.hasKey( "X-TDE-AutoEmbed" ) )
2746
+      cbAutoEmbed->setChecked( config.readBoolEntry( "X-TDE-AutoEmbed" ) );
2747 2747
   else
2748 2748
       cbAutoEmbed->setNoChange();
2749 2749
 
@@ -2804,9 +2804,9 @@ void KBindingPropsPlugin::applyChanges()
2804 2804
 		     commentEdit->text(), true, false, true ); // for compat
2805 2805
   config.writeEntry( "MimeType", mimeEdit->text() );
2806 2806
   if ( cbAutoEmbed->state() == TQButton::NoChange )
2807
-      config.deleteEntry( "X-KDE-AutoEmbed", false );
2807
+      config.deleteEntry( "X-TDE-AutoEmbed", false );
2808 2808
   else
2809
-      config.writeEntry( "X-KDE-AutoEmbed", cbAutoEmbed->isChecked() );
2809
+      config.writeEntry( "X-TDE-AutoEmbed", cbAutoEmbed->isChecked() );
2810 2810
   config.sync();
2811 2811
 }
2812 2812
 
@@ -3154,12 +3154,12 @@ KDesktopPropsPlugin::KDesktopPropsPlugin( KPropertiesDialog *_props )
3154 3154
   TQString pathStr = config.readPathEntry( "Path" );
3155 3155
   m_terminalBool = config.readBoolEntry( "Terminal" );
3156 3156
   m_terminalOptionStr = config.readEntry( "TerminalOptions" );
3157
-  m_suidBool = config.readBoolEntry( "X-KDE-SubstituteUID" );
3158
-  m_suidUserStr = config.readEntry( "X-KDE-Username" );
3157
+  m_suidBool = config.readBoolEntry( "X-TDE-SubstituteUID" );
3158
+  m_suidUserStr = config.readEntry( "X-TDE-Username" );
3159 3159
   if( config.hasKey( "StartupNotify" ))
3160 3160
     m_startupBool = config.readBoolEntry( "StartupNotify", true );
3161 3161
   else
3162
-    m_startupBool = config.readBoolEntry( "X-KDE-StartupNotify", true );
3162
+    m_startupBool = config.readBoolEntry( "X-TDE-StartupNotify", true );
3163 3163
   m_dcopServiceType = config.readEntry("X-DCOP-ServiceType").lower();
3164 3164
 
3165 3165
   TQStringList mimeTypes = config.readListEntry( "MimeType", ';' );
@@ -3395,8 +3395,8 @@ void KDesktopPropsPlugin::applyChanges()
3395 3395
 
3396 3396
   config.writeEntry("Terminal", m_terminalBool);
3397 3397
   config.writeEntry("TerminalOptions", m_terminalOptionStr);
3398
-  config.writeEntry("X-KDE-SubstituteUID", m_suidBool);
3399
-  config.writeEntry("X-KDE-Username", m_suidUserStr);
3398
+  config.writeEntry("X-TDE-SubstituteUID", m_suidBool);
3399
+  config.writeEntry("X-TDE-Username", m_suidUserStr);
3400 3400
   config.writeEntry("StartupNotify", m_startupBool);
3401 3401
   config.writeEntry("X-DCOP-ServiceType", m_dcopServiceType);
3402 3402
   config.sync();
@@ -3734,8 +3734,8 @@ KExecPropsPlugin::KExecPropsPlugin( KPropertiesDialog *_props )
3734 3734
   swallowTitleStr = config.readEntry( "SwallowTitle" );
3735 3735
   termBool = config.readBoolEntry( "Terminal" );
3736 3736
   termOptionsStr = config.readEntry( "TerminalOptions" );
3737
-  suidBool = config.readBoolEntry( "X-KDE-SubstituteUID" );
3738
-  suidUserStr = config.readEntry( "X-KDE-Username" );
3737
+  suidBool = config.readBoolEntry( "X-TDE-SubstituteUID" );
3738
+  suidUserStr = config.readEntry( "X-TDE-Username" );
3739 3739
 
3740 3740
   if ( !swallowExecStr.isNull() )
3741 3741
     swallowExecEdit->setText( swallowExecStr );
@@ -3865,8 +3865,8 @@ void KExecPropsPlugin::applyChanges()
3865 3865
       temp += TQString::fromLatin1("--noclose ");
3866 3866
   temp = temp.stripWhiteSpace();
3867 3867
   config.writeEntry( "TerminalOptions", temp );
3868
-  config.writeEntry( "X-KDE-SubstituteUID", suidCheck->isChecked() );
3869
-  config.writeEntry( "X-KDE-Username", suidEdit->text() );
3868
+  config.writeEntry( "X-TDE-SubstituteUID", suidCheck->isChecked() );
3869
+  config.writeEntry( "X-TDE-Username", suidEdit->text() );
3870 3870
 }
3871 3871
 
3872 3872
 

+ 1
- 1
kio/kfile/kpropertiesdialog.h View File

@@ -431,7 +431,7 @@ private:
431 431
  * servicetype, as well as the mimetypes for which the plugin should be created.
432 432
  * For instance, ServiceTypes=KPropsDlg/Plugin,text/html,application/x-mymimetype.
433 433
  *
434
- * You can also include X-KDE-Protocol=file if you want that plugin
434
+ * You can also include X-TDE-Protocol=file if you want that plugin
435 435
  * to be loaded only for local files, for instance.
436 436
  */
437 437
 class KIO_EXPORT KPropsDlgPlugin : public TQObject

+ 2
- 2
kio/kfile/kpropsdlgplugin.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KPropsDlg/Plugin
3
+X-TDE-ServiceType=KPropsDlg/Plugin
4 4
 Comment=Plugin for the Properties Dialog
5 5
 Comment[af]=Inprop module vir die Eienskappe Dialoog
6 6
 Comment[ar]=ملحق لمربع حوار خصائص
@@ -83,5 +83,5 @@ Comment[zh_HK]=屬性對話盒的外掛程式
83 83
 Comment[zh_TW]=屬性對話盒的外掛程式
84 84
 Comment[zu]=I-plugin Yengxoxo Yezinkomba zobunini
85 85
 
86
-[PropertyDef::X-KDE-Protocol]
86
+[PropertyDef::X-TDE-Protocol]
87 87
 Type=TQString

+ 2
- 2
kio/kfile/krecentdocument.cpp View File

@@ -108,7 +108,7 @@ void KRecentDocument::add(const KURL& url, const TQString& desktopEntryName)
108 108
         // see if it points to the same file and application
109 109
         KSimpleConfig tmp(ddesktop);
110 110
         tmp.setDesktopGroup();
111
-        if(tmp.readEntry(TQString::fromLatin1("X-KDE-LastOpenedWith"))
111
+        if(tmp.readEntry(TQString::fromLatin1("X-TDE-LastOpenedWith"))
112 112
 	   == desktopEntryName)
113 113
 	{
114 114
             utime(TQFile::encodeName(ddesktop), NULL);
@@ -140,7 +140,7 @@ void KRecentDocument::add(const KURL& url, const TQString& desktopEntryName)
140 140
     conf.writeEntry( TQString::fromLatin1("Type"), TQString::fromLatin1("Link") );
141 141
     conf.writePathEntry( TQString::fromLatin1("URL"), openStr );
142 142
     // If you change the line below, change the test in the above loop
143
-    conf.writeEntry( TQString::fromLatin1("X-KDE-LastOpenedWith"), desktopEntryName );
143
+    conf.writeEntry( TQString::fromLatin1("X-TDE-LastOpenedWith"), desktopEntryName );
144 144
     TQString name = url.fileName();
145 145
     if (name.isEmpty())
146 146
       name = openStr;

+ 1
- 1
kio/kfileplugin.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KFilePlugin
3
+X-TDE-ServiceType=KFilePlugin
4 4
 Name=KFile Meta Data Plugin
5 5
 Name[af]=Klêer Meta Data Inprop module
6 6
 Name[ar]=ملحق KFile Meta Data

+ 1
- 1
kio/kio/job.cpp View File

@@ -2115,7 +2115,7 @@ void ListJob::slotFinished()
2115 2115
     if ( m_error == KIO::ERR_IS_FILE && m_url.isLocalFile() ) {
2116 2116
         KMimeType::Ptr ptr = KMimeType::findByURL( m_url, 0, true, true );
2117 2117
         if ( ptr ) {
2118
-            TQString proto = ptr->property("X-KDE-LocalProtocol").toString();
2118
+            TQString proto = ptr->property("X-TDE-LocalProtocol").toString();
2119 2119
             if ( !proto.isEmpty() && KProtocolInfo::isKnownProtocol(proto) ) {
2120 2120
                 m_redirectionURL = m_url;
2121 2121
                 m_redirectionURL.setProtocol( proto );

+ 2
- 2
kio/kio/kfilemetainfo.cpp View File

@@ -934,10 +934,10 @@ KFilePlugin* KFileMetaInfoProvider::loadPlugin( const TQString& mimeType, const
934 934
     // We need PNG fileinfo, and trash: fileinfo, but not "PNG in the trash".
935 935
     TQString queryMimeType, query;
936 936
     if ( !mimeType.isEmpty() ) {
937
-        query = "(not exist [X-KDE-Protocol])";
937
+        query = "(not exist [X-TDE-Protocol])";
938 938
         queryMimeType = mimeType;
939 939
     } else {
940
-        query = TQString::fromLatin1( "[X-KDE-Protocol] == '%1'" ).arg(protocol);
940
+        query = TQString::fromLatin1( "[X-TDE-Protocol] == '%1'" ).arg(protocol);
941 941
         // querying for a protocol: we have no mimetype, so we need to use KFilePlugin as one
942 942
         queryMimeType = "KFilePlugin";
943 943
         // hopefully using KFilePlugin as genericMimeType too isn't a problem

+ 2
- 2
kio/kio/kfilemetainfo.h View File

@@ -1369,7 +1369,7 @@ private:
1369 1369
  * - @c Type: must be @c "Service"
1370 1370
  * - @c Name: the name of the plugin
1371 1371
  * - @c ServiceTypes: must contain @c "KFilePlugin"
1372
- * - @c X-KDE-Library: the name of the library containing the KFile plugin
1372
+ * - @c X-TDE-Library: the name of the library containing the KFile plugin
1373 1373
  * - @c MimeType: the mimetype(s) which are supported by the plugin
1374 1374
  * - @c PreferredGroups: a comma-separated list of the most important groups.
1375 1375
  *   This list defines the order in which the meta information groups should be
@@ -1385,7 +1385,7 @@ private:
1385 1385
  *  Type=Service
1386 1386
  *  Name=Foo Info
1387 1387
  *  ServiceTypes=KFilePlugin
1388
- *  X-KDE-Library=kfile_foo
1388
+ *  X-TDE-Library=kfile_foo
1389 1389
  *  MimeType=application/x-foo
1390 1390
  *  PreferredGroups=FooInfo
1391 1391
  *  PreferredItems=Items,Size

+ 14
- 14
kio/kio/kmimetype.cpp View File

@@ -334,7 +334,7 @@ KMimeType::Format KMimeType::findFormatByFileContent( const TQString &fileName )
334 334
   KMimeType::Ptr mime = findByPath(fileName);
335 335
 
336 336
   result.text = mime->name().startsWith("text/");
337
-  TQVariant v = mime->property("X-KDE-text");
337
+  TQVariant v = mime->property("X-TDE-text");
338 338
   if (v.isValid())
339 339
      result.text = v.toBool();
340 340
 
@@ -381,16 +381,16 @@ void KMimeType::init( KDesktopFile * config )
381 381
   config->setDesktopGroup();
382 382
   m_lstPatterns = config->readListEntry( "Patterns", ';' );
383 383
 
384
-  // Read the X-KDE-AutoEmbed setting and store it in the properties map
385
-  TQString XKDEAutoEmbed = TQString::fromLatin1("X-KDE-AutoEmbed");
384
+  // Read the X-TDE-AutoEmbed setting and store it in the properties map
385
+  TQString XKDEAutoEmbed = TQString::fromLatin1("X-TDE-AutoEmbed");
386 386
   if ( config->hasKey( XKDEAutoEmbed ) )
387 387
     m_mapProps.insert( XKDEAutoEmbed, TQVariant( config->readBoolEntry( XKDEAutoEmbed ), 0 ) );
388 388
 
389
-  TQString XKDEText = TQString::fromLatin1("X-KDE-text");
389
+  TQString XKDEText = TQString::fromLatin1("X-TDE-text");
390 390
   if ( config->hasKey( XKDEText ) )
391 391
     m_mapProps.insert( XKDEText, config->readBoolEntry( XKDEText ) );
392 392
 
393
-  TQString XKDEIsAlso = TQString::fromLatin1("X-KDE-IsAlso");
393
+  TQString XKDEIsAlso = TQString::fromLatin1("X-TDE-IsAlso");
394 394
   if ( config->hasKey( XKDEIsAlso ) ) {
395 395
     TQString inherits = config->readEntry( XKDEIsAlso );
396 396
     if ( inherits != name() )
@@ -399,7 +399,7 @@ void KMimeType::init( KDesktopFile * config )
399 399
         kdWarning(7009) << "Error: " << inherits << " inherits from itself!!!!" << endl;
400 400
   }
401 401
 
402
-  TQString XKDEPatternsAccuracy = TQString::fromLatin1("X-KDE-PatternsAccuracy");
402
+  TQString XKDEPatternsAccuracy = TQString::fromLatin1("X-TDE-PatternsAccuracy");
403 403
   if ( config->hasKey( XKDEPatternsAccuracy ) )
404 404
     m_mapProps.insert( XKDEPatternsAccuracy, config->readEntry( XKDEPatternsAccuracy ) );
405 405
 
@@ -552,7 +552,7 @@ TQString KMimeType::favIconForURL( const KURL& url )
552 552
 
553 553
 TQString KMimeType::parentMimeType() const
554 554
 {
555
-  TQVariant v = property("X-KDE-IsAlso");
555
+  TQVariant v = property("X-TDE-IsAlso");
556 556
   return v.toString();
557 557
 }
558 558
 
@@ -575,7 +575,7 @@ bool KMimeType::is( const TQString& mimeTypeName ) const
575 575
 }
576 576
 
577 577
 int KMimeType::patternsAccuracy() const {
578
-  TQVariant v = property("X-KDE-PatternsAccuracy");
578
+  TQVariant v = property("X-TDE-PatternsAccuracy");
579 579
   if (!v.isValid()) return 100;
580 580
   else
581 581
       return v.toInt();
@@ -880,10 +880,10 @@ pid_t KDEDesktopMimeType::runLink( const KURL& _url, const KSimpleConfig &cfg )
880 880
   KURL url ( u );
881 881
   KRun* run = new KRun(url);
882 882
 
883
-  // X-KDE-LastOpenedWith holds the service desktop entry name that
883
+  // X-TDE-LastOpenedWith holds the service desktop entry name that
884 884
   // was should be preferred for opening this URL if possible.
885 885
   // This is used by the Recent Documents menu for instance.
886
-  TQString lastOpenedWidth = cfg.readEntry( "X-KDE-LastOpenedWith" );
886
+  TQString lastOpenedWidth = cfg.readEntry( "X-TDE-LastOpenedWith" );
887 887
   if ( !lastOpenedWidth.isEmpty() )
888 888
       run->setPreferredService( lastOpenedWidth );
889 889
 
@@ -979,7 +979,7 @@ TQValueList<KDEDesktopMimeType::Service> KDEDesktopMimeType::userDefinedServices
979 979
 
980 980
   cfg.setDesktopGroup();
981 981
 
982
-  if ( !cfg.hasKey( "Actions" ) && !cfg.hasKey( "X-KDE-GetActionMenu") )
982
+  if ( !cfg.hasKey( "Actions" ) && !cfg.hasKey( "X-TDE-GetActionMenu") )
983 983
     return result;
984 984
 
985 985
   if ( cfg.hasKey( "TryExec" ) )
@@ -993,8 +993,8 @@ TQValueList<KDEDesktopMimeType::Service> KDEDesktopMimeType::userDefinedServices
993 993
 
994 994
   TQStringList keys;
995 995
 
996
-  if( cfg.hasKey( "X-KDE-GetActionMenu" )) {
997
-    TQString dcopcall = cfg.readEntry( "X-KDE-GetActionMenu" );
996
+  if( cfg.hasKey( "X-TDE-GetActionMenu" )) {
997
+    TQString dcopcall = cfg.readEntry( "X-TDE-GetActionMenu" );
998 998
     const TQCString app = TQString(dcopcall.section(' ', 0,0)).utf8();
999 999
 
1000 1000
     TQByteArray dataToSend;
@@ -1005,7 +1005,7 @@ TQValueList<KDEDesktopMimeType::Service> KDEDesktopMimeType::userDefinedServices
1005 1005
     TQCString object = TQString(dcopcall.section(' ', 1,-2)).utf8();
1006 1006
     TQString function = dcopcall.section(' ', -1);
1007 1007
     if(!function.endsWith("(KURL::List)")) {
1008
-      kdWarning() << "Desktop file " << path << " contains an invalid X-KDE-ShowIfDcopCall - the function must take the exact parameter (KURL::List) and must be specified." << endl;
1008
+      kdWarning() << "Desktop file " << path << " contains an invalid X-TDE-ShowIfDcopCall - the function must take the exact parameter (KURL::List) and must be specified." << endl;
1009 1009
     } else {
1010 1010
       if(kapp->dcopClient()->call( app, object,
1011 1011
                    function.utf8(),

+ 2
- 2
kio/kio/kmimetype.h View File

@@ -406,7 +406,7 @@ public:
406 406
    * return the name of the parent.
407 407
    *
408 408
    * For instance a text/x-log is a special kind of text/plain,
409
-   * so the definition of text/x-log can say "X-KDE-IsAlso=text/plain".
409
+   * so the definition of text/x-log can say "X-TDE-IsAlso=text/plain".
410 410
    * Or an smb-workgroup is a special kind of inode/directory, etc.
411 411
    * This mechanism can also be used to rename mimetypes and preserve compat.
412 412
    *
@@ -570,7 +570,7 @@ public:
570 570
   /**
571 571
    * Overload of userDefinedServices but also allows you to pass a list of urls for this file.
572 572
    * This allows for the menu to be changed depending on the exact files via
573
-   * the X-KDE-GetActionMenu extension.
573
+   * the X-TDE-GetActionMenu extension.
574 574
    * @since 3.5
575 575
    */
576 576
   static TQValueList<Service> userDefinedServices( const TQString& path, KConfig& config, bool bLocalFiles,  const KURL::List & file_list);

+ 5
- 5
kio/kio/krun.cpp View File

@@ -406,7 +406,7 @@ TQStringList KRun::processDesktopExec(const KService &_service, const KURL::List
406 406
   // FIXME: the current way of invoking kioexec disables term and su use
407 407
 
408 408
   // Check if we need "tempexec" (kioexec in fact)
409
-  appHasTempFileOption = tempFiles && _service.property("X-KDE-HasTempFileOption").toBool();
409
+  appHasTempFileOption = tempFiles && _service.property("X-TDE-HasTempFileOption").toBool();
410 410
   if( tempFiles && !appHasTempFileOption && _urls.size() ) {
411 411
     result << "kioexec" << "--tempfiles" << exec;
412 412
     result += _urls.toStringList();
@@ -616,10 +616,10 @@ bool KRun::checkStartupNotify( const TQString& /*binName*/, const KService* serv
616 616
       silent = !service->property( "StartupNotify" ).toBool();
617 617
       wmclass = service->property( "StartupWMClass" ).toString().latin1();
618 618
   }
619
-  else if( service && service->property( "X-KDE-StartupNotify" ).isValid())
619
+  else if( service && service->property( "X-TDE-StartupNotify" ).isValid())
620 620
   {
621
-      silent = !service->property( "X-KDE-StartupNotify" ).toBool();
622
-      wmclass = service->property( "X-KDE-WMClass" ).toString().latin1();
621
+      silent = !service->property( "X-TDE-StartupNotify" ).toBool();
622
+      wmclass = service->property( "X-TDE-WMClass" ).toString().latin1();
623 623
   }
624 624
   else // non-compliant app
625 625
   {
@@ -698,7 +698,7 @@ static KURL::List resolveURLs( const KURL::List& _urls, const KService& _service
698 698
 {
699 699
   // Check which protocols the application supports.
700 700
   // This can be a list of actual protocol names, or just KIO for KDE apps.
701
-  TQStringList supportedProtocols = _service.property("X-KDE-Protocols").toStringList();
701
+  TQStringList supportedProtocols = _service.property("X-TDE-Protocols").toStringList();
702 702
   KRunMX1 mx1( _service );
703 703
   TQString exec = _service.exec();
704 704
   if ( mx1.expandMacrosShellQuote( exec ) && !mx1.hasUrls ) {

+ 2
- 2
kio/kio/krun.h View File

@@ -165,7 +165,7 @@ public:
165 165
    * Set the preferred service for opening this URL, after
166 166
    * its mimetype will have been found by KRun. IMPORTANT: the service is
167 167
    * only used if its configuration says it can handle this mimetype.
168
-   * This is used for instance for the X-KDE-LastOpenedWith key, for
168
+   * This is used for instance for the X-TDE-LastOpenedWith key, for
169 169
    * the recent documents list.
170 170
    * @param desktopEntryName the desktopEntryName of the service, e.g. "kate".
171 171
    */
@@ -374,7 +374,7 @@ public:
374 374
    * -# The mime type must inherit application/x-executable or application/x-executable-script.
375 375
    * To allow a script to run when the above rules are satisfied add the entry
376 376
    * @code
377
-   * X-KDE-IsAlso=application/x-executable-script
377
+   * X-TDE-IsAlso=application/x-executable-script
378 378
    * @endcode
379 379
    * to the mimetype's desktop file.
380 380
    * @since 3.3

+ 10
- 10
kio/kio/kservice.cpp View File

@@ -199,7 +199,7 @@ KService::init( KDesktopFile *config )
199 199
   m_strExec = config->readPathEntry( "Exec" );
200 200
   if (kde4application && !m_strExec.startsWith("/")) {
201 201
     m_strExec = "TDEHOME=$HOME/.kde XDG_DATA_DIRS=/usr/share TDEDIRS=/usr/ XDG_CONFIG_DIRS=/etc/xdg/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$PATH "+m_strExec;
202
-  } else if (config->readBoolEntry("X-KDE-SubstituteUID")) {
202
+  } else if (config->readBoolEntry("X-TDE-SubstituteUID")) {
203 203
     int space = m_strExec.find(" ");
204 204
     if (space==-1)
205 205
       m_strExec = KStandardDirs::findExe(m_strExec);
@@ -241,10 +241,10 @@ KService::init( KDesktopFile *config )
241 241
   entryMap.remove("Keywords");
242 242
   d->categories = config->readListEntry("Categories", ';');
243 243
   entryMap.remove("Categories");
244
-  m_strLibrary = config->readEntry( "X-KDE-Library" );
245
-  entryMap.remove("X-KDE-Library");
246
-  m_strInit = config->readEntry("X-KDE-Init" );
247
-  entryMap.remove("X-KDE-Init");
244
+  m_strLibrary = config->readEntry( "X-TDE-Library" );
245
+  entryMap.remove("X-TDE-Library");
246
+  m_strInit = config->readEntry("X-TDE-Init" );
247
+  entryMap.remove("X-TDE-Init");
248 248
 
249 249
   m_lstServiceTypes = config->readListEntry( "ServiceTypes" );
250 250
   entryMap.remove("ServiceTypes");
@@ -275,8 +275,8 @@ KService::init( KDesktopFile *config )
275 275
   m_bAllowAsDefault = config->readBoolEntry( "AllowDefault", true );
276 276
   entryMap.remove("AllowDefault");
277 277
 
278
-  m_initialPreference = config->readNumEntry( "X-KDE-InitialPreference", 1 );
279
-  entryMap.remove("X-KDE-InitialPreference");
278
+  m_initialPreference = config->readNumEntry( "X-TDE-InitialPreference", 1 );
279
+  entryMap.remove("X-TDE-InitialPreference");
280 280
   if ( m_initialPreference == 1 )
281 281
      m_initialPreference = config->readNumEntry( "InitialPreference", 1 );
282 282
   entryMap.remove("InitialPreference");
@@ -703,14 +703,14 @@ KService::List KService::allInitServices()
703 703
 }
704 704
 
705 705
 bool KService::substituteUid() const {
706
-  TQVariant v = property("X-KDE-SubstituteUID", TQVariant::Bool);
706
+  TQVariant v = property("X-TDE-SubstituteUID", TQVariant::Bool);
707 707
   return v.isValid() && v.toBool();
708 708
 }
709 709
 
710 710
 TQString KService::username() const {
711 711
   // See also KDesktopFile::tryExec()
712 712
   TQString user;
713
-  TQVariant v = property("X-KDE-Username", TQVariant::String);
713
+  TQVariant v = property("X-TDE-Username", TQVariant::String);
714 714
   user = v.isValid() ? v.toString() : TQString::null;
715 715
   if (user.isEmpty())
716 716
      user = ::getenv("ADMIN_ACCOUNT");
@@ -772,7 +772,7 @@ bool KService::SuSEunimportant() const {
772 772
 }
773 773
 
774 774
 TQString KService::parentApp() const {
775
-  TQMap<TQString,TQVariant>::ConstIterator it = m_mapProps.find( "X-KDE-ParentApp" );
775
+  TQMap<TQString,TQVariant>::ConstIterator it = m_mapProps.find( "X-TDE-ParentApp" );
776 776
   if ( (it == m_mapProps.end()) || (!it.data().isValid()))
777 777
   {
778 778
      return TQString::null;

+ 1
- 1
kio/kio/kservicefactory.h View File

@@ -82,7 +82,7 @@ public:
82 82
   KService::List allServices();
83 83
 
84 84
   /**
85
-   * @return all services which have a "X-KDE-Init" line.
85
+   * @return all services which have a "X-TDE-Init" line.
86 86
    */
87 87
   KService::List allInitServices();
88 88
 

+ 2
- 2
kio/kio/kservicegroup.cpp View File

@@ -93,8 +93,8 @@ KServiceGroup::KServiceGroup( const TQString &configFile, const TQString & _relp
93 93
         d->m_bNoDisplay = true;
94 94
   }
95 95
 
96
-  m_strBaseGroupName = config.readEntry( "X-KDE-BaseGroup" );
97
-  d->suppressGenericNames = config.readListEntry( "X-KDE-SuppressGenericNames" );
96
+  m_strBaseGroupName = config.readEntry( "X-TDE-BaseGroup" );
97
+  d->suppressGenericNames = config.readListEntry( "X-TDE-SuppressGenericNames" );
98 98
   d->sortOrder = config.readListEntry("SortOrder");
99 99
 
100 100
   // Fill in defaults.

+ 2
- 2
kio/kio/kservicegroup.h View File

@@ -257,7 +257,7 @@ public:
257 257
    * and "System/Screensavers/" is the screensavers base group ("screensavers").
258 258
    * This allows moving the groups without breaking those apps.
259 259
    *
260
-   * The base group is defined by the X-KDE-BaseGroup key
260
+   * The base group is defined by the X-TDE-BaseGroup key
261 261
    * in the .directory file.
262 262
    * @return the base group name, or null if no base group
263 263
    */
@@ -291,7 +291,7 @@ public:
291 291
   static Ptr group(const TQString &relPath);
292 292
 
293 293
   /**
294
-   * Returns the group of services that have X-KDE-ParentApp equal
294
+   * Returns the group of services that have X-TDE-ParentApp equal
295 295
    * to @p parent (siblings).
296 296
    * @param parent the name of the service's parent
297 297
    * @return the services group

+ 5
- 5
kio/kio/kservicetype.cpp View File

@@ -63,7 +63,7 @@ KServiceType::init( KDesktopFile *config)
63 63
   // Or is it a servicetype ?
64 64
   if ( m_strName.isEmpty() )
65 65
   {
66
-    m_strName = config->readEntry( "X-KDE-ServiceType" );
66
+    m_strName = config->readEntry( "X-TDE-ServiceType" );
67 67
   }
68 68
 
69 69
   m_strComment = config->readComment();
@@ -72,10 +72,10 @@ KServiceType::init( KDesktopFile *config)
72 72
 
73 73
   // We store this as property to preserve BC, we can't change that
74 74
   // because KSycoca needs to remain BC between KDE 2.x and KDE 3.x
75
-  TQString sDerived = config->readEntry( "X-KDE-Derived" );
75
+  TQString sDerived = config->readEntry( "X-TDE-Derived" );
76 76
   m_bDerived = !sDerived.isEmpty();
77 77
   if ( m_bDerived )
78
-    m_mapProps.insert( "X-KDE-Derived", sDerived );
78
+    m_mapProps.insert( "X-TDE-Derived", sDerived );
79 79
 
80 80
   TQStringList tmpList = config->groupList();
81 81
   TQStringList::Iterator gIt = tmpList.begin();
@@ -129,7 +129,7 @@ KServiceType::load( TQDataStream& _str )
129 129
   _str >> m_strName >> m_strIcon >> m_strComment >> m_mapProps >> m_mapPropDefs
130 130
        >> b;
131 131
   m_bValid = b;
132
-  m_bDerived = m_mapProps.contains("X-KDE-Derived");
132
+  m_bDerived = m_mapProps.contains("X-TDE-Derived");
133 133
 }
134 134
 
135 135
 void
@@ -150,7 +150,7 @@ KServiceType::~KServiceType()
150 150
 
151 151
 TQString KServiceType::parentServiceType() const
152 152
 {
153
-  TQVariant v = property("X-KDE-Derived");
153
+  TQVariant v = property("X-TDE-Derived");
154 154
   return v.toString();
155 155
 }
156 156
 

+ 5
- 5
kio/kio/ktrader.h View File

@@ -68,13 +68,13 @@
68 68
  * Please note that when including property names containing arithmetic operators like - or +, then you have
69 69
  * to put brackets around the property name, in order to correctly separate arithmetic operations from
70 70
  * the name. So for example a constraint expression like
71
- *  X-KDE-Blah < 4
71
+ *  X-TDE-Blah < 4
72 72
  * needs to be written as
73
- * [X-KDE-Blah] < 4
73
+ * [X-TDE-Blah] < 4
74 74
  * otherwise it could also be interpreted as
75 75
  * Substract the numeric value of the property "KDE" and "Blah" from the property "X" and make sure it
76 76
  * is less than 4.
77
- * Instead of the other meaning, make sure that the numeric value of "X-KDE-Blah" is less than 4.
77
+ * Instead of the other meaning, make sure that the numeric value of "X-TDE-Blah" is less than 4.
78 78
  *
79 79
  * See also the formal syntax defined in @ref tradersyntax .
80 80
  *
@@ -202,7 +202,7 @@ protected:
202 202
  * list of the service types it supports. Note that only properties can
203 203
  * be written as-is which start with an alphabetical character and contain
204 204
  * only alphanumerical characters. Other properties have to be enclosed in
205
- * brackets, e.g. <tt>[X-KDE-Init]</tt>. Properties must not contain any
205
+ * brackets, e.g. <tt>[X-TDE-Init]</tt>. Properties must not contain any
206 206
  * special characters other than <tt>-</tt>.
207 207
  *
208 208
  * Special property names:
@@ -214,7 +214,7 @@ protected:
214 214
  *     here for completeness, better not use it (things can be moved
215 215
  *     around).
216 216
  *   - <b>Library</b> is the property whose value is set by
217
- *     <tt>X-KDE-Library</tt> in the .desktop file. This renaming
217
+ *     <tt>X-TDE-Library</tt> in the .desktop file. This renaming
218 218
  *     happened to conform to the desktop file standard, but the
219 219
  *     property name didn't change.
220 220
  *

+ 2
- 2
kio/kio/previewjob.cpp View File

@@ -208,9 +208,9 @@ void PreviewJob::startPreview()
208 208
 
209 209
             if (plugin == mimeMap.end())
210 210
             {
211
-                // check X-KDE-Text property
211
+                // check X-TDE-Text property
212 212
                 KMimeType::Ptr mimeInfo = KMimeType::mimeType(it.current()->mimetype());
213
-                TQVariant textProperty = mimeInfo->property("X-KDE-text");
213
+                TQVariant textProperty = mimeInfo->property("X-TDE-text");
214 214
                 if (textProperty.isValid() && textProperty.type() == TQVariant::Bool)
215 215
                 {
216 216
                     if (textProperty.toBool())

+ 1
- 1
kio/kio/thumbcreator.h View File

@@ -65,7 +65,7 @@ class TQImage;
65 65
  * ServiceTypes=ThumbCreator
66 66
  * MimeTypes=application/x-somemimetype
67 67
  * CacheThumbnail=true
68
- * X-KDE-Library=yourthumbcreator
68
+ * X-TDE-Library=yourthumbcreator
69 69
  * \endcode
70 70
  *
71 71
  * You can supply a comma-separated list of mimetypes to the MimeTypes entry,

+ 5
- 5
kio/kpasswdserver.desktop View File

@@ -150,8 +150,8 @@ Comment[zh_CN]=密码缓存支持
150 150
 Comment[zh_HK]=密碼暫存支援
151 151
 Comment[zh_TW]=密碼暫存(cache)支援
152 152
 ServiceTypes=KDEDModule
153
-X-KDE-ModuleType=Library
154
-X-KDE-Library=kpasswdserver
155
-X-KDE-FactoryName=kpasswdserver
156
-X-KDE-Kded-autoload=false
157
-X-KDE-Kded-load-on-demand=true
153
+X-TDE-ModuleType=Library
154
+X-TDE-Library=kpasswdserver
155
+X-TDE-FactoryName=kpasswdserver
156
+X-TDE-Kded-autoload=false
157
+X-TDE-Kded-load-on-demand=true

+ 1
- 1
kio/kscan.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KScan/KScanDialog
3
+X-TDE-ServiceType=KScan/KScanDialog
4 4
 Name=KScan
5 5
 Name[bn]=কে-স্ক্যান
6 6
 Name[cy]=KSgan

+ 1
- 1
kio/kurifilterplugin.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KURIFilter/Plugin
3
+X-TDE-ServiceType=KURIFilter/Plugin
4 4
 Name=Enhanced Browsing Plugin
5 5
 Name[af]=Verbeterde Blaaiïng Inprop module
6 6
 Name[ar]=ملحقات التصفح المحسن

+ 1
- 1
kio/misc/kio_uiserver.desktop View File

@@ -97,4 +97,4 @@ Comment[zu]=Umlekeleli we-UI Yolwazi Lwenqubo lwe-TDE
97 97
 ServiceTypes=
98 98
 # It is a server
99 99
 X-DCOP-ServiceType=Unique
100
-X-KDE-StartupNotify=false
100
+X-TDE-StartupNotify=false

+ 5
- 5
kio/misc/kpac/proxyscout.desktop View File

@@ -124,8 +124,8 @@ Comment[zh_CN]=自动代理配置
124 124
 Comment[zh_HK]=自動代理伺服器組態
125 125
 Comment[zh_TW]=自動代理組態
126 126
 ServiceTypes=KDEDModule
127
-X-KDE-ModuleType=Library
128
-X-KDE-Library=proxyscout
129
-X-KDE-FactoryName=proxyscout
130
-X-KDE-Kded-autoload=false
131
-X-KDE-Kded-load-on-demand=true
127
+X-TDE-ModuleType=Library
128
+X-TDE-Library=proxyscout
129
+X-TDE-FactoryName=proxyscout
130
+X-TDE-Kded-autoload=false
131
+X-TDE-Kded-load-on-demand=true

+ 5
- 5
kio/misc/kssld/kssld.desktop View File

@@ -1,11 +1,11 @@
1 1
 [Desktop Entry]
2 2
 Type=Service
3 3
 ServiceTypes=KDEDModule
4
-X-KDE-ModuleType=Library
5
-X-KDE-Library=kssld
6
-X-KDE-FactoryName=kssld
7
-X-KDE-Kded-autoload=false
8
-X-KDE-Kded-load-on-demand=true
4
+X-TDE-ModuleType=Library
5
+X-TDE-Library=kssld
6
+X-TDE-FactoryName=kssld
7
+X-TDE-Kded-autoload=false
8
+X-TDE-Kded-load-on-demand=true
9 9
 Name=KSSL Daemon Module
10 10
 Name[af]=Kssl Bediener Module
11 11
 Name[ar]=وحدة مراقب KSSL

+ 5
- 5
kio/misc/kwalletd/kwalletd.desktop View File

@@ -1,11 +1,11 @@
1 1
 [Desktop Entry]
2 2
 Type=Service
3 3
 ServiceTypes=KDEDModule
4
-X-KDE-ModuleType=Library
5
-X-KDE-Library=kwalletd
6
-X-KDE-FactoryName=kwalletd
7
-X-KDE-Kded-autoload=false
8
-X-KDE-Kded-load-on-demand=true
4
+X-TDE-ModuleType=Library
5
+X-TDE-Library=kwalletd
6
+X-TDE-FactoryName=kwalletd
7
+X-TDE-Kded-autoload=false
8
+X-TDE-Kded-load-on-demand=true
9 9
 Name=KWallet Daemon Module
10 10
 Name[af]=KBeursie Bediener Module
11 11
 Name[ar]=مراقب وحدة KWallet

+ 1
- 1
kio/renamedlgplugin.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=RenameDlg/Plugin
3
+X-TDE-ServiceType=RenameDlg/Plugin
4 4
 Comment=Plugin for the Rename Dialog
5 5
 Comment[af]=Inplak vir die Herbenaam Dialoog
6 6
 Comment[ar]=ملحق لمربع حوار إعادة التسمية

+ 1
- 1
kio/tests/dummymeta.desktop View File

@@ -49,6 +49,6 @@ Name[zh_CN]=哑元
49 49
 Name[zh_HK]=空的資料定義
50 50
 Name[zh_TW]=空的資料定義
51 51
 ServiceTypes=KFilePlugin
52
-X-KDE-Library=dummymeta
52
+X-TDE-Library=dummymeta
53 53
 MimeType=text/plain
54 54
 PreferredItems=Author,Title,Date

+ 1
- 1
kio/tests/kruntest.cpp View File

@@ -140,7 +140,7 @@ int main(int argc, char **argv)
140 140
   static const char
141 141
     *execs[] = { "Exec=date -u", "Exec=echo $$PWD" },
142 142
     *terms[] = { "Terminal=false", "Terminal=true\nTerminalOptions=-T \"%f - %c\"" },
143
-    *sus[] = { "X-KDE-SubstituteUID=false", "X-KDE-SubstituteUID=true\nX-KDE-Username=sprallo" },
143
+    *sus[] = { "X-TDE-SubstituteUID=false", "X-TDE-SubstituteUID=true\nX-TDE-Username=sprallo" },
144 144
     *rslts[] = {
145 145
 "'date' '-u'", // 0
146 146
 "'/bin/sh' '-c' 'echo $PWD '", // 1

+ 1
- 1
kioslave/bzip2/kbzip2filter.desktop View File

@@ -82,5 +82,5 @@ Name[zh_CN]=BZip2 过滤程序
82 82
 Name[zh_HK]=BZip2 過濾器
83 83
 Name[zh_TW]=BZip2 過濾器
84 84
 Name[zu]=Ihluzo le-BZip2
85
-X-KDE-Library=kbzip2filter
85
+X-TDE-Library=kbzip2filter
86 86
 ServiceTypes=KDECompressionFilter,application/x-bzip2,application/x-tbz

+ 1
- 1
kioslave/gzip/kgzipfilter.desktop View File

@@ -82,5 +82,5 @@ Name[zh_CN]=GZip 过滤程序
82 82
 Name[zh_HK]=GZip 過濾器
83 83
 Name[zh_TW]=GZip 過濾器
84 84
 Name[zu]=Ihluzo le-GZip
85
-X-KDE-Library=kgzipfilter
85
+X-TDE-Library=kgzipfilter
86 86
 ServiceTypes=KDECompressionFilter,application/x-gzip,application/x-tgz

+ 1
- 1
kioslave/http/http_cache_cleaner.desktop View File

@@ -165,4 +165,4 @@ Comment[zh_CN]=从 HTTP 缓存中清除旧条目
165 165
 Comment[zh_HK]=從 HTTP 快取中清除舊的項目
166 166
 Comment[zh_TW]=從 HTTP 快取中清除舊的項目
167 167
 Comment[zu]=Ihlanza izingeniso ezindalam ezisuka kwi-cache ye-HTTP
168
-X-KDE-StartupNotify=false
168
+X-TDE-StartupNotify=false

+ 6
- 6
kioslave/http/kcookiejar/kcookiejar.desktop View File

@@ -149,9 +149,9 @@ Comment[zh_TW]=追蹤系統所有的 cookies
149 149
 ServiceTypes=KDEDModule
150 150
 Exec=kcookiejar
151 151
 X-DCOP-ServiceType=Unique
152
-X-KDE-StartupNotify=false
153
-X-KDE-ModuleType=Library
154
-X-KDE-Library=kcookiejar
155
-X-KDE-FactoryName=kcookiejar
156
-X-KDE-Kded-autoload=false
157
-X-KDE-Kded-load-on-demand=true
152
+X-TDE-StartupNotify=false
153
+X-TDE-ModuleType=Library
154
+X-TDE-Library=kcookiejar
155
+X-TDE-FactoryName=kcookiejar
156
+X-TDE-Kded-autoload=false
157
+X-TDE-Kded-load-on-demand=true

+ 1
- 1
kioslave/iso/kio_iso.desktop View File

@@ -10,4 +10,4 @@ Name=ISO9660 Image Viewer
10 10
 Name[hu]=ISO9660 Nézet
11 11
 Name[fr]=Lecteur ISO9660
12 12
 X-DCOP-ServiceType=None
13
-Categories=Qt;KDE;System;
13
+Categories=Qt;TDE;System;

+ 15
- 15
kparts/browserview.desktop View File

@@ -1,7 +1,7 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=Browser/View
4
-X-KDE-Derived=KParts/ReadOnlyPart
3
+X-TDE-ServiceType=Browser/View
4
+X-TDE-Derived=KParts/ReadOnlyPart
5 5
 Name=Browser View
6 6
 Name[af]=Blaaier Besigtig
7 7
 Name[ar]=عرض تصفحي
@@ -85,58 +85,58 @@ Name[zh_TW]=瀏覽器視圖
85 85
 Name[zu]=Umbonisi Womgcingi
86 86
 
87 87
 # Arguments passed to the factory (e.g. view sub-type)
88
-[PropertyDef::X-KDE-BrowserView-Args]
88
+[PropertyDef::X-TDE-BrowserView-Args]
89 89
 Type=TQString
90 90
 
91 91
 # If false, this component won't be used when clicking on a file,
92 92
 # the user will have to use "Embed in..." to use it (or the application
93 93
 # will have to explicitely embed this particular service, like for the sidebar)
94
-[PropertyDef::X-KDE-BrowserView-AllowAsDefault]
94
+[PropertyDef::X-TDE-BrowserView-AllowAsDefault]
95 95
 Type=bool
96 96
 
97 97
 # If true, this component won't appear in the "Embed in..." popupmenu
98
-[PropertyDef::X-KDE-BrowserView-HideFromMenus]
98
+[PropertyDef::X-TDE-BrowserView-HideFromMenus]
99 99
 Type=bool
100 100
 
101 101
 # If true, the view will have its "linked" checkbox checked in Konqueror
102 102
 # (Was initially for the sidebar, but it's a FollowActive nowadays)
103
-[PropertyDef::X-KDE-BrowserView-LinkedView]
103
+[PropertyDef::X-TDE-BrowserView-LinkedView]
104 104
 Type=bool
105 105
 
106 106
 # If true, this view shows a hierarchical view, i.e. more than one dir at a time
107 107
 # This is used by KonqPopupMenu to know whether to offer "Create Directory"
108 108
 # in the RMB menu on a directory (since it depends on whether the user would
109 109
 # see that new dir).
110
-[PropertyDef::X-KDE-BrowserView-HierarchicalView]
110
+[PropertyDef::X-TDE-BrowserView-HierarchicalView]
111 111
 Type=bool
112 112
 
113 113
 # If true, the view is passive (can't be made the current active view)
114
-[PropertyDef::X-KDE-BrowserView-PassiveMode]
114
+[PropertyDef::X-TDE-BrowserView-PassiveMode]
115 115
 Type=bool
116 116
 
117 117
 # If true, the view can only be there 0 or 1 time in a given window,
118 118
 # and a toggle action for it will be created (examples: sidebar, konsolepart)
119
-[PropertyDef::X-KDE-BrowserView-Toggable]
119
+[PropertyDef::X-TDE-BrowserView-Toggable]
120 120
 Type=bool
121 121
 
122 122
 # If the view is toggable, this defines its orientation (Horizontal or Vertical)
123
-[PropertyDef::X-KDE-BrowserView-ToggableView-Orientation]
123
+[PropertyDef::X-TDE-BrowserView-ToggableView-Orientation]
124 124
 Type=TQString
125 125
 
126 126
 # The name of the property in the view, which the application should set
127 127
 # in order to quickly switch the view mode (only meaningful in views that
128 128
 # support multiple modes in the same widget, like the iconview)
129
-[PropertyDef::X-KDE-BrowserView-ModeProperty]
129
+[PropertyDef::X-TDE-BrowserView-ModeProperty]
130 130
 Type=TQString
131 131
 
132 132
 # The value to set for the above property
133
-[PropertyDef::X-KDE-BrowserView-ModePropertyValue]
133
+[PropertyDef::X-TDE-BrowserView-ModePropertyValue]
134 134
 Type=TQString
135 135
 
136 136
 # If true, this view will always "follow the active view" (and vice versa:
137 137
 # when the active view goes to another url, this view will follow).
138 138
 # Mostly used by the sidebar.
139
-[PropertyDef::X-KDE-BrowserView-FollowActive]
139
+[PropertyDef::X-TDE-BrowserView-FollowActive]
140 140
 Type=bool
141 141
 
142 142
 # If this property is set, this view is "builtin" to the application using it
@@ -146,12 +146,12 @@ Type=bool
146 146
 # that this view was used last. We don't want special-purpose views
147 147
 # (like Cervisia) to be reactivated (possibly on another directory) next time
148 148
 # (famous bug).
149
-[PropertyDef::X-KDE-BrowserView-Built-Into]
149
+[PropertyDef::X-TDE-BrowserView-Built-Into]
150 150
 Type=TQString
151 151
 
152 152
 # If the part has a plugin for KHTML Javascript's window.navigator.plugins
153 153
 # array, it should create a plugin info file and set this propery to the
154 154
 # file path here. The path should be relative to KDE's data dir
155 155
 # ($TDEDIR/share/apps)
156
-[PropertyDef::X-KDE-BrowserView-PluginsInfo]
156
+[PropertyDef::X-TDE-BrowserView-PluginsInfo]
157 157
 Type=TQString

+ 1
- 1
kparts/kpart.desktop View File

@@ -1,6 +1,6 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KPart
3
+X-TDE-ServiceType=KPart
4 4
 Comment=TDE Component
5 5
 Comment[af]=Tde Komponent
6 6
 Comment[ar]=عنصر كيدي

+ 2
- 2
kparts/krop.desktop View File

@@ -1,7 +1,7 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KParts/ReadOnlyPart
4
-X-KDE-Derived=KPart
3
+X-TDE-ServiceType=KParts/ReadOnlyPart
4
+X-TDE-Derived=KPart
5 5
 Comment=TDE Component
6 6
 Comment[af]=Tde Komponent
7 7
 Comment[ar]=عنصر كيدي

+ 2
- 2
kparts/krwp.desktop View File

@@ -1,7 +1,7 @@
1 1
 [Desktop Entry]
2 2
 Type=ServiceType
3
-X-KDE-ServiceType=KParts/ReadWritePart
4
-X-KDE-Derived=KParts/ReadOnlyPart
3
+X-TDE-ServiceType=KParts/ReadWritePart
4
+X-TDE-Derived=KParts/ReadOnlyPart
5 5
 Comment=TDE Component
6 6
 Comment[af]=Tde Komponent
7 7
 Comment[ar]=عنصر كيدي

+ 1
- 1
kparts/plugin.cpp View File

@@ -259,7 +259,7 @@ void Plugin::loadPlugins( TQObject *parent, KXMLGUIClient* parentGUIClient, KIns
259 259
                 KSimpleConfig desktop( desktopfile, true );
260 260
                 desktop.setDesktopGroup();
261 261
                 pluginEnabled = desktop.readBoolEntry(
262
-                    "X-KDE-PluginInfo-EnabledByDefault", enableNewPluginsByDefault );
262
+                    "X-TDE-PluginInfo-EnabledByDefault", enableNewPluginsByDefault );
263 263
             }
264 264
             else
265 265
             {

+ 1
- 1
kparts/plugin.h View File

@@ -115,7 +115,7 @@ public:
115 115
      * plugins are enabled and which are disabled. What happens by default (i.e.
116 116
      * for new plugins that are not in that config file) is controlled by
117 117
      * @p enableNewPluginsByDefault. It can be overridden by the plugin if it
118
-     * sets the X-KDE-PluginInfo-EnabledByDefault key in the .desktop file
118
+     * sets the X-TDE-PluginInfo-EnabledByDefault key in the .desktop file
119 119
      * (with the same name as the .rc file)
120 120
      *
121 121
      * If a disabled plugin is already loaded it will be removed from the GUI

+ 1
- 1
kparts/tests/notepad.desktop View File

@@ -82,5 +82,5 @@ Name[zh_TW]=記事本(範例)
82 82
 Name[zu]=Incwadi yokubhala (umfanekiso)
83 83
 MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
84 84
 ServiceTypes=KParts/ReadOnlyPart
85
-X-KDE-Library=libnotepadpart
85
+X-TDE-Library=libnotepadpart
86 86
 Type=Service

+ 2
- 2
kresources/configpage.cpp View File

@@ -178,7 +178,7 @@ void ConfigPage::load()
178 178
   KTrader::OfferList::ConstIterator it = plugins.begin();
179 179
   KTrader::OfferList::ConstIterator end = plugins.end();
180 180
   for ( ; it != end; ++it ) {
181
-    const TQString family = (*it)->property( "X-KDE-ResourceFamily" ).toString();
181
+    const TQString family = (*it)->property( "X-TDE-ResourceFamily" ).toString();
182 182
     if ( compatFamilyNames.find( family ) == compatFamilyNames.end() )
183 183
         compatFamilyNames.append( family );
184 184
   }
@@ -188,7 +188,7 @@ void ConfigPage::load()
188 188
   for( m_it = managers.begin(); m_it != managers.end(); ++m_it ) {
189 189
     TQString displayName = (*m_it)->property( "Name" ).toString();
190 190
     familyDisplayNames.append( displayName );
191
-    TQString family = (*m_it)->property( "X-KDE-ResourceFamily" ).toString();
191
+    TQString family = (*m_it)->property( "X-TDE-ResourceFamily" ).toString();
192 192
     if ( !family.isEmpty() ) {
193 193
       compatFamilyNames.remove( family );
194 194
       mFamilyMap.append( family );

+ 0
- 0
kresources/factory.cpp View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save