[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Bug#31344: asking for name of file if drag and drop
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-08-27 17:29:11
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic