1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 18:22:10 +02:00
falkonOfficial/src/desktopnotifications/desktopnotification.h

28 lines
542 B
C
Raw Normal View History

#ifndef DESKTOPNOTIFICATION_H
#define DESKTOPNOTIFICATION_H
#include <QWidget>
#include <QTimer>
namespace Ui {
class DesktopNotification;
}
class DesktopNotification : public QWidget
{
Q_OBJECT
public:
explicit DesktopNotification(const QPixmap &icon, const QString &heading, const QString &text, int timeout);
~DesktopNotification();
private:
void enterEvent(QEvent *e);
void leaveEvent(QEvent *e);
void mousePressEvent(QMouseEvent *e);
Ui::DesktopNotification *ui;
};
#endif // DESKTOPNOTIFICATION_H