Changeset View
Changeset View
Standalone View
Standalone View
scripting/scriptedeffect.h
Show All 34 Lines | 34 | { | |||
---|---|---|---|---|---|
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | Q_ENUMS(DataRole) | 36 | Q_ENUMS(DataRole) | ||
37 | Q_ENUMS(Qt::Axis) | 37 | Q_ENUMS(Qt::Axis) | ||
38 | Q_ENUMS(Anchor) | 38 | Q_ENUMS(Anchor) | ||
39 | Q_ENUMS(MetaType) | 39 | Q_ENUMS(MetaType) | ||
40 | Q_ENUMS(EasingCurve) | 40 | Q_ENUMS(EasingCurve) | ||
41 | /** | 41 | /** | ||
42 | * True if we are the active fullscreen effect | 42 | * True if we are the active fullscreen effect | ||
43 | */ | 43 | **/ | ||
44 | Q_PROPERTY(bool isActiveFullScreenEffect READ isActiveFullScreenEffect NOTIFY isActiveFullScreenEffectChanged) | 44 | Q_PROPERTY(bool isActiveFullScreenEffect READ isActiveFullScreenEffect NOTIFY isActiveFullScreenEffectChanged) | ||
45 | public: | 45 | public: | ||
46 | // copied from kwineffects.h | 46 | // copied from kwineffects.h | ||
47 | enum DataRole { | 47 | enum DataRole { | ||
48 | // Grab roles are used to force all other animations to ignore the window. | 48 | // Grab roles are used to force all other animations to ignore the window. | ||
49 | // The value of the data is set to the Effect's `this` value. | 49 | // The value of the data is set to the Effect's `this` value. | ||
50 | WindowAddedGrabRole = 1, | 50 | WindowAddedGrabRole = 1, | ||
51 | WindowClosedGrabRole, | 51 | WindowClosedGrabRole, | ||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |