Difference between revisions of "Projects/KNS2/Layout"

< Projects‎ | KNS2
Jump to: navigation, search
(Main)
m (Layout)
Line 10: Line 10:
  
 
* '''addons/''' ''<-- Note: this name may change''
 
* '''addons/''' ''<-- Note: this name may change''
** installed-list ''<-- List of installed packages''
+
** installed-list ''<-- List of installed packages?''
 
** ''May we store here infos/configs that applies appwide?''
 
** ''May we store here infos/configs that applies appwide?''
 
** '''$packageName-$packageVersion/'''
 
** '''$packageName-$packageVersion/'''

Revision as of 09:33, 15 March 2007

noframe
 
Warning
Things you see here are work in progress. Please don't trust them.


Main

KNewStuff 2 will have all its files in one dir, one for each app using it. Default will be KStandardDirs::locate("appdata", "addons").

To initialize it call Handler::initLayout();

Layout

The following layout will be used:

  • addons/ <-- Note: this name may change
    • installed-list <-- List of installed packages?
    • May we store here infos/configs that applies appwide?
    • $packageName-$packageVersion/
      • metadata file (see the packager section for additional informations)
      • (optional) Icon
      • (optional) Release notes for package
    • $packageName2-$packageVersion2/
      • metadata file
      • (optional) Icon
      • (optional) Release notes for package2
    • Packages/
      • package.kns
      • package2.kns
    • ...

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