From 8578ad1e751d218b40c49a601934a23d8ecd027d Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 17 Nov 2007 00:08:54 +0000 Subject: Fix "delete" and "move to trash" actions in dolphinpart; moved all logic for those out of konqueror. Inside dolphin, the usual: moving code to DolphinView. Pressing shift while clicking on "Move to Trash" in konq (dolphinpart) offers to delete, as in kde3 (this bit of logic might be good for dolphin itself too? see DolphinPart::slotTrashActivated) CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=737682 --- src/dolphinpart.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphinpart.h') diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 114c21d31..5075702db 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -108,6 +108,11 @@ private Q_SLOTS: */ void updatePasteAction(); + /** + * Connected to the "move_to_trash" action; adds "shift means del" handling. + */ + void slotTrashActivated(Qt::MouseButtons, Qt::KeyboardModifiers); + private: void createActions(); -- cgit v1.3.1