┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2008-02-13 18:07:34 +0000
committerDavid Faure <[email protected]>2008-02-13 18:07:34 +0000
commit905277aac40f2a55daa5bb2925acb6d4046dacfd (patch)
tree0e71fb7f7a5ba6ab7f0d88edf5fdf01dbb5bd499 /src/dolphinview.h
parent35654aa44d35fb238ed2f045617917fa87a7f468 (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/dolphinview.h')
-rw-r--r--src/dolphinview.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 6f0289f62..4d0412037 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -38,9 +38,6 @@
#include <QListView>
#include <QWidget>
-class QActionGroup;
-class KAction;
-class KToggleAction;
class DolphinController;
class KDirLister;
class KFileItemDelegate;
@@ -307,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