From cdc40d4398510878e5ff5926be3f87e6ac5108c9 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 28 Jan 2008 11:33:49 +0000 Subject: Centralize three more actions so that they are available in DolphinPart: 'Show preview' 'Show hidden files' 'Categorized sorting' Found a way of sharing the actions with even less code duplication, discussed it with Peter, but this will be for after 4.0.1 svn path=/branches/KDE/4.0/kdebase/apps/; revision=767566 --- src/dolphinpart.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphinpart.h') diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 3d9ec0306..797c34d71 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -136,6 +136,15 @@ private Q_SLOTS: */ void createDir(); + /** Updates the state of the 'Show preview' menu action. */ + void slotShowPreviewChanged(); + + /** Updates the state of the 'Show hidden files' menu action. */ + void slotShowHiddenFilesChanged(); + + /** Updates the state of the 'Categorized sorting' menu action. */ + void slotCategorizedSortingChanged(); + /** Updates the state of the 'Sort Ascending/Descending' action. */ void slotSortOrderChanged(Qt::SortOrder); -- cgit v1.3