Re: Accessing dataengine from different plasmoid

2012-02-22 Thread Weng Xuetian
在 2012年2月22日 星期三 12:59:58,Simone Gaiarin 写道: > I'm writing a plasmoid to control redshift. > Redshift is a program that change the colour temperature of the monitor. > > Here you can find the current plasmoid I wrote: > http://kde-apps.org/content/show.php/Redshift+plasmoid?content8737 > > The cur

Re: Accessing dataengine from different plasmoid

2012-02-22 Thread Simone Gaiarin
I'm writing a plasmoid to control redshift. Redshift is a program that change the colour temperature of the monitor. Here you can find the current plasmoid I wrote: http://kde-apps.org/content/show.php/Redshift+plasmoid?content=148737 The current plasmoid span a redshift process from inside of it

Re: Accessing dataengine from different plasmoid

2012-02-22 Thread Weng Xuetian
在 2012年2月22日 星期三 10:45:13,Simone Gaiarin 写道: > Thank you. The problem was that I didn't run the plasmoid on the same > process. > > What can be the best way to store a KProcess to the dataengine? > Idea 1: > Subclass the DataContainer class and store the KProcess in that class, > like the Executabl

Re: Accessing dataengine from different plasmoid

2012-02-22 Thread Simone Gaiarin
Thank you. The problem was that I didn't run the plasmoid on the same process. What can be the best way to store a KProcess to the dataengine? Idea 1: Subclass the DataContainer class and store the KProcess in that class, like the Executable dataEngine does. When the source is requested i use addS