File indexing completed on 2024-04-14 05:46:46
0001 /* 0002 SPDX-FileCopyrightText: 2009 Tom Albers <toma@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 0006 */ 0007 0008 #ifndef GRAYEFFECT_H 0009 #define GRAYEFFECT_H 0010 0011 #include <QObject> 0012 #include <breakbase.h> 0013 0014 class GrayWidget; 0015 0016 class GrayEffect : public BreakBase 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 explicit GrayEffect(QObject *parent); 0022 ~GrayEffect(); 0023 void activate() override; 0024 void deactivate() override; 0025 void setLevel(int val); 0026 0027 private: 0028 QList<GrayWidget *> m_widgets; 0029 }; 0030 0031 #endif