diff options
| author | David Faure <[email protected]> | 2007-11-17 00:08:54 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2007-11-17 00:08:54 +0000 |
| commit | 8578ad1e751d218b40c49a601934a23d8ecd027d (patch) | |
| tree | 9d486cf3620757d56f320dcefe80d99440d6e752 /src/dolphinpart.h | |
| parent | 3a1d98a8eb1c758859152a27c7bb697d8d0162e9 (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.h | 5 |
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(); |
