Implementing shift delete in dolphin, some help would be nice.

Mark markg85 at gmail.com
Mon Sep 13 20:45:06 BST 2010


Hi,

I'm trying to fix this bug:
https://bugs.kde.org/show_bug.cgi?id=194275

And for that i made this patch:
http://pastebin.com/GEi2BJvv

However i have a few issues.
I'm using "KModifierKeyInfo" :
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKModifierKeyInfo.html
but
am having issues getting it to work. The way it's used in the patch blocks
the gui. This is what happens, in the patch i listen to "shift" key pressed
while opening the context menu however, the effect is that the gui now
simply blocks when you press shift on a selected file followed by a right
click (to open the context menu).

Another issue i have is: How can can change the "Move to trash" to "Delete"?
I made a class wide for it: "m_deleteOrTrashMenuEntry" but if i change it to
some other menu entry while the context menu is open it simply remains what
is was before i changed it... I guess i need to repaint something but what?

I hope this made some sense and that someone can point me in the right
direction to solve this issue.

Thanx,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100913/12b4efb9/attachment.htm>


More information about the kde-core-devel mailing list