On Thursday 21 August 2008, Ivan Čukić wrote:
> I propose to add a way of handling all mime types as the mime type for
> applets is handled. So, for example, if the user selects text from an
> editor and starts dragging, he or she should be able to drop it onto the
> desktop (for example to create a notes applet).

right, this just means adding another branch to Containment::dropEvent after 
the } else if (KUrl::List::canDecode(event->mimeData())) { line.

let's see .. *taps away* yes, not hard to do.

the problem, however, is that applets do not expect a blob of data in memory, 
but a file on disk. which, i suppose, means we'll have to either create the 
temporary file in that method ourselves or expect applets to deal with memory 
blobs as well. i like the former.

p.s. i've added your Other Email Address to the acceptable addresses, so you 
won't get caught accidently in the moderation queue anymore =)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to