Commit c5a3b470 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

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
parent 380c93ac
......@@ -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);
......
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