]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/columnviewsettingspage.h
Move the pasteIntoFolder() method from the contextmenu into DolphinView. This allows...
[dolphin.git] / src / columnviewsettingspage.h
index acf92e744847632603779ac9f244cd0fd6529977..8ab90efc36cc0141f1d868bd472ff43460f986de 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef COLUMNVIEWSETTINGSPAGE_H
 #define COLUMNVIEWSETTINGSPAGE_H
 
-#include <kvbox.h>
+#include <viewsettingspagebase.h>
 
 class DolphinMainWindow;
 class DolphinFontRequester;
@@ -31,12 +31,12 @@ class QRadioButton;
  * @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();
 
     /**
@@ -44,16 +44,15 @@ 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;