diff options
| author | David Faure <[email protected]> | 2007-10-10 23:01:35 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2007-10-10 23:01:35 +0000 |
| commit | 8d4fb3608927960d9e45e672ce1cbe1fa3a548f9 (patch) | |
| tree | fe8691ccdb83ece1bcfc6b9beabf218b5d7607c5 /src/dolphinmainwindow.h | |
| parent | 3b8c3c1b1e2d05d09aca2de0b0bf922fb9530b0d (diff) | |
DolphinPart: provide a way to switch between view modes in konqueror.
Factorized those actions between dolphinmainwindow and dolphinpart (see new methods in dolphinview), and simplified mainwindow code by using the signal from the action group and the QVariant data of the actions (standard Qt4 solution for a group of actions).
svn path=/trunk/KDE/kdebase/apps/; revision=723871
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 991312c0c..dac0c0be8 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -251,14 +251,8 @@ private slots: */ void invertSelection(); - /** The current active view is switched to the icons mode. */ - void setIconsView(); - - /** The current active view is switched to the details mode. */ - void setDetailsView(); - - /** The current active view is switched to the column mode. */ - void setColumnView(); + /** 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(); |
