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

List:       kmail-devel
Subject:    Re: Drag and drop of messages from kmail to other apps?
From:       Marc Mutz <mutz () kde ! org>
Date:       2003-07-20 18:17:33
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 18 July 2003 23:01, Ingo Klöcker wrote:
<snip>
> As Scott said we would have to write a KMultipleDrag class to make
> d'n'ding messages from kmail to other applications work.
<snip>

I'm not sure why a KMultipleDrag is necessary. You can inherit from 
QDragObject, override format(int) and encodedData(const char*) and 
provide static canDecode(const QMimeSource*) and decode(const 
QMimeSource*,Foo&) methods. See e.g. identitydrag.{h,cpp}.

Marc

-- 
Ich gegen meinen Bruder.
Ich und mein Bruder gegen unseren Cousin.
Ich, mein Bruder und unser Cousin gegen unsere Nachbarn.
Wir alle gegen den Fremden.
                                      -- Beduinen-Sprichwort

[Attachment #5 (application/pgp-signature)]

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


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

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