diff options
Diffstat (limited to 'akregator/src/pluginmanager.cpp')
-rw-r--r-- | akregator/src/pluginmanager.cpp | 26 |
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; } |