File indexing completed on 2024-04-28 05:35:57
0001 /* 0002 SPDX-FileCopyrightText: 2023 Vlad Zahorodnii <vlad.zahorodnii@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <Plasma/Plasma> 0010 #include <QPointer> 0011 0012 class PanelView; 0013 0014 class AutoHideScreenEdge : public QObject 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 static AutoHideScreenEdge *create(PanelView *view); 0020 0021 virtual void activate() = 0; 0022 virtual void deactivate() = 0; 0023 0024 protected: 0025 AutoHideScreenEdge(PanelView *view); 0026 0027 QPointer<PanelView> m_view; 0028 };