diff options
| author | David Faure <[email protected]> | 2008-02-13 18:45:20 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-02-13 18:45:20 +0000 |
| commit | 804a1967002b8d0714a865296fa2360c957284e6 (patch) | |
| tree | edb5ca8ae6f3657c1b518ac142339fad8b9c5165 /src/dolphinmainwindow.h | |
| parent | 9a8f75e93cbddca787cbfea8d27ed60009a44512 (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 (240 lines less!).
Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow.
svn path=/trunk/KDE/kdebase/apps/; revision=774646
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 bddeba7b1..4f4e765a8 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); |
