| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/settings/settingspanel.h`/ |
| 2 | |
| 3 | #ifndef SETTINGSPANEL_H |
| 4 | #define SETTINGSPANEL_Hcxx . . $ `src/librssguard/gui/settings/settingspanel.h:4:9`! |
| 5 | |
| 6 | #include <QWidget> |
| 7 | |
| 8 | class Settingscxx . . $ Settings#; |
| 9 | |
| 10 | class SettingsPanelcxx . . $ SettingsPanel# : public QWidgetcxx . . $ QWidget# { |
| 11 | Q_OBJECTcxx . . $ SettingsPanel#staticMetaObject. |
| 12 | |
| 13 | public: |
| 14 | explicit SettingsPanelcxx . . $ SettingsPanel#SettingsPanel(e2806c23cebd2a3f).(Settingscxx . . $ Settings#* settings, QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 15 | |
| 16 | virtual QStringcxx . . $ QString# titlecxx . . $ SettingsPanel#title(6ef7b6c27b00b43d).() const = 0; |
| 17 | virtual QIconcxx . . $ QIcon# iconcxx . . $ SettingsPanel#icon(952ef71f8967d9eb).() const = 0; |
| 18 | virtual void loadSettingscxx . . $ SettingsPanel#loadSettings(49f6e7a06ebc5aa8).() = 0; |
| 19 | virtual void saveSettingscxx . . $ SettingsPanel#saveSettings(49f6e7a06ebc5aa8).() = 0; |
| 20 | |
| 21 | bool requiresRestartcxx . . $ SettingsPanel#requiresRestart(50ce9a9e25b4a850).() const; |
| 22 | bool isDirtycxx . . $ SettingsPanel#isDirty(50ce9a9e25b4a850).() const; |
| 23 | |
| 24 | void setIsDirtycxx . . $ SettingsPanel#setIsDirty(b45ddcbc8423892c).(bool is_dirty); |
| 25 | void setRequiresRestartcxx . . $ SettingsPanel#setRequiresRestart(b45ddcbc8423892c).(bool requiresRestart); |
| 26 | |
| 27 | bool isLoadedcxx . . $ SettingsPanel#isLoaded(50ce9a9e25b4a850).() const; |
| 28 | |
| 29 | protected: |
| 30 | void onBeginLoadSettingscxx . . $ SettingsPanel#onBeginLoadSettings(49f6e7a06ebc5aa8).(); |
| 31 | void onEndLoadSettingscxx . . $ SettingsPanel#onEndLoadSettings(49f6e7a06ebc5aa8).(); |
| 32 | void onBeginSaveSettingscxx . . $ SettingsPanel#onBeginSaveSettings(49f6e7a06ebc5aa8).(); |
| 33 | void onEndSaveSettingscxx . . $ SettingsPanel#onEndSaveSettings(49f6e7a06ebc5aa8).(); |
| 34 | |
| 35 | // Settings to use to save/load. |
| 36 | Settingscxx . . $ Settings#* settingscxx . . $ SettingsPanel#settings(951936487a2d9252).() const; |
| 37 | |
| 38 | protected slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 39 | void dirtifySettingscxx . . $ SettingsPanel#dirtifySettings(49f6e7a06ebc5aa8).(); |
| 40 | void requireRestartcxx . . $ SettingsPanel#requireRestart(49f6e7a06ebc5aa8).(); |
| 41 | |
| 42 | signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!: |
| 43 | void settingsChangedcxx . . $ SettingsPanel#settingsChanged(49f6e7a06ebc5aa8).(); |
| 44 | |
| 45 | private: |
| 46 | bool m_requiresRestartcxx . . $ SettingsPanel#m_requiresRestart.; |
| 47 | bool m_isDirtycxx . . $ SettingsPanel#m_isDirty.; |
| 48 | bool m_isLoadingcxx . . $ SettingsPanel#m_isLoading.; |
| 49 | bool m_isLoadedcxx . . $ SettingsPanel#m_isLoaded.; |
| 50 | Settingscxx . . $ Settings#* m_settingscxx . . $ SettingsPanel#m_settings.; |
| 51 | }; |
| 52 | |
| 53 | #endif // SETTINGSPANEL_H |