]>
cloud.milkyroute.net Git - dolphin.git/blob - src/settings/settingspagebase.h
2 * SPDX-FileCopyrightText: 2006 Peter Penz <peter.penz@gmx.at>
4 * SPDX-License-Identifier: GPL-2.0-or-later
7 #ifndef SETTINGSPAGEBASE_H
8 #define SETTINGSPAGEBASE_H
13 * @brief Base class for the settings pages of the Dolphin settings dialog.
15 class SettingsPageBase
: public QWidget
20 explicit SettingsPageBase(QWidget
* parent
= nullptr);
21 ~SettingsPageBase() override
;
24 * Must be implemented by a derived class to
25 * persistently store the settings.
27 virtual void applySettings() = 0;
30 * Must be implemented by a derived class to
31 * restored the settings to default values.
33 virtual void restoreDefaults() = 0;
36 /** Is emitted if a setting has been changed. */