diff options
| author | David Faure <[email protected]> | 2008-02-11 12:44:46 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-02-11 12:44:46 +0000 |
| commit | 846b21edf57e7aeb83e84ee68e9f61c5981fbacd (patch) | |
| tree | 78e990b65416ef13f2a2f9f04171f42cd89e53f3 /src/dolphinview.h | |
| parent | e6e8c1b7eaaaae9facef9f3c93b42dd4221b1325 (diff) | |
| parent | 45a1074b0a38f38cfebde8bb65d5a6520b2db3e8 (diff) | |
Forwardport 773570:
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
svn path=/trunk/KDE/kdebase/apps/; revision=773572
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 201cc0785..215a2a23c 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -323,60 +323,6 @@ public: static KToggleAction* columnsModeAction(KActionCollection* collection); /** - * Creates the rename action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createRenameAction(KActionCollection* collection); - - /** - * Creates the "move to trash" action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createMoveToTrashAction(KActionCollection* collection); - - /** - * Creates the delete action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createDeleteAction(KActionCollection* collection); - - /** - * Creates the "new directory" action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createNewDirAction(KActionCollection* collection); - - /** - * Creates the "sort descending" action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createSortDescendingAction(KActionCollection* collection); - - /** - * Creates an action group with all the "show additional information" actions in it. - * This code is here to share it between the mainwindow and the part - */ - static QActionGroup* createAdditionalInformationActionGroup(KActionCollection* collection); - - /** - * Creates the "show preview" action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createShowPreviewAction(KActionCollection* collection); - - /** - * Creates the "show in groups" action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createShowInGroupsAction(KActionCollection* collection); - - /** - * Creates the "show hidden files" action. - * This code is here to share it between the mainwindow and the part - */ - static KAction* createShowHiddenFilesAction(KActionCollection* collection); - - /** * Updates the state of the 'Additional Information' actions in \a collection. */ void updateAdditionalInfoActions(KActionCollection* collection); |
