Projects/KNS2/CompleteEntry: Difference between revisions

From KDE TechBase
< Projects‎ | KNS2
No edit summary
 
 
Line 4: Line 4:
It will provide a way to retrive all the information availeable for one entry.
It will provide a way to retrive all the information availeable for one entry.


It will look first in the XML shipped by the server, using KNS::Entry and KNS::Author, then, if it is a KNS2 package (so, extension .kns or .plasma), it will also use metadata.desktop to retrive additional informations.
It will look first in the XML shipped by the server, using KNS::Entry and KNS::Author, then, if it is a KNS2 package (so, extension .kns or .plasma), and the package has already been downloaded, it will also use metadata.desktop to retrive additional informations.


== Needed Proprieties ==
== Needed Proprieties ==

Latest revision as of 10:17, 20 March 2007

Warning
This page is work in progress. It can change radically. Please don't trust it


The CompleteEntry

It will provide a way to retrive all the information availeable for one entry.

It will look first in the XML shipped by the server, using KNS::Entry and KNS::Author, then, if it is a KNS2 package (so, extension .kns or .plasma), and the package has already been downloaded, it will also use metadata.desktop to retrive additional informations.

Needed Proprieties

  • bool updatable
  • bool installed
  • QString authorName
  • ...

TODO!

Proposed API

  • QString authorName()
  • QString authorJabber()
  • ...

TODO!