summaryrefslogtreecommitdiffstats
path: root/kresources
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:51:46 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:51:46 -0500
commit6ed1ea98db6b1b369e7561efcc2c666b810e5446 (patch)
tree69da6d265387965c04a9584547ec42d4d372717d /kresources
parent09d01cacf80d21ad213e6520b35e7f06e9546a83 (diff)
downloadtdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.tar.gz
tdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'kresources')
-rw-r--r--kresources/configpage.cpp4
-rw-r--r--kresources/factory.cpp4
-rw-r--r--kresources/kresources.desktop10
-rw-r--r--kresources/kresources_manager.desktop4
-rw-r--r--kresources/kresources_plugin.desktop6
-rw-r--r--kresources/resource.h2
6 files changed, 15 insertions, 15 deletions
diff --git a/kresources/configpage.cpp b/kresources/configpage.cpp
index 660455143..a3db58de6 100644
--- a/kresources/configpage.cpp
+++ b/kresources/configpage.cpp
@@ -178,7 +178,7 @@ void ConfigPage::load()
KTrader::OfferList::ConstIterator it = plugins.begin();
KTrader::OfferList::ConstIterator end = plugins.end();
for ( ; it != end; ++it ) {
- const TQString family = (*it)->property( "X-KDE-ResourceFamily" ).toString();
+ const TQString family = (*it)->property( "X-TDE-ResourceFamily" ).toString();
if ( compatFamilyNames.find( family ) == compatFamilyNames.end() )
compatFamilyNames.append( family );
}
@@ -188,7 +188,7 @@ void ConfigPage::load()
for( m_it = managers.begin(); m_it != managers.end(); ++m_it ) {
TQString displayName = (*m_it)->property( "Name" ).toString();
familyDisplayNames.append( displayName );
- TQString family = (*m_it)->property( "X-KDE-ResourceFamily" ).toString();
+ TQString family = (*m_it)->property( "X-TDE-ResourceFamily" ).toString();
if ( !family.isEmpty() ) {
compatFamilyNames.remove( family );
mFamilyMap.append( family );
diff --git a/kresources/factory.cpp b/kresources/factory.cpp
index 462d6be9c..fa3ee6eaf 100644
--- a/kresources/factory.cpp
+++ b/kresources/factory.cpp
@@ -58,11 +58,11 @@ Factory *Factory::self( const TQString& resourceFamily )
Factory::Factory( const TQString& resourceFamily ) :
mResourceFamily( resourceFamily )
{
- KTrader::OfferList plugins = KTrader::self()->query( "KResources/Plugin", TQString( "[X-KDE-ResourceFamily] == '%1'" )
+ KTrader::OfferList plugins = KTrader::self()->query( "KResources/Plugin", TQString( "[X-TDE-ResourceFamily] == '%1'" )
.arg( resourceFamily ) );
KTrader::OfferList::ConstIterator it;
for ( it = plugins.begin(); it != plugins.end(); ++it ) {
- TQVariant type = (*it)->property( "X-KDE-ResourceType" );
+ TQVariant type = (*it)->property( "X-TDE-ResourceType" );
if ( !type.toString().isEmpty() )
mTypeMap.insert( type.toString(), *it );
}
diff --git a/kresources/kresources.desktop b/kresources/kresources.desktop
index 084e51d5f..5bc2cf768 100644
--- a/kresources/kresources.desktop
+++ b/kresources/kresources.desktop
@@ -4,10 +4,10 @@ Icon=about_kde
Type=Application
Terminal=false
-X-KDE-ModuleType=Library
-X-KDE-Library=kresources
-X-KDE-FactoryName=kresources
-X-KDE-HasReadOnlyMode=false
+X-TDE-ModuleType=Library
+X-TDE-Library=kresources
+X-TDE-FactoryName=kresources
+X-TDE-HasReadOnlyMode=false
Name=TDE Resources
Name[af]=TDE Hulpbronne
@@ -205,6 +205,6 @@ Keywords[uk]=ресурси,ресурс для konnector,ресурс конт
Keywords[vi]=tài nguyên,tài nguyên konnector,tài nguyên liên lạc,tài nguyên lịch,tài nguyên ghi chú,imap
Keywords[zh_CN]=resources,konnector resource,contact resource,calendar resource,notes resource,imap资源,konnector 资源,联系人资源,日历资源,备忘资源
-Categories=Qt;KDE;X-KDE-settings-components;
+Categories=Qt;TDE;X-TDE-settings-components;
OnlyShowIn=TDE;
diff --git a/kresources/kresources_manager.desktop b/kresources/kresources_manager.desktop
index d68db03e4..e7a7ed704 100644
--- a/kresources/kresources_manager.desktop
+++ b/kresources/kresources_manager.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=ServiceType
-X-KDE-ServiceType=KResources/Manager
+X-TDE-ServiceType=KResources/Manager
Comment=KResource Manager
Comment[af]=KHulpbron bestuurder
Comment[be]=Кіраўнік рэсурсаў KResource
@@ -71,5 +71,5 @@ Comment[zh_CN]=KResource 管理器
Comment[zh_HK]=KResource 管理員
Comment[zh_TW]=KRsource 管理員
-[PropertyDef::X-KDE-ResourceFamily]
+[PropertyDef::X-TDE-ResourceFamily]
Type=TQString
diff --git a/kresources/kresources_plugin.desktop b/kresources/kresources_plugin.desktop
index ec8add896..e93c744be 100644
--- a/kresources/kresources_plugin.desktop
+++ b/kresources/kresources_plugin.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=ServiceType
-X-KDE-ServiceType=KResources/Plugin
+X-TDE-ServiceType=KResources/Plugin
Comment=KResource Framework Plugin
Comment[af]=KHulpbron Raamwerk Inprop module
Comment[az]=KResource Əlavəsi
@@ -72,8 +72,8 @@ Comment[zh_CN]=KResource 框架插件
Comment[zh_HK]=KResource Framework 外掛程式
Comment[zh_TW]=KRsource Framework 外掛程式
-[PropertyDef::X-KDE-ResourceFamily]
+[PropertyDef::X-TDE-ResourceFamily]
Type=TQString
-[PropertyDef::X-KDE-ResourceType]
+[PropertyDef::X-TDE-ResourceType]
Type=TQString
diff --git a/kresources/resource.h b/kresources/resource.h
index eec790bbe..f5587ed09 100644
--- a/kresources/resource.h
+++ b/kresources/resource.h
@@ -199,7 +199,7 @@ Name=Example Resource
[Plugin]
Type=exchange
-X-KDE-Library=resourceexample
+X-TDE-Library=resourceexample
\endcode
<B>Makefile.am</B>