]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/detailsviewsettingspage.h
There are some extractable strings in subdirs too.
[dolphin.git] / src / detailsviewsettingspage.h
index 7880527ab2baeeb4f8434a17cdf937f5137f495f..d292a1aef5eb500a94400ca98a56366dd2942311 100644 (file)
 #ifndef DETAILSVIEWSETTINGSPAGE_H
 #define DETAILSVIEWSETTINGSPAGE_H
 
-#include <kvbox.h>
+#include <viewsettingspagebase.h>
 
-class DolphinMainWindow;
-class KFontRequester;
+class DolphinFontRequester;
 class QCheckBox;
-class QSpinBox;
-class QComboBox;
 class QRadioButton;
 
 /**
  * @brief Represents the page from the Dolphin Settings which allows
  *        to modify the settings for the details view.
  */
-class DetailsViewSettingsPage : public KVBox
+class DetailsViewSettingsPage : public ViewSettingsPageBase
 {
     Q_OBJECT
 
 public:
-    DetailsViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
+    DetailsViewSettingsPage(QWidget* parent);
     virtual ~DetailsViewSettingsPage();
 
     /**
@@ -46,25 +43,20 @@ 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;
-    QCheckBox* m_dateBox;
-    QCheckBox* m_permissionsBox;
-    QCheckBox* m_ownerBox;
-    QCheckBox* m_groupBox;
-    QCheckBox* m_typeBox;
     QRadioButton* m_smallIconSize;
     QRadioButton* m_mediumIconSize;
     QRadioButton* m_largeIconSize;
-    KFontRequester* m_fontRequester;
+    DolphinFontRequester* m_fontRequester;
+    QCheckBox* m_expandableFolders;
 };
 
 #endif