Changeset View
Changeset View
Standalone View
Standalone View
src/server/outputchangeset.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
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. | 72 | /** Whether the colorCurves() property of the outputdevice changed. | ||
73 | * @returns @c true if the colorCurves() property of the outputdevice has changed. | 73 | * @returns @c true if the colorCurves() property of the outputdevice has changed. | ||
74 | */ | 74 | */ | ||
75 | bool colorCurvesChanged() const; | 75 | bool colorCurvesChanged() const; | ||
76 | /** Whether the logicalSize() property of the outputdevice changed. | ||||
77 | * @returns @c true if the logicalSize() property of the outputdevice has changed. | ||||
78 | * @since 5.66 | ||||
79 | */ | ||||
80 | bool logicalSizeChanged() const; | ||||
76 | 81 | | |||
77 | /** The new value for enabled. */ | 82 | /** The new value for enabled. */ | ||
78 | OutputDeviceInterface::Enablement enabled() const; | 83 | OutputDeviceInterface::Enablement enabled() const; | ||
79 | /** The new mode id.*/ | 84 | /** The new mode id.*/ | ||
80 | int mode() const; | 85 | int mode() const; | ||
81 | /** The new value for transform. */ | 86 | /** The new value for transform. */ | ||
82 | OutputDeviceInterface::Transform transform() const; | 87 | OutputDeviceInterface::Transform transform() const; | ||
83 | /** The new value for globalPosition. */ | 88 | /** The new value for globalPosition. */ | ||
84 | QPoint position() const; | 89 | QPoint position() const; | ||
85 | #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 50) | 90 | #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 50) | ||
86 | /** The new value for scale. | 91 | /** The new value for scale. | ||
87 | @deprecated Since 5.50, use scaleF | 92 | @deprecated Since 5.50, use scaleF | ||
88 | */ | 93 | */ | ||
89 | KWAYLANDSERVER_DEPRECATED_VERSION(5, 50, "Use OutputChangeSet::scaleF()") | 94 | KWAYLANDSERVER_DEPRECATED_VERSION(5, 50, "Use OutputChangeSet::scaleF()") | ||
90 | int scale() const; | 95 | int scale() const; | ||
91 | #endif | 96 | #endif | ||
92 | /** The new value for scale. | 97 | /** The new value for scale. | ||
93 | * @since 5.50 | 98 | * @since 5.50 | ||
94 | */ | 99 | */ | ||
95 | qreal scaleF() const; | 100 | qreal scaleF() const; | ||
96 | /** The new value for colorCurves. | 101 | /** The new value for colorCurves. | ||
97 | * @since 5.XX | 102 | * @since 5.XX | ||
98 | */ | 103 | */ | ||
99 | OutputDeviceInterface::ColorCurves colorCurves() const; | 104 | OutputDeviceInterface::ColorCurves colorCurves() const; | ||
105 | /** The new value for logicalSize. | ||||
106 | * @since 5.66 | ||||
107 | */ | ||||
108 | QSizeF logicalSize() const; | ||||
100 | 109 | | |||
101 | private: | 110 | private: | ||
102 | friend class OutputConfigurationInterface; | 111 | friend class OutputConfigurationInterface; | ||
103 | explicit OutputChangeSet(OutputDeviceInterface *outputdevice, QObject *parent = nullptr); | 112 | explicit OutputChangeSet(OutputDeviceInterface *outputdevice, QObject *parent = nullptr); | ||
104 | 113 | | |||
105 | 114 | | |||
106 | class Private; | 115 | class Private; | ||
107 | QScopedPointer<Private> d; | 116 | QScopedPointer<Private> d; | ||
108 | Private *d_func() const; | 117 | Private *d_func() const; | ||
109 | }; | 118 | }; | ||
110 | 119 | | |||
111 | } | 120 | } | ||
112 | } | 121 | } | ||
113 | 122 | | |||
114 | #endif | 123 | #endif |