From e1d76541ba62e2eec5874ace02049be96bf3378e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 8 Aug 2008 06:31:58 +0000 Subject: assure correct update of the enabled/disabled state of the zoom actions (no backport required, as a new zooming approach is used on trunk) svn path=/trunk/KDE/kdebase/apps/; revision=843849 --- src/dolphinview.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 8060ebd4e..63afaba58 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -665,6 +665,14 @@ private: * Pastes the clipboard data into the URL \a url. */ void pasteToUrl(const KUrl& url); + + /** + * Checks whether the current item view has the same zoom level + * as \a oldZoomLevel. If this is not the case, the zoom level + * of the controller is updated and a zoomLevelChanged() signal + * is emitted. + */ + void updateZoomLevel(int oldZoomLevel); /** * Returns true, if the ColumnView is activated. As the column view -- cgit v1.3