From 804a1967002b8d0714a865296fa2360c957284e6 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 13 Feb 2008 18:45:20 +0000 Subject: Provide the dolphinpart view modes (Icons, Details, Columns) in konqueror's View Modes menu. (this is done using a Q_PROPERTY in the dolphin part and a signal; the available view modes for creating the menu in the first place are listed in dolphinpart.desktop) Konqueror: cleaned up the old (complex) handling of view modes as N toolbar buttons from M services grouped by library (240 lines less!). Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow. svn path=/trunk/KDE/kdebase/apps/; revision=774646 --- src/dolphinview.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index f1500429b..af0dd62a2 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -38,7 +38,6 @@ #include #include -class QActionGroup; class DolphinController; class DolphinColumnView; class DolphinDetailsView; @@ -304,34 +303,11 @@ public: */ void calculateItemCount(int& fileCount, int& folderCount); - /** - * Returns the "switch to icons mode" action. - * This code is here to share it between the mainwindow and the part - */ - static KToggleAction* iconsModeAction(KActionCollection* collection); - - /** - * Returns the "switch to details mode" action. - * This code is here to share it between the mainwindow and the part - */ - static KToggleAction* detailsModeAction(KActionCollection* collection); - - /** - * Returns the "switch to columns mode" action. - * This code is here to share it between the mainwindow and the part - */ - static KToggleAction* columnsModeAction(KActionCollection* collection); - /** * Updates the state of the 'Additional Information' actions in \a collection. */ void updateAdditionalInfoActions(KActionCollection* collection); - /** - * Returns the action name corresponding to the current view mode - */ - QString currentViewModeActionName() const; - /** * Returns the state of the paste action: * first is whether the action should be enabled -- cgit v1.3.1