Refactoring

This commit is contained in:
Jonas Kvinge
2024-10-22 18:12:33 +02:00
parent dfcf715291
commit 8da2b9cd94
623 changed files with 9071 additions and 5126 deletions

View File

@@ -33,6 +33,7 @@ class QAction;
class QHideEvent;
class QShowEvent;
class OSDBase;
class OSDPretty;
class SettingsDialog;
class Ui_NotificationsSettingsPage;
@@ -41,15 +42,15 @@ class NotificationsSettingsPage : public SettingsPage {
Q_OBJECT
public:
explicit NotificationsSettingsPage(SettingsDialog *dialog, QWidget *parent = nullptr);
explicit NotificationsSettingsPage(SettingsDialog *dialog, OSDBase *osd, QWidget *parent = nullptr);
~NotificationsSettingsPage() override;
void Load() override;
void Save() override;
protected:
void hideEvent(QHideEvent*) override;
void showEvent(QShowEvent*) override;
void hideEvent(QHideEvent *e) override;
void showEvent(QShowEvent *e) override;
private Q_SLOTS:
void NotificationTypeChanged();
@@ -71,6 +72,7 @@ class NotificationsSettingsPage : public SettingsPage {
private:
Ui_NotificationsSettingsPage *ui_;
OSDBase *osd_;
OSDPretty *pretty_popup_;
};