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/dolphinmainwindow.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index b1694c323..5457860bc 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -34,6 +34,7 @@ #include +class KAction; class DolphinViewActionHandler; class DolphinApplication; class DolphinViewContainer; @@ -222,9 +223,6 @@ private slots: */ void invertSelection(); - /** The current active view is switched to a new view mode. */ - void setViewMode(QAction *); - /** The sorting of the current view should be done by the name. */ void sortByName(); @@ -314,9 +312,6 @@ private slots: /** Opens the settings dialog for Dolphin. */ void editSettings(); - /** Updates the state of all 'View' menu actions. */ - void slotViewModeChanged(); - /** Updates the state of the 'Sort by' actions. */ void slotSortingChanged(DolphinView::Sorting sorting); -- cgit v1.3