┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-01 20:22:03 +0000
committerPeter Penz <[email protected]>2007-03-01 20:22:03 +0000
commit78cb4cae3d97ee1fc843b0500872cf2dbde8f723 (patch)
tree7acf5782ba35ecbbb23a0d46913dc343bb384390 /src/dolphindetailsview.h
parentd9b29511d2474be2714f6fdef72a94be887222c8 (diff)
allow zooming in and zooming out in the details view
svn path=/trunk/KDE/kdebase/apps/; revision=638399
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h17
1 files changed, 16 insertions, 1 deletions
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;