Difference between revisions of "Projects/KNS2/Model"

< Projects‎ | KNS2
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
  
 
== The Model ==
 
== 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 will provide a way to retrive all the information otherwise availeable via the download dialog.
 
It probably won't inherit QStandardModelItem, altough the concept will still remain there.
 
It probably won't inherit QStandardModelItem, altough the concept will still remain there.
  
  
 
== Proposed API ==
 
== Proposed API ==
* authorName()
+
* QList<KNS::CompleteEntry> entries()
* authorJabber()
+
 
* ...
 
* ...
 
'''TODO!'''
 
'''TODO!'''

Latest revision as of 11:41, 15 March 2007

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


[edit] The Model

It will provide a way to retrive all the information otherwise availeable via the download dialog. It probably won't inherit QStandardModelItem, altough the concept will still remain there.


[edit] Proposed API

  • QList<KNS::CompleteEntry> entries()
  • ...

TODO!


This page was last modified on 15 March 2007, at 11:41. This page has been accessed 4,757 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal