┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2007-11-17 00:08:54 +0000
committerDavid Faure <[email protected]>2007-11-17 00:08:54 +0000
commit8578ad1e751d218b40c49a601934a23d8ecd027d (patch)
tree9d486cf3620757d56f320dcefe80d99440d6e752 /src/dolphinpart.h
parent3a1d98a8eb1c758859152a27c7bb697d8d0162e9 (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=737682
Diffstat (limited to 'src/dolphinpart.h')
-rw-r--r--src/dolphinpart.h5
1 files changed, 5 insertions, 0 deletions
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();