Mark deprecated API as deprecated

We'll hardly port away from it if it's just on the documentation. At the
moment they're used all over the place.

If they didn't have a replacement, they should be undepreprecated.
This commit is contained in:
Aleix Pol 2021-05-07 01:03:46 +02:00 committed by Aleix Pol Gonzalez
parent 64b4caae95
commit b9b349caa2

View file

@ -1409,7 +1409,7 @@ Q_SIGNALS:
* @since 4.7
* @deprecated
*/
void desktopChanged(int oldDesktop, int newDesktop);
void KWIN_DEPRECATED desktopChanged(int oldDesktop, int newDesktop);
/**
* @internal
*/
@ -2246,7 +2246,7 @@ public:
/**
* @deprecated Use frameGeometry() instead.
*/
virtual QRect geometry() const = 0;
virtual QRect KWIN_DEPRECATED geometry() const = 0;
/**
* Returns the geometry of the window excluding server-side and client-side
* drop-shadows.