Possible drag and drop actions for KURLDrag

David Faure faure at kde.org
Fri Oct 15 21:40:49 BST 2004


On Friday 15 October 2004 21:59, Wilco Greven wrote:
> Hello,
> 
> 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.

Tried QDragObject::dragCopy() ?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list