#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
{
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