diff options
| author | David Faure <[email protected]> | 2008-02-11 12:34:48 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-02-11 12:34:48 +0000 |
| commit | 45a1074b0a38f38cfebde8bb65d5a6520b2db3e8 (patch) | |
| tree | a00ceea5593ffddf6fcf62cfdf52b7a733261d12 /src/dolphinview.h | |
| parent | 99a10f551dc171bf32c402326ab94c3608d0312a (diff) | |
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=/branches/KDE/4.0/kdebase/apps/; revision=773570
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 0c0bbcd2e..6f0289f62 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -325,60 +325,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); |
