X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/2f0b7cc810b3b04de5194171cbb126e4e544da90..148282e2d856b47ceb191eeef4c834118c8cdffd:/src/columnviewsettingspage.h diff --git a/src/columnviewsettingspage.h b/src/columnviewsettingspage.h index 5bf25da98..5e16dc67b 100644 --- a/src/columnviewsettingspage.h +++ b/src/columnviewsettingspage.h @@ -20,25 +20,23 @@ #ifndef COLUMNVIEWSETTINGSPAGE_H #define COLUMNVIEWSETTINGSPAGE_H -#include +#include class DolphinMainWindow; -class KFontRequester; -class QCheckBox; -class QSpinBox; -class QComboBox; -class QRadioButton; +class DolphinFontRequester; +class IconSizeGroupBox; +class KComboBox; /** * @brief Represents the page from the Dolphin Settings which allows * to modify the settings for the details view. */ -class ColumnViewSettingsPage : public KVBox +class ColumnViewSettingsPage : public ViewSettingsPageBase { Q_OBJECT public: - ColumnViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent); + ColumnViewSettingsPage(QWidget* parent); virtual ~ColumnViewSettingsPage(); /** @@ -46,20 +44,18 @@ public: * The settings are persisted automatically when * closing Dolphin. */ - void applySettings(); + virtual void applySettings(); /** Restores the settings to default values. */ - void restoreDefaults(); + virtual void restoreDefaults(); private: void loadSettings(); private: - DolphinMainWindow* m_mainWindow; - QRadioButton* m_smallIconSize; - QRadioButton* m_mediumIconSize; - QRadioButton* m_largeIconSize; - KFontRequester* m_fontRequester; + IconSizeGroupBox* m_iconSizeGroupBox; + DolphinFontRequester* m_fontRequester; + KComboBox* m_textWidthBox; }; #endif