┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/generalsettingspage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-26 09:16:56 +0000
committerPeter Penz <[email protected]>2007-05-26 09:16:56 +0000
commit2f0b7cc810b3b04de5194171cbb126e4e544da90 (patch)
tree897548be77b6245ee4f11bc3bae27e4ea7e84257 /src/generalsettingspage.h
parent1693cc730d920f66483a4a269b257a5990b43049 (diff)
allow to reset all settings to default values
svn path=/trunk/KDE/kdebase/apps/; revision=668398
Diffstat (limited to 'src/generalsettingspage.h')
-rw-r--r--src/generalsettingspage.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/generalsettingspage.h b/src/generalsettingspage.h
index 83d4b0dba..90f510c28 100644
--- a/src/generalsettingspage.h
+++ b/src/generalsettingspage.h
@@ -30,8 +30,8 @@ class QCheckBox;
/**
* @brief Page for the 'General' settings of the Dolphin settings dialog.
*
- * The general settings allow to set the home Url, the default view mode
- * and the split view mode.
+ * The general settings allow to set the home URL and to configure the
+ * state of the view mode, split mode and the filter bar when starting Dolphin.
*/
class GeneralSettingsPage : public SettingsPageBase
{
@@ -41,15 +41,21 @@ public:
GeneralSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
virtual ~GeneralSettingsPage();
- /** @see SettingsPageBase::applySettings */
+ /** @see SettingsPageBase::applySettings() */
virtual void applySettings();
+ /** @see SettingsPageBase::restoreDefaults() */
+ virtual void restoreDefaults();
+
private slots:
void selectHomeUrl();
void useCurrentLocation();
void useDefaultLocation();
private:
+ void loadSettings();
+
+private:
DolphinMainWindow* m_mainWindow;
QLineEdit* m_homeUrl;