aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/NotificationDialog.h
diff options
context:
space:
mode:
authorswirl <swurl@swurl.xyz>2022-02-20 19:23:08 -0500
committerswirl <swurl@swurl.xyz>2022-02-20 19:23:08 -0500
commitda70122d9c46c6281c06fe1dedc558c13077f64f (patch)
tree2a8804f710b3b60a8cdfdf71fee90333234765f0 /launcher/ui/dialogs/NotificationDialog.h
parent613b351f1342ac80f5699dbdb53b9ff5c1f1056f (diff)
downloadPrismLauncher-da70122d9c46c6281c06fe1dedc558c13077f64f.tar.gz
PrismLauncher-da70122d9c46c6281c06fe1dedc558c13077f64f.tar.bz2
PrismLauncher-da70122d9c46c6281c06fe1dedc558c13077f64f.zip
remove notifications
Diffstat (limited to 'launcher/ui/dialogs/NotificationDialog.h')
-rw-r--r--launcher/ui/dialogs/NotificationDialog.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/launcher/ui/dialogs/NotificationDialog.h b/launcher/ui/dialogs/NotificationDialog.h
deleted file mode 100644
index e1cbb9fa..00000000
--- a/launcher/ui/dialogs/NotificationDialog.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef NOTIFICATIONDIALOG_H
-#define NOTIFICATIONDIALOG_H
-
-#include <QDialog>
-
-#include "notifications/NotificationChecker.h"
-
-namespace Ui {
-class NotificationDialog;
-}
-
-class NotificationDialog : public QDialog
-{
- Q_OBJECT
-
-public:
- explicit NotificationDialog(const NotificationChecker::NotificationEntry &entry, QWidget *parent = 0);
- ~NotificationDialog();
-
- enum ExitCode
- {
- Normal,
- DontShowAgain
- };
-
-protected:
- void timerEvent(QTimerEvent *event);
-
-private:
- Ui::NotificationDialog *ui;
-
- int m_dontShowAgainTime = 10;
- int m_closeTime = 5;
-
- QString m_dontShowAgainText;
- QString m_closeText;
-
-private
-slots:
- void on_dontShowAgainBtn_clicked();
- void on_closeBtn_clicked();
-};
-
-#endif // NOTIFICATIONDIALOG_H