diff options
| author | Peter Penz <[email protected]> | 2007-05-26 09:16:56 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-05-26 09:16:56 +0000 |
| commit | 2f0b7cc810b3b04de5194171cbb126e4e544da90 (patch) | |
| tree | 897548be77b6245ee4f11bc3bae27e4ea7e84257 /src/generalviewsettingspage.h | |
| parent | 1693cc730d920f66483a4a269b257a5990b43049 (diff) | |
allow to reset all settings to default values
svn path=/trunk/KDE/kdebase/apps/; revision=668398
Diffstat (limited to 'src/generalviewsettingspage.h')
| -rw-r--r-- | src/generalviewsettingspage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/generalviewsettingspage.h b/src/generalviewsettingspage.h index ad9a68761..9c5edecf3 100644 --- a/src/generalviewsettingspage.h +++ b/src/generalviewsettingspage.h @@ -25,6 +25,7 @@ class DolphinMainWindow; class QRadioButton; class QSlider; +class QSpinBox; /** * @brief Represents the page from the Dolphin Settings which allows @@ -45,11 +46,18 @@ public: */ void applySettings(); + /** Restores the settings to default values. */ + void restoreDefaults(); + +private: + void loadSettings(); + private: DolphinMainWindow* m_mainWindow; QRadioButton* m_localProps; QRadioButton* m_globalProps; QSlider* m_maxPreviewSize; + QSpinBox* m_spinBox; }; #endif |
