diff options
author | flow <thiagodonato300@gmail.com> | 2022-03-18 07:54:47 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-03-18 07:54:47 -0300 |
commit | da43ed8ce1d804fe20c44788577a0387a698ed6e (patch) | |
tree | c7dc3d757dd1914ad55ee5e403d6be432a7e5729 /launcher/ui/dialogs/NotificationDialog.h | |
parent | 8409aa2571d57f015a634a220107d199e88ba2fd (diff) | |
parent | acdb54b88e0fbdcb46aba3ed3d90e8b7fed08357 (diff) | |
download | PrismLauncher-da43ed8ce1d804fe20c44788577a0387a698ed6e.tar.gz PrismLauncher-da43ed8ce1d804fe20c44788577a0387a698ed6e.tar.bz2 PrismLauncher-da43ed8ce1d804fe20c44788577a0387a698ed6e.zip |
fix silly mistakes and merge upstream
Diffstat (limited to 'launcher/ui/dialogs/NotificationDialog.h')
-rw-r--r-- | launcher/ui/dialogs/NotificationDialog.h | 44 |
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 |