Changeset View
Changeset View
Standalone View
Standalone View
src/configdialog/dialogs/NotificationsConfig.h
Show All 26 Lines | |||||
27 | class NotificationsConfig : public ConfigDialogBase, public Ui_NotificationsConfig | 27 | class NotificationsConfig : public ConfigDialogBase, public Ui_NotificationsConfig | ||
28 | { | 28 | { | ||
29 | Q_OBJECT | 29 | Q_OBJECT | ||
30 | 30 | | |||
31 | public: | 31 | public: | ||
32 | explicit NotificationsConfig( Amarok2ConfigDialog* parent ); | 32 | explicit NotificationsConfig( Amarok2ConfigDialog* parent ); | ||
33 | virtual ~NotificationsConfig(); | 33 | virtual ~NotificationsConfig(); | ||
34 | 34 | | |||
35 | bool hasChanged() Q_DECL_OVERRIDE; | 35 | bool hasChanged() override; | ||
36 | bool isDefault() Q_DECL_OVERRIDE; | 36 | bool isDefault() override; | ||
37 | void updateSettings() Q_DECL_OVERRIDE; | 37 | void updateSettings() override; | ||
38 | 38 | | |||
39 | Q_SIGNALS: | 39 | Q_SIGNALS: | ||
40 | void changed(); | 40 | void changed(); | ||
41 | 41 | | |||
42 | private Q_SLOTS: | 42 | private Q_SLOTS: | ||
43 | void slotPositionChanged(); | 43 | void slotPositionChanged(); | ||
44 | void useCustomColorsToggled( bool ); | 44 | void useCustomColorsToggled( bool ); | ||
45 | void setGrowlEnabled( bool ); | 45 | void setGrowlEnabled( bool ); | ||
46 | 46 | | |||
47 | private: | 47 | private: | ||
48 | OSDPreviewWidget* m_osdPreview; | 48 | OSDPreviewWidget* m_osdPreview; | ||
49 | 49 | | |||
50 | OSDWidget::Alignment m_oldAlignment; | 50 | OSDWidget::Alignment m_oldAlignment; | ||
51 | uint m_oldYOffset; | 51 | uint m_oldYOffset; | ||
52 | 52 | | |||
53 | void hideEvent( QHideEvent* ); | 53 | void hideEvent( QHideEvent* ) override; | ||
54 | void showEvent( QShowEvent* ); | 54 | void showEvent( QShowEvent* ) override; | ||
55 | }; | 55 | }; | ||
56 | 56 | | |||
57 | #endif | 57 | #endif |