~ubuntu-branches/ubuntu/utopic/kde4libs/utopic

« back to all changes in this revision

Viewing changes to plasma/plasma.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Kolberg
  • Date: 2012-03-03 00:25:28 UTC
  • mfrom: (1.14.15)
  • Revision ID: package-import@ubuntu.com-20120303002528-chhwyfluldkicy5k
Tags: 4:4.8.1-0ubuntu1
* New upstream release
  - Update symbol files

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 * for instance in Applet::constraintsUpdated
43
43
 */
44
44
enum Constraint {
45
 
    NoConstraint = 0,
46
 
    /** The FormFactor for an object */
47
 
    FormFactorConstraint = 1,
48
 
    /** The Location of an object */
49
 
    LocationConstraint = 2,
50
 
    /** Which screen an object is on */
51
 
    ScreenConstraint = 4,
52
 
    /** the size of the applet was changed */
53
 
    SizeConstraint = 8,
54
 
    /** the immutability (locked) nature of the applet changed  */
55
 
    ImmutableConstraint = 16,
56
 
    /** application startup has completed */
57
 
    StartupCompletedConstraint = 32,
58
 
    /** the desktop context has changed */
59
 
    ContextConstraint = 64,
60
 
    /** the position of the popup needs to be recalculated*/
61
 
    PopupConstraint = 128,
 
45
    NoConstraint = 0, /**< No constraint; never passed in to Applet::constraintsEvent on its own */
 
46
    FormFactorConstraint = 1, /**< The FormFactor for an object */
 
47
    LocationConstraint = 2, /**< The Location of an object */
 
48
    ScreenConstraint = 4, /**< Which screen an object is on */
 
49
    SizeConstraint = 8, /**< the size of the applet was changed */
 
50
    ImmutableConstraint = 16, /**< the immutability (locked) nature of the applet changed  */
 
51
    StartupCompletedConstraint = 32, /**< application startup has completed */
 
52
    ContextConstraint = 64, /**< the context (e.g. activity) has changed */
 
53
    PopupConstraint = 128, /**< the position of the popup needs to be recalculated*/
62
54
    AllConstraints = FormFactorConstraint | LocationConstraint | ScreenConstraint |
63
55
    SizeConstraint | ImmutableConstraint | ContextConstraint | PopupConstraint
64
56
};