diff options
| author | Peter Penz <[email protected]> | 2007-03-01 19:36:37 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-01 19:36:37 +0000 |
| commit | a0cf8456fe171bd221025b3ff3677db4675390b5 (patch) | |
| tree | f75d81bc2bdc5b7c80b816fe09e6ecbfc12a3db4 /src/dolphiniconsview.h | |
| parent | 84c32167c9c3082c7ce80ac613149a4f7596ba32 (diff) | |
Allow zooming in and zooming out in the icons view.
svn path=/trunk/KDE/kdebase/apps/; revision=638386
Diffstat (limited to 'src/dolphiniconsview.h')
| -rw-r--r-- | src/dolphiniconsview.h | 13 |
1 files changed, 13 insertions, 0 deletions
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; |
