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

List:       kde-panel-devel
Subject:    Re: Copy text to clipboard from javascript plasmoid
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-02-27 16:56:11
Message-ID: 201002270856.11632.aseigo () kde ! org
[Download RAW message or body]

On February 27, 2010, Nikola Milenković wrote:
> Or it's a job for data engine?

either a DataEngine or just a Service.

a DataEngine would largely imply keeping the data that's on the clipboard in 
memory all the time; a Service would allow getting the data only when needed 
and discarding it immediately.

there is a clipboard dataengine in playground but it probably needs some 
additional work (and it's been there forever :)

what might work nicely is a dataengine that advertises the various clipboards 
available and whether or not they have changed (allowing visualizations to 
react on clipboard value change), then serviceForSource could return a service 
that could be used to get the actual data off the clipboard.

sounds like something that the pastebin plasmoid could also use :)

-- 
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 Qt Development Frameworks
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

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

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