File indexing completed on 2024-04-21 05:54:03

0001 /*
0002     SPDX-FileCopyrightText: 2009 Tom Albers <toma@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef POPUPEFFECT_H
0008 #define POPUPEFFECT_H
0009 
0010 #include <breakbase.h>
0011 
0012 #include <QObject>
0013 
0014 class PassivePopup;
0015 class QLabel;
0016 
0017 class PopupEffect : public BreakBase
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     explicit PopupEffect(QObject *);
0023     ~PopupEffect();
0024     void setLabel(const QString &) override;
0025 
0026 public slots:
0027     void activate() override;
0028     void deactivate() override;
0029 
0030 private:
0031     PassivePopup *m_popup;
0032     QLabel *m_label;
0033 };
0034 
0035 #endif // POPUPEFFECT_H