Difference between revisions of "User:Chani/Plans/ConstraintsList"

Jump to: navigation, search
(renamed krun)
Line 13: Line 13:
 
tips on checking for features:
 
tips on checking for features:
 
*anything in the config dialog doesn't count
 
*anything in the config dialog doesn't count
*FileDialog and KRun can just be grepped for - I'm not aware of anything that a plasmoid is likely to use that could expose them indirectly.
+
*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.
hrm. I wonder if KToolInvocation::kdeinitExec should be lumped under the same feature as KRun.
+
*it's always good to play with the actual plasmoid a bit if you can't remember every single feature it has.
  
 
{|  
 
{|  
Line 21: Line 21:
 
! Plasmoid
 
! Plasmoid
 
! FileDialog
 
! FileDialog
! KRun
+
! LaunchApp
 
|-
 
|-
 
! colspan=3 | workspace/plasma
 
! colspan=3 | workspace/plasma
Line 34: Line 34:
 
|-
 
|-
 
| battery
 
| battery
|  
+
| U
 
|  
 
|  
 
|-
 
|-

Revision as of 23:56, 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()

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
apps/plasma
folderview
kdeplasma-addons
playground/base/plasma

Content is available under Creative Commons License SA 4.0 unless otherwise noted.