┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2008-02-13 18:45:20 +0000
committerDavid Faure <[email protected]>2008-02-13 18:45:20 +0000
commit804a1967002b8d0714a865296fa2360c957284e6 (patch)
treeedb5ca8ae6f3657c1b518ac142339fad8b9c5165 /src/dolphinview.h
parent9a8f75e93cbddca787cbfea8d27ed60009a44512 (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/dolphinview.h')
-rw-r--r--src/dolphinview.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index f1500429b..af0dd62a2 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -38,7 +38,6 @@
#include <QListView>
#include <QWidget>
-class QActionGroup;
class DolphinController;
class DolphinColumnView;
class DolphinDetailsView;
@@ -305,34 +304,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
* second is the text for the action