From c5a3b47050637a1939ee9ef47d718106084184e1 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Wed, 13 Mar 2019 13:05:00 +0200 Subject: [PATCH] Get rid of Deleted's properties Summary: EffectWindow no longer looks up properties from Toplevel derived classes, thus we can get rid of Deleted's properties. It's safe to do because Deleted is not exposed to scripting API and those properties were used only by effects. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D19722 --- deleted.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deleted.h b/deleted.h index 3279567d65..502fd8810c 100644 --- a/deleted.h +++ b/deleted.h @@ -37,13 +37,6 @@ class KWIN_EXPORT Deleted : public Toplevel { Q_OBJECT - Q_PROPERTY(bool minimized READ isMinimized) - Q_PROPERTY(bool modal READ isModal) - Q_PROPERTY(bool fullScreen READ isFullScreen CONSTANT) - Q_PROPERTY(bool isCurrentTab READ isCurrentTab) - Q_PROPERTY(bool keepAbove READ keepAbove CONSTANT) - Q_PROPERTY(bool keepBelow READ keepBelow CONSTANT) - Q_PROPERTY(QString caption READ caption CONSTANT) public: static Deleted* create(Toplevel* c);