┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/iconsviewsettingspage.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/iconsviewsettingspage.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/iconsviewsettingspage.h')
-rw-r--r--src/iconsviewsettingspage.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/iconsviewsettingspage.h b/src/iconsviewsettingspage.h
index 1aa1c74bb..c7f3123ab 100644
--- a/src/iconsviewsettingspage.h
+++ b/src/iconsviewsettingspage.h
@@ -21,9 +21,8 @@
#define ICONSVIEWSETTINGSPAGE_H
#include <dolphiniconsview.h>
-#include <kvbox.h>
+#include <viewsettingspagebase.h>
-class DolphinMainWindow;
class DolphinFontRequester;
class QCheckBox;
class QComboBox;
@@ -45,12 +44,12 @@ class QSpinBox;
*
* @see DolphinIconsViewSettings
*/
-class IconsViewSettingsPage : public KVBox
+class IconsViewSettingsPage : public ViewSettingsPageBase
{
Q_OBJECT
public:
- IconsViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
+ IconsViewSettingsPage(QWidget* parent);
virtual ~IconsViewSettingsPage();
/**
@@ -58,10 +57,10 @@ 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 slots:
void openIconSizeDialog();
@@ -80,7 +79,6 @@ private:
TopToBottomInc = 32
};
- DolphinMainWindow* m_mainWindow;
int m_iconSize;
int m_previewSize;