┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-08-05 20:15:51 +0000
committerPeter Penz <[email protected]>2008-08-05 20:15:51 +0000
commit7308c7d03e182795d6b64d85a3f0725d8af32436 (patch)
tree4d7414dccbfbf6d28864ee2bb3615b3a27a59b26 /src/dolphiniconsview.h
parent208549cefcd47b4454b8e38b2c5cb12b82189b7b (diff)
First step of refactoring to improve the zooming capabilities of views:
* Let classes that use DolphinView know about the currently used zoom level. * Provide more zoom levels for all views (the settings dialogs have not been adjusted yet). * Fixed issue that when using the wheel that the enabled state of the zoom actions has not been updated. svn path=/trunk/KDE/kdebase/apps/; revision=842715
Diffstat (limited to 'src/dolphiniconsview.h')
-rw-r--r--src/dolphiniconsview.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h
index 83672d2f5..3465f6bfc 100644
--- a/src/dolphiniconsview.h
+++ b/src/dolphiniconsview.h
@@ -70,21 +70,11 @@ protected:
private slots:
void slotShowPreviewChanged();
void slotAdditionalInfoChanged();
- void zoomIn();
- void zoomOut();
+ void setZoomLevel(int level);
void requestActivation();
void updateFont();
private:
- bool isZoomInPossible() const;
- bool isZoomOutPossible() const;
-
- /** Returns the increased icon size for the size \a size. */
- int increasedIconSize(int size) const;
-
- /** Returns the decreased icon size for the size \a size. */
- int decreasedIconSize(int size) const;
-
/**
* Updates the size of the grid depending on the state
* of \a showPreview and \a additionalInfoCount.