X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/642110309ace0ec0da270615464d7d04944d5dcf..846b21edf57e7aeb83e84ee68e9f61c5981fbacd:/src/generalsettingspage.h diff --git a/src/generalsettingspage.h b/src/generalsettingspage.h index 99ec49600..df713ad47 100644 --- a/src/generalsettingspage.h +++ b/src/generalsettingspage.h @@ -21,18 +21,13 @@ #define GENERALSETTINGSPAGE_H #include + +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 */ 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