From 78cb4cae3d97ee1fc843b0500872cf2dbde8f723 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 1 Mar 2007 20:22:03 +0000 Subject: allow zooming in and zooming out in the details view svn path=/trunk/KDE/kdebase/apps/; revision=638399 --- src/dolphindetailsview.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/dolphindetailsview.h') diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index a1b4e39c4..b504d6853 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -69,7 +69,22 @@ private slots: * with the current state of the details view. * @param column Index of the current sorting column. */ - void synchronizeSortingState(int column); + void synchronizeSortingState(int column); + + void zoomIn(); + void zoomOut(); + +private: + bool isZoomInPossible() const; + bool isZoomOutPossible() const; + + /** + * Updates the size of the decoration dependent on the + * icon size of the DetailsModeSettings. The controller + * will get informed about possible zoom in/zoom out + * operations. + */ + void updateDecorationSize(); private: DolphinController* m_controller; -- cgit v1.3