User:Chani/Plans/ConstraintsList: Difference between revisions

    From KDE TechBase
    No edit summary
    No edit summary
    Line 36: Line 36:
    | U
    | U
    | O
    | O
    |-
    | calendar
    | U
    | U
    |-
    |-
    ! colspan=3 | apps/plasma
    ! colspan=3 | apps/plasma

    Revision as of 01:15, 14 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()

    tips on checking for features:

    • anything in the config dialog doesn't count
    • FileDialog can just be grepped for - I'm not aware of anything that a plasmoid is likely to use that could expose it indirectly.
    • LaunchApp can usually be checked by grepping for KRun. there are exceptions, though - battery uses KToolInvocation::kdeinitExec.
    • it's always good to play with the actual plasmoid a bit if you can't remember every single feature it has.
    Plasmoid FileDialog LaunchApp
    workspace/plasma
    activitybar U U
    analog-clock U U
    battery U O
    calendar U U
    apps/plasma
    folderview
    kdeplasma-addons
    playground/base/plasma