From kde-core-devel Mon Aug 27 17:29:11 2001 From: David Faure Date: Mon, 27 Aug 2001 17:29:11 +0000 To: kde-core-devel Subject: Re: Bug#31344: asking for name of file if drag and drop X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99893722623290 On Lundi 27 Août 2001 19:13, Thomas Zander wrote: > On Mon, Aug 27, 2001 at 02:02:33PM +0200, David Faure wrote: > > To the other developers: > > This is a khtml_part bug then: it should offer both the image and the URL, in > > the drag object - i.e. it shouldn't use QImageDrag directly. > > > > Hmm, this brings me back to the idea of a generic drag object that can combine > > multiple forms of the same data. Currently we need to write a new class for > > this every time. For instance we might do something like, create a KURLDrag > > and a QImageDrag, and bundle them together in a KMultipleDrag (to be written), > > that combines the two. (It would be able to combine more than that, of course). > > How does that sound ? > > Like a good solve for the clipboard as well, maybe combine the two? Definitely. A drag object (QDragObject) can be used for DnD as well as for the clipboard. I have no work to do in this area, Qt takes care of everything. -- David FAURE, david@mandrakesoft.com, faure@kde.org http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/ KDE, Making The Future of Computing Available Today