diff options
| author | David Faure <[email protected]> | 2008-02-13 18:07:34 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-02-13 18:07:34 +0000 |
| commit | 905277aac40f2a55daa5bb2925acb6d4046dacfd (patch) | |
| tree | 0e71fb7f7a5ba6ab7f0d88edf5fdf01dbb5bd499 /src/dolphinmainwindow.h | |
| parent | 35654aa44d35fb238ed2f045617917fa87a7f468 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 7 |
1 files changed, 1 insertions, 6 deletions
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 <QtCore/QList> +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); |
