summaryrefslogtreecommitdiffstats
path: root/akregator/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:56:39 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:56:39 -0500
commit829790146716bc30c2e98cf2a767e60f60e5143a (patch)
tree9ec044f1ff90653dc07bc9e50254ab56c61b7144 /akregator/src
parent66914d2878a6cadacbaf6ceacdd74d2999e4114e (diff)
downloadtdepim-829790146716bc30c2e98cf2a767e60f60e5143a.tar.gz
tdepim-829790146716bc30c2e98cf2a767e60f60e5143a.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'akregator/src')
-rw-r--r--akregator/src/akregator.desktop2
-rw-r--r--akregator/src/akregator_part.cpp2
-rw-r--r--akregator/src/akregator_part.desktop2
-rw-r--r--akregator/src/akregator_plugin.desktop16
-rw-r--r--akregator/src/mk4storage/akregator_mk4storage_plugin.desktop16
-rw-r--r--akregator/src/pluginmanager.cpp26
6 files changed, 32 insertions, 32 deletions
diff --git a/akregator/src/akregator.desktop b/akregator/src/akregator.desktop
index 79b5e8762..0c8d051e9 100644
--- a/akregator/src/akregator.desktop
+++ b/akregator/src/akregator.desktop
@@ -103,5 +103,5 @@ Comment[uz]=TDE учун RSS янгиликларни ўқувчи
Comment[zh_CN]=TDE RSS 新闻收集器
Comment[zh_TW]=TDE 的 RSS 收集器
Terminal=false
-Categories=Qt;KDE;Network;News;
+Categories=Qt;TDE;Network;News;
X-DCOP-ServiceType=Unique
diff --git a/akregator/src/akregator_part.cpp b/akregator/src/akregator_part.cpp
index d18bb4188..ffa7c9052 100644
--- a/akregator/src/akregator_part.cpp
+++ b/akregator/src/akregator_part.cpp
@@ -237,7 +237,7 @@ Part::Part( TQWidget *parentWidget, const char * /*widgetName*/,
void Part::loadPlugins()
{
- // "[X-KDE-akregator-plugintype] == 'storage'"
+ // "[X-TDE-akregator-plugintype] == 'storage'"
KTrader::OfferList offers = PluginManager::query();
for( KTrader::OfferList::ConstIterator it = offers.begin(), end = offers.end(); it != end; ++it )
diff --git a/akregator/src/akregator_part.desktop b/akregator/src/akregator_part.desktop
index 7dcd91f7d..fa0da1c65 100644
--- a/akregator/src/akregator_part.desktop
+++ b/akregator/src/akregator_part.desktop
@@ -8,6 +8,6 @@ Name[pt_BR]=Componente do aKregator
Name[sv]=aKregator-delprogram
Name[ta]=aKregatorபகுதி
ServiceTypes=KParts/ReadOnlyPart
-X-KDE-Library=libakregatorpart
+X-TDE-Library=libakregatorpart
Type=Service
Icon=akregator
diff --git a/akregator/src/akregator_plugin.desktop b/akregator/src/akregator_plugin.desktop
index 540179344..bb02126c2 100644
--- a/akregator/src/akregator_plugin.desktop
+++ b/akregator/src/akregator_plugin.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=ServiceType
-X-KDE-ServiceType=Akregator/Plugin
+X-TDE-ServiceType=Akregator/Plugin
Comment=Plugin for Akregator
Comment[af]=Inprop module vir Akregator
Comment[be]=Утулка для Akregator
@@ -54,31 +54,31 @@ Comment[zh_TW]=Akregator 外掛程式
# Type of plugin, e.g. "storage".
-[PropertyDef::X-KDE-akregator-plugintype]
+[PropertyDef::X-TDE-akregator-plugintype]
Type=TQString
# Internal name for identification, not translated.
-[PropertyDef::X-KDE-akregator-name]
+[PropertyDef::X-TDE-akregator-name]
Type=TQString
# List of authors.
-[PropertyDef::X-KDE-akregator-authors]
+[PropertyDef::X-TDE-akregator-authors]
Type=TQStringList
# List of author's email addresses.
-[PropertyDef::X-KDE-akregator-email]
+[PropertyDef::X-TDE-akregator-email]
Type=TQStringList
# Priority of the plugin. When KTrader returns multiple offers, the one with the highest rank is chosen.
# Range: 0 (disabled) - 255 (highest)
-[PropertyDef::X-KDE-akregator-rank]
+[PropertyDef::X-TDE-akregator-rank]
Type=int
# Version of the plugin.
-[PropertyDef::X-KDE-akregator-version]
+[PropertyDef::X-TDE-akregator-version]
Type=int
# Version of the framework this plugin is compatible with.
# Must be bumped after making incompatible changes.
-[PropertyDef::X-KDE-akregator-framework-version]
+[PropertyDef::X-TDE-akregator-framework-version]
Type=int
diff --git a/akregator/src/mk4storage/akregator_mk4storage_plugin.desktop b/akregator/src/mk4storage/akregator_mk4storage_plugin.desktop
index 1e63cfc06..61323a87f 100644
--- a/akregator/src/mk4storage/akregator_mk4storage_plugin.desktop
+++ b/akregator/src/mk4storage/akregator_mk4storage_plugin.desktop
@@ -43,7 +43,7 @@ Name[tr]=Metakit depolama arka ucu
Name[uk]=Програма зберігання Metakit
Name[zh_CN]=Metakit 存储后端
Name[zh_TW]=Metakit 儲存後端介面
-X-KDE-Library=libakregator_mk4storage_plugin
+X-TDE-Library=libakregator_mk4storage_plugin
Comment=Plugin for Akregator
Comment[af]=Inprop module vir Akregator
Comment[be]=Утулка для Akregator
@@ -96,11 +96,11 @@ Comment[zh_CN]=Akregator 插件
Comment[zh_TW]=Akregator 外掛程式
ServiceTypes=Akregator/Plugin
-X-KDE-akregator-plugintype=storage
-X-KDE-akregator-name=metakit
-X-KDE-akregator-authors=Frank Osterfeld
-X-KDE-akregator-email=frank.osterfeld@kdemail.net
-X-KDE-akregator-rank=255
-X-KDE-akregator-version=1
-X-KDE-akregator-framework-version=1
+X-TDE-akregator-plugintype=storage
+X-TDE-akregator-name=metakit
+X-TDE-akregator-authors=Frank Osterfeld
+X-TDE-akregator-email=frank.osterfeld@kdemail.net
+X-TDE-akregator-rank=255
+X-TDE-akregator-version=1
+X-TDE-akregator-framework-version=1
diff --git a/akregator/src/pluginmanager.cpp b/akregator/src/pluginmanager.cpp
index d12016d45..efa034691 100644
--- a/akregator/src/pluginmanager.cpp
+++ b/akregator/src/pluginmanager.cpp
@@ -44,12 +44,12 @@ PluginManager::query( const TQString& constraint )
{
// Add versioning constraint
TQString
- str = "[X-KDE-akregator-framework-version] == ";
+ str = "[X-TDE-akregator-framework-version] == ";
str += TQString::number( FrameworkVersion );
str += " and ";
if (!constraint.stripWhiteSpace().isEmpty())
str += constraint + " and ";
- str += "[X-KDE-akregator-rank] > 0";
+ str += "[X-TDE-akregator-rank] > 0";
kdDebug() << "Plugin trader constraint: " << str << endl;
@@ -71,7 +71,7 @@ PluginManager::createFromQuery( const TQString &constraint )
int rank = 0;
uint current = 0;
for ( uint i = 0; i < offers.count(); i++ ) {
- if ( offers[i]->property( "X-KDE-akregator-rank" ).toInt() > rank )
+ if ( offers[i]->property( "X-TDE-akregator-rank" ).toInt() > rank )
current = i;
}
@@ -169,10 +169,10 @@ PluginManager::showAbout( const TQString &constraint )
str += body.arg( i18n( "Name" ), s->name() );
str += body.arg( i18n( "Library" ), s->library() );
- str += body.arg( i18n( "Authors" ), s->property( "X-KDE-akregator-authors" ).toStringList().join( "\n" ) );
- str += body.arg( i18n( "Email" ), s->property( "X-KDE-akregator-email" ).toStringList().join( "\n" ) );
- str += body.arg( i18n( "Version" ), s->property( "X-KDE-akregator-version" ).toString() );
- str += body.arg( i18n( "Framework Version" ), s->property( "X-KDE-akregator-framework-version" ).toString() );
+ str += body.arg( i18n( "Authors" ), s->property( "X-TDE-akregator-authors" ).toStringList().join( "\n" ) );
+ str += body.arg( i18n( "Email" ), s->property( "X-TDE-akregator-email" ).toStringList().join( "\n" ) );
+ str += body.arg( i18n( "Version" ), s->property( "X-TDE-akregator-version" ).toString() );
+ str += body.arg( i18n( "Framework Version" ), s->property( "X-TDE-akregator-framework-version" ).toString() );
str += "</table></body></html>";
@@ -189,12 +189,12 @@ PluginManager::dump( const KService::Ptr service )
<< "name : " << service->name() << endl
<< "library : " << service->library() << endl
<< "desktopEntryPath : " << service->desktopEntryPath() << endl
- << "X-KDE-akregator-plugintype : " << service->property( "X-KDE-akregator-plugintype" ).toString() << endl
- << "X-KDE-akregator-name : " << service->property( "X-KDE-akregator-name" ).toString() << endl
- << "X-KDE-akregator-authors : " << service->property( "X-KDE-akregator-authors" ).toStringList() << endl
- << "X-KDE-akregator-rank : " << service->property( "X-KDE-akregator-rank" ).toString() << endl
- << "X-KDE-akregator-version : " << service->property( "X-KDE-akregator-version" ).toString() << endl
- << "X-KDE-akregator-framework-version: " << service->property( "X-KDE-akregator-framework-version" ).toString()
+ << "X-TDE-akregator-plugintype : " << service->property( "X-TDE-akregator-plugintype" ).toString() << endl
+ << "X-TDE-akregator-name : " << service->property( "X-TDE-akregator-name" ).toString() << endl
+ << "X-TDE-akregator-authors : " << service->property( "X-TDE-akregator-authors" ).toStringList() << endl
+ << "X-TDE-akregator-rank : " << service->property( "X-TDE-akregator-rank" ).toString() << endl
+ << "X-TDE-akregator-version : " << service->property( "X-TDE-akregator-version" ).toString() << endl
+ << "X-TDE-akregator-framework-version: " << service->property( "X-TDE-akregator-framework-version" ).toString()
<< endl;
}