From 7308c7d03e182795d6b64d85a3f0725d8af32436 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 5 Aug 2008 20:15:51 +0000 Subject: 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 --- src/dolphindetailsview.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/dolphindetailsview.h') 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 -- cgit v1.3