Changeset View
Changeset View
Standalone View
Standalone View
src/configdialog/ConfigDialog.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 41 | public Q_SLOTS: | |||
---|---|---|---|---|---|
47 | void show( QString page ); | 47 | void show( QString page ); | ||
48 | 48 | | |||
49 | /** | 49 | /** | ||
50 | * Updates the state of the Apply button. Useful for widgets that are not managed by KConfigXT. | 50 | * Updates the state of the Apply button. Useful for widgets that are not managed by KConfigXT. | ||
51 | */ | 51 | */ | ||
52 | void updateButtons(); | 52 | void updateButtons(); | ||
53 | 53 | | |||
54 | protected Q_SLOTS: | 54 | protected Q_SLOTS: | ||
55 | void updateSettings() Q_DECL_OVERRIDE; | 55 | void updateSettings() override; | ||
56 | void updateWidgets() Q_DECL_OVERRIDE; | 56 | void updateWidgets() override; | ||
57 | void updateWidgetsDefault() Q_DECL_OVERRIDE; | 57 | void updateWidgetsDefault() override; | ||
58 | 58 | | |||
59 | protected: | 59 | protected: | ||
60 | bool hasChanged() Q_DECL_OVERRIDE; | 60 | bool hasChanged() override; | ||
61 | bool isDefault() Q_DECL_OVERRIDE; | 61 | bool isDefault() override; | ||
62 | 62 | | |||
63 | private: | 63 | private: | ||
64 | QList<ConfigDialogBase*> m_pageList; | 64 | QList<ConfigDialogBase*> m_pageList; | ||
65 | QMap<ConfigDialogBase*, KPageWidgetItem*> m_pageMap; | 65 | QMap<ConfigDialogBase*, KPageWidgetItem*> m_pageMap; | ||
66 | 66 | | |||
67 | static QString s_currentPage; | 67 | static QString s_currentPage; | ||
68 | }; | 68 | }; | ||
69 | 69 | | |||
70 | 70 | | |||
71 | #endif // AMAROK2CONFIGDIALOG_H | 71 | #endif // AMAROK2CONFIGDIALOG_H |