diff options
| author | David Faure <[email protected]> | 2008-01-28 11:33:49 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-01-28 11:33:49 +0000 |
| commit | cdc40d4398510878e5ff5926be3f87e6ac5108c9 (patch) | |
| tree | 43f331acaabd4bdf7f61c5c9261d91ba935b352a /src/dolphinmainwindow.h | |
| parent | 83f2397774dc110f7e006f450777088810908b12 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 444a4a946..37cdcb43e 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -271,7 +271,7 @@ private slots: void toggleSortOrder(); /** Switches between sorting by categories or not. */ - void toggleSortCategorization(); + void toggleSortCategorization(bool); /** * Switches on or off the displaying of additional information @@ -293,19 +293,17 @@ private slots: void stopLoading(); /** Switches between showing a preview of the file content and showing the icon. */ - void togglePreview(); + void togglePreview(bool); /** - * Switches between showing and hiding of hidden marked files dependent - * from the current state of the 'Show Hidden Files' menu toggle action. + * Switches between showing and hiding of hidden marked files */ - void toggleShowHiddenFiles(); + void toggleShowHiddenFiles(bool); /** - * Toggles between showing and hiding of the filter bar dependent - * from the current state of the 'Show Filter Bar' menu toggle action. + * Toggles between showing and hiding of the filter bar */ - void toggleFilterBarVisibility(); + void toggleFilterBarVisibility(bool show); /** Increases the size of the current set view mode. */ void zoomIn(); |
