From a0cf8456fe171bd221025b3ff3677db4675390b5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 1 Mar 2007 19:36:37 +0000 Subject: Allow zooming in and zooming out in the icons view. svn path=/trunk/KDE/kdebase/apps/; revision=638386 --- src/dolphiniconsview.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/dolphiniconsview.h') diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h index 22da7de21..db3d5d6cd 100644 --- a/src/dolphiniconsview.h +++ b/src/dolphiniconsview.h @@ -54,6 +54,19 @@ private slots: */ void updateGridSize(bool showPreview); + void zoomIn(); + void zoomOut(); + +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; + private: DolphinController* m_controller; QStyleOptionViewItem m_viewOptions; -- cgit v1.3.1