X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/5252c12db4929886dbe502013e0a1fee6500f568..d6488887ecf69d7f192b94de8dce34fae0b7eb76:/src/settingspagebase.h diff --git a/src/settingspagebase.h b/src/settingspagebase.h index 953be02b8..d785e5dcd 100644 --- a/src/settingspagebase.h +++ b/src/settingspagebase.h @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ #ifndef SETTINGSPAGEBASE_H #define SETTINGSPAGEBASE_H -#include +#include /** * @brief Base class for the settings pages of the Dolphin settings dialog. @@ -33,7 +33,7 @@ class SettingsPageBase : public QWidget Q_OBJECT public: - SettingsPageBase(QWidget* parent); + explicit SettingsPageBase(QWidget* parent); virtual ~SettingsPageBase(); /** @@ -41,6 +41,12 @@ public: * persistently store the settings. */ virtual void applySettings() = 0; + + /** + * Must be implemented by a derived class to + * restored the settings to default values. + */ + virtual void restoreDefaults() = 0; }; #endif