Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Fix API dox @since notes and deprecation macro version args for last commit

GIT_SILENT
parent 2c22acc0
......@@ -248,7 +248,7 @@ ecm_generate_export_header(KF5WaylandClient
GROUP_BASE_NAME KF
VERSION ${KF5_VERSION}
DEPRECATED_BASE_VERSION 0
DEPRECATION_VERSIONS 5.49 5.50 5.52 5.53 5.71
DEPRECATION_VERSIONS 5.49 5.50 5.52 5.53 5.73
)
# TODO: add support for EXCLUDE_DEPRECATED_BEFORE_AND_AT to all KWayland libs
# needs fixing of undeprecated API being still implemented using own deprecated API
......
......@@ -156,20 +156,20 @@ public:
**/
PlasmaWindowModel *createWindowModel();
#if KWAYLANDCLIENT_ENABLE_DEPRECATED_SINCE(5, 71)
#if KWAYLANDCLIENT_ENABLE_DEPRECATED_SINCE(5, 73)
/**
* @returns windows stacking order
*
* @deprecated since 5.71, Use stackingOrderUuids
* @deprecated Since 5.73, use stackingOrderUuids()
*/
KWAYLANDCLIENT_DEPRECATED_VERSION(5, 71, "Use PlasmaWindow::stackingOrderUuids()")
KWAYLANDCLIENT_DEPRECATED_VERSION(5, 73, "Use PlasmaWindow::stackingOrderUuids()")
QVector<quint32> stackingOrder() const;
#endif
/**
* @returns windows stacking order
*
* @since 5.71
* @since 5.73
*/
QVector<QByteArray> stackingOrderUuids() const;
......@@ -209,18 +209,19 @@ Q_SIGNALS:
**/
void removed();
#if KWAYLANDCLIENT_ENABLE_DEPRECATED_SINCE(5, 71)
#if KWAYLANDCLIENT_ENABLE_DEPRECATED_SINCE(5, 73)
/**
* The stacking order changed
* @deprecated since 5.71, use stackingOrderUuidsChanged
* @since 5.70
* @deprecated Since 5.73, use stackingOrderUuidsChanged()
**/
KWAYLANDCLIENT_DEPRECATED_VERSION(5, 71, "Use PlasmaWindow::stackingOrderUuidsChanged()")
KWAYLANDCLIENT_DEPRECATED_VERSION(5, 73, "Use PlasmaWindow::stackingOrderUuidsChanged()")
void stackingOrderChanged();
#endif
/**
* The stacking order uuids changed
* @since 5.71
* @since 5.73
**/
void stackingOrderUuidsChanged();
......@@ -481,15 +482,15 @@ public:
*/
void requestToggleShaded();
#if KWAYLANDCLIENT_ENABLE_DEPRECATED_SINCE(5, 71)
#if KWAYLANDCLIENT_ENABLE_DEPRECATED_SINCE(5, 73)
/**
* An internal window identifier.
* This is not a global window identifier.
* This identifier does not correspond to QWindow::winId in any way.
*
* @deprecated since 5.71, use uuid instead
**/
KWAYLANDCLIENT_DEPRECATED_VERSION(5, 71, "Use PlasmaWindow::uuid(const QString &)")
* @deprecated Since 5.73, use uuid(const QString &) instead
*/
KWAYLANDCLIENT_DEPRECATED_VERSION(5, 73, "Use PlasmaWindow::uuid(const QString &)")
quint32 internalId() const;
#endif
......@@ -497,6 +498,7 @@ public:
* A unique identifier for the window
*
* @see QUuid
* @since 5.73
*/
QByteArray uuid() const;
......
......@@ -108,7 +108,7 @@ public:
*/
VirtualDesktops,
/**
* @since 5.71
* @since 5.73
*/
Uuid,
};
......
......@@ -308,7 +308,7 @@ ecm_generate_export_header(KF5WaylandServer
GROUP_BASE_NAME KF
VERSION ${KF5_VERSION}
DEPRECATED_BASE_VERSION 0
DEPRECATION_VERSIONS 5.5 5.28 5.50 5.52 5.69 5.71
DEPRECATION_VERSIONS 5.5 5.28 5.50 5.52 5.69 5.73
)
# TODO: add support for EXCLUDE_DEPRECATED_BEFORE_AND_AT to all KWayland libs
# needs fixing of undeprecated API being still implemented using own deprecated API
......
......@@ -8,7 +8,7 @@
#include <KWayland/Server/kwaylandserver_export.h>
#if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 71)
#if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 73)
#include <QObject>
......@@ -29,12 +29,14 @@ class SurfaceInterface;
class PlasmaVirtualDesktopManagementInterface;
/**
* @deprecated 5.71 port to KWaylandServer in Plasma
* @deprecated 5.73 port to KWaylandServer in Plasma
*/
class KWAYLANDSERVER_DEPRECATED_EXPORT PlasmaWindowManagementInterface : public Global
class KWAYLANDSERVER_EXPORT PlasmaWindowManagementInterface : public Global
{
Q_OBJECT
public:
KWAYLANDSERVER_DEPRECATED_VERSION(5, 73, "Port to KWaylandServer")
PlasmaWindowManagementInterface() = default;
virtual ~PlasmaWindowManagementInterface();
enum class ShowingDesktopState {
Disabled,
......@@ -100,6 +102,8 @@ class KWAYLANDSERVER_EXPORT PlasmaWindowInterface : public QObject
{
Q_OBJECT
public:
KWAYLANDSERVER_DEPRECATED_VERSION(5, 73, "Port to KWaylandServer")
PlasmaWindowInterface() = default;
virtual ~PlasmaWindowInterface();
void setTitle(const QString &title);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment