diff options
| author | Peter Penz <[email protected]> | 2008-08-05 20:15:51 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-08-05 20:15:51 +0000 |
| commit | 7308c7d03e182795d6b64d85a3f0725d8af32436 (patch) | |
| tree | 4d7414dccbfbf6d28864ee2bb3615b3a27a59b26 /src/dolphindetailsview.h | |
| parent | 208549cefcd47b4454b8e38b2c5cb12b82189b7b (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/dolphindetailsview.h')
| -rw-r--r-- | src/dolphindetailsview.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index eae04646a..d3bb0eb27 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -107,8 +107,7 @@ private slots: */ QRect elasticBandRect() const; - void zoomIn(); - void zoomOut(); + void setZoomLevel(int level); /** * Opens a context menu at the position \a pos and allows to @@ -135,9 +134,6 @@ private slots: void updateFont(); private: - bool isZoomInPossible() const; - bool isZoomOutPossible() const; - /** * Updates the size of the decoration dependent on the * icon size of the DetailsModeSettings. The controller |
