From 905277aac40f2a55daa5bb2925acb6d4046dacfd Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 13 Feb 2008 18:07:34 +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. Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow. BUG: 157424 svn path=/branches/KDE/4.0/kdebase/apps/; revision=774632 --- src/dolphinview.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 6f0289f62..4d0412037 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -38,9 +38,6 @@ #include #include -class QActionGroup; -class KAction; -class KToggleAction; class DolphinController; class KDirLister; class KFileItemDelegate; @@ -306,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