Projects/KNS2/CompleteEntry

From KDE TechBase
< Projects‎ | KNS2
Revision as of 10:17, 20 March 2007 by Ruphy (talk | contribs) (→‎The CompleteEntry)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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!