summaryrefslogtreecommitdiffstats
path: root/akregator/src/pluginmanager.cpp
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/pluginmanager.cpp
parent66914d2878a6cadacbaf6ceacdd74d2999e4114e (diff)
downloadtdepim-829790146716bc30c2e98cf2a767e60f60e5143a.tar.gz
tdepim-829790146716bc30c2e98cf2a767e60f60e5143a.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'akregator/src/pluginmanager.cpp')
-rw-r--r--akregator/src/pluginmanager.cpp26
1 files changed, 13 insertions, 13 deletions
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;
}