Projects/KNS2/Model

From KDE TechBase
< Projects‎ | KNS2
Revision as of 10:28, 15 March 2007 by Ruphy (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Warning
This page is work in progress. It can change radically. Please don't trust it


The Model

It will provide a way to retrive all the availeable information. 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 use also metadata.desktop to retrive additional informations. It probably won't inherit QStandardModelItem, altough the concept will still remain there.


Proposed API

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

TODO!