Changeset View
Changeset View
Standalone View
Standalone View
src/server/outputchangeset.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
64 | /** Whether the globalPosition() property of the outputdevice changed. | 64 | /** Whether the globalPosition() property of the outputdevice changed. | ||
65 | * @returns @c true if the globalPosition() property of the outputdevice has changed. | 65 | * @returns @c true if the globalPosition() property of the outputdevice has changed. | ||
66 | */ | 66 | */ | ||
67 | bool positionChanged() const; | 67 | bool positionChanged() const; | ||
68 | /** Whether the scale() property of the outputdevice changed. | 68 | /** Whether the scale() property of the outputdevice changed. | ||
69 | * @returns @c true if the scale() property of the outputdevice has changed. | 69 | * @returns @c true if the scale() property of the outputdevice has changed. | ||
70 | */ | 70 | */ | ||
71 | bool scaleChanged() const; | 71 | bool scaleChanged() const; | ||
72 | /** Whether the colorCurves() property of the outputdevice changed. | ||||
73 | * @returns @c true if the colorCurves() property of the outputdevice has changed. | ||||
74 | */ | ||||
75 | bool colorCurvesChanged() const; | ||||
72 | 76 | | |||
73 | /** The new value for enabled. */ | 77 | /** The new value for enabled. */ | ||
74 | OutputDeviceInterface::Enablement enabled() const; | 78 | OutputDeviceInterface::Enablement enabled() const; | ||
75 | /** The new mode id.*/ | 79 | /** The new mode id.*/ | ||
76 | int mode() const; | 80 | int mode() const; | ||
77 | /** The new value for transform. */ | 81 | /** The new value for transform. */ | ||
78 | OutputDeviceInterface::Transform transform() const; | 82 | OutputDeviceInterface::Transform transform() const; | ||
79 | /** The new value for globalPosition. */ | 83 | /** The new value for globalPosition. */ | ||
80 | QPoint position() const; | 84 | QPoint position() const; | ||
81 | /** The new value for scale. */ | 85 | /** The new value for scale. */ | ||
82 | int scale() const; | 86 | int scale() const; | ||
87 | /** The new value for colorCurves. */ | ||||
88 | OutputDeviceInterface::ColorCurves colorCurves() const; | ||||
83 | 89 | | |||
84 | private: | 90 | private: | ||
85 | friend class OutputConfigurationInterface; | 91 | friend class OutputConfigurationInterface; | ||
86 | explicit OutputChangeSet(OutputDeviceInterface *outputdevice, QObject *parent = nullptr); | 92 | explicit OutputChangeSet(OutputDeviceInterface *outputdevice, QObject *parent = nullptr); | ||
87 | 93 | | |||
88 | 94 | | |||
89 | class Private; | 95 | class Private; | ||
90 | QScopedPointer<Private> d; | 96 | QScopedPointer<Private> d; | ||
91 | Private *d_func() const; | 97 | Private *d_func() const; | ||
92 | }; | 98 | }; | ||
93 | 99 | | |||
94 | } | 100 | } | ||
95 | } | 101 | } | ||
96 | 102 | | |||
97 | #endif | 103 | #endif |