Difference between revisions of "Projects/KNS2/Model"

< Projects‎ | KNS2
Jump to: navigation, search
(The Model)
Line 2: Line 2:
  
 
== The Model ==
 
== The Model ==
The model will probably be a high-level controller for the bundler, used to retrieve informations for the 'download part'. I probably won't inherit QStandardModelItem, altough the concept will still remain there.
+
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 ==
 
== Proposed API ==
 +
* authorName()
 +
* authorJabber()
 +
* ...
 
'''TODO!'''
 
'''TODO!'''

Revision as of 11:28, 15 March 2007

noframe
 
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!


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal