From ca7aaecbdbddb27f7442e69d2770b97b4307f338 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 26 Aug 2008 22:21:50 +0000 Subject: Provide a common iconsize-widget for the settings dialog of the icons-, details- and column-view. The current version still requires some improvements (Labels on the left + right, preview, ...). svn path=/trunk/KDE/kdebase/apps/; revision=852961 --- src/dolphincontroller.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'src/dolphincontroller.h') diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index e8ca55e19..51099ff7a 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -185,23 +185,6 @@ public: void setZoomLevel(int level); int zoomLevel() const; - int zoomLevelMinimum() const; - int zoomLevelMaximum() const; - - /** - * Helper method for the view implementation to get - * the icon size for the zoom level \a level - * (see DolphinController::zoomLevel()). - */ - static int iconSizeForZoomLevel(int level); - - /** - * Helper method for the view implementation to get - * the zoom level for the icon size \a size - * (see DolphinController::zoomLevel()). - */ - static int zoomLevelForIconSize(const QSize& size); - /** * Tells the view implementation to zoom out by emitting the signal zoomOut() * and is invoked by the abstract Dolphin view. @@ -383,14 +366,4 @@ inline int DolphinController::zoomLevel() const return m_zoomLevel; } -inline int DolphinController::zoomLevelMinimum() const -{ - return 0; -} - -inline int DolphinController::zoomLevelMaximum() const -{ - return 7; -} - #endif -- cgit v1.3