User:Chani/Plans/ConstraintsList: Difference between revisions

From KDE TechBase
(Created page with 'the meaning of cells in this table: *nothing: that constraint for that plasmoid has not been checked yet *T: the plasmoid cannot satisfy this constraint and X-Plasma-Requires-<co...')
 
(changed the .desktop stuff)
Line 1: Line 1:
the meaning of cells in this table:
the meaning of cells in this table:
*nothing: that constraint for that plasmoid has not been checked yet
*R: Required
*T: the plasmoid cannot satisfy this constraint and X-Plasma-Requires-<contraint>=true has been set in the .desktop file.
*O: Optional
*F: the plasmoid satisfies this constraint and X-Plasma-Requires-<contraint>=false has been set in the .desktop file.
*U: Unused
*O: it has made optional in the code using isAllowed, and X-Plasma-Requires-<contraint>=false has been set in the .desktop file.
*nothing: not checked yet


oh bloody hell. the .desktop file has no way to mark optional, which is bad for scripts, because if they say false they may never get it at all. FIXME I think I need to change from a bool to an enum or something, and I hope it's not too late.
after checking a plasmoid+feature, X-Plasma-Requires-<feature> in the plasmoid's .desktop should be set to one of Required, Optional or Unused.
 
*Required: the plasmoid cannot do without this feature
*Unused: the plasmoid doesn't use this feature at all
*Optional: it has made optional in the code using isAllowed()


{|  
{|  

Revision as of 23:06, 13 May 2009

the meaning of cells in this table:

  • R: Required
  • O: Optional
  • U: Unused
  • nothing: not checked yet

after checking a plasmoid+feature, X-Plasma-Requires-<feature> in the plasmoid's .desktop should be set to one of Required, Optional or Unused.

  • Required: the plasmoid cannot do without this feature
  • Unused: the plasmoid doesn't use this feature at all
  • Optional: it has made optional in the code using isAllowed()
Plasmoid FileDialog KRun
workspace/plasma
activitybar X
analog-clock
battery
apps/plasma
folderview
kdeplasma-addons
playground/base/plasma