effects: Drop EffectWindow::geometry

This commit is contained in:
Vlad Zahorodnii 2023-02-03 22:11:29 +02:00
parent 4f44c28032
commit 65f4313e04
3 changed files with 1 additions and 7 deletions

View file

@ -2065,7 +2065,6 @@ WINDOW_HELPER(qreal, width, width)
WINDOW_HELPER(qreal, height, height)
WINDOW_HELPER(QPointF, pos, pos)
WINDOW_HELPER(QSizeF, size, size)
WINDOW_HELPER(QRectF, geometry, frameGeometry)
WINDOW_HELPER(QRectF, frameGeometry, frameGeometry)
WINDOW_HELPER(QRectF, bufferGeometry, bufferGeometry)
WINDOW_HELPER(QRectF, clientGeometry, clientGeometry)

View file

@ -401,7 +401,6 @@ public:
qreal height() const override;
QSizeF basicUnit() const override;
QRectF geometry() const override;
QRectF frameGeometry() const override;
QRectF bufferGeometry() const override;
QRectF clientGeometry() const override;

View file

@ -2058,7 +2058,7 @@ class EffectWindowVisibleRef;
class KWINEFFECTS_EXPORT EffectWindow : public QObject
{
Q_OBJECT
Q_PROPERTY(QRectF geometry READ geometry)
Q_PROPERTY(QRectF geometry READ frameGeometry)
Q_PROPERTY(QRectF expandedGeometry READ expandedGeometry)
Q_PROPERTY(qreal height READ height)
Q_PROPERTY(qreal opacity READ opacity)
@ -2394,10 +2394,6 @@ public:
* MAY BE DISOBEYED BY THE WM! It's only for information, do NOT rely on it at all.
*/
virtual QSizeF basicUnit() const = 0;
/**
* @deprecated Use frameGeometry() instead.
*/
virtual QRectF KWIN_DEPRECATED geometry() const = 0;
/**
* Returns the geometry of the window excluding server-side and client-side
* drop-shadows.