Possible drag and drop actions for KURLDrag

Wilco Greven greven at kde.org
Fri Oct 15 20:59:44 BST 2004


I've implemented dragging covers from amarok's cover manager. I'm using 
KURLDrag (and also QImageDrag) so it's possible to drag the file containing 
the cover image to Konqueror. But the file should be considered as a kind of 
private data. So while it's ok to copy the file, it shouldn't be possible to 
move it. 

I couldn't find a way to specify this in the KURLDrag. Is there a way to do 
this? Or is there another solution? The only thing I can think of is to make 
a copy of the orginal file and offer that in the dragobject.


More information about the kde-core-devel mailing list