┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/columnviewsettingspage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-03-23 15:54:07 +0000
committerPeter Penz <[email protected]>2008-03-23 15:54:07 +0000
commit6420d5f973bdf63375c02ab5308873d42f859f8d (patch)
tree76630564c250a704fae8dafc4fea3a95398c3fe7 /src/columnviewsettingspage.h
parentcfb135f24e6b1b3eb1253c8ebf7c8e7307974eea (diff)
provide a config module for the settings GUI of the Dolphin views, so that it can be embedded into Konqueror
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=789209
Diffstat (limited to 'src/columnviewsettingspage.h')
-rw-r--r--src/columnviewsettingspage.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/columnviewsettingspage.h b/src/columnviewsettingspage.h
index acf92e744..8ab90efc3 100644
--- a/src/columnviewsettingspage.h
+++ b/src/columnviewsettingspage.h
@@ -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;