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

List:       kde-bugs-dist
Subject:    [Bug 8904] Implement dragging messages as a whole (i.e. as
From:       George Staikos <staikos () kde ! org>
Date:       2005-03-23 19:11:02
Message-ID: 20050323191102.9082.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=8904         




------- Additional Comments From staikos kde org  2005-03-23 20:10 -------
On Wednesday 23 March 2005 14:01, David Jarvie wrote:

> ------- My reading of the code is that in order to access the contents of a
> dropped message, you have to call
> MailListDrag::encodedData("message/rfc822"). However, this method only
> returns the contents of the message via the member _src (a
> MailTextSource*). However, the libkdepim library doesn't define a
> non-virtual MailTextSource class, so I don't see how the contents can be
> extracted by calling the library functions.


   The drag source inherits from MailTextSource and reimplements it to give 
the text of a message with a given serial number.  The target calls 
encodedData("message/rfc822") and gets the text in a QByteArray.  It doesn't 
need to know about MailTextSource.
[prev in list] [next in list] [prev in thread] [next in thread] 

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