From 7308c7d03e182795d6b64d85a3f0725d8af32436 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 5 Aug 2008 20:15:51 +0000 Subject: First step of refactoring to improve the zooming capabilities of views: * Let classes that use DolphinView know about the currently used zoom level. * Provide more zoom levels for all views (the settings dialogs have not been adjusted yet). * Fixed issue that when using the wheel that the enabled state of the zoom actions has not been updated. svn path=/trunk/KDE/kdebase/apps/; revision=842715 --- src/dolphincolumnview.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/dolphincolumnview.h') diff --git a/src/dolphincolumnview.h b/src/dolphincolumnview.h index 24353ad34..c563888b9 100644 --- a/src/dolphincolumnview.h +++ b/src/dolphincolumnview.h @@ -130,8 +130,7 @@ protected: virtual void wheelEvent(QWheelEvent* event); private slots: - void zoomIn(); - void zoomOut(); + void setZoomLevel(int level); /** * Moves the content of the columns view to represent @@ -159,9 +158,6 @@ private slots: void slotShowPreviewChanged(); private: - bool isZoomInPossible() const; - bool isZoomOutPossible() const; - DolphinColumnWidget* activeColumn() const; /** -- cgit v1.3.1