]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/generalsettingspage.h
Forwardport 773570:
[dolphin.git] / src / generalsettingspage.h
index 99ec4960040ae3983be5ed6df92afc802f04ef80..df713ad477ec6f8c446b1aaa3a13a09bf26915a9 100644 (file)
 #define GENERALSETTINGSPAGE_H
 
 #include <settingspagebase.h>
+
+class DolphinMainWindow;
 class QLineEdit;
-class QRadioButton;
 class QCheckBox;
-class DolphinMainWindow;
 
 /**
  * @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.
- *
- *     @author Peter Penz <peter.penz@gmx.at>
  */
 class GeneralSettingsPage : public SettingsPageBase
 {
@@ -40,22 +35,23 @@ class GeneralSettingsPage : public SettingsPageBase
 
 public:
     GeneralSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
-
     virtual ~GeneralSettingsPage();
 
-    /** @see SettingsPageBase::applySettings */
+    /** @see SettingsPageBase::applySettings() */
     virtual void applySettings();
 
-private slots:
-    void selectHomeUrl();
-    void useCurrentLocation();
-    void useDefaulLocation();
+    /** @see SettingsPageBase::restoreDefaults() */
+    virtual void restoreDefaults();
 
 private:
-    DolphinMainWindow *m_mainWindow;
-    QLineEdit* m_homeUrl;
-    QCheckBox* m_startSplit;
-    QCheckBox* m_startEditable;
+    void loadSettings();
+
+private:
+    QCheckBox* m_showDeleteCommand;
+    QCheckBox* m_confirmMoveToTrash;
+    QCheckBox* m_confirmDelete;
+
+    QCheckBox* m_browseThroughArchives;
 };
 
 #endif