[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Reading command output from plasmoid
From: David Baron <d_baron () 012 ! net ! il>
Date: 2010-02-21 20:46:11
Message-ID: 201002212246.11595.d_baron () 012 ! net ! il
[Download RAW message or body]
On Sunday 21 February 2010 18:31:53 Aaron J. Seigo wrote:
> On February 21, 2010, Nikola Milenković wrote:
> > Hi,
> >
> > i would like to join the Jam Session, and I have an idea for my plasmoid,
> > but I'm having a little trouble with it.
> > I would like to read output from console command, (eg. ps -e or la). I
> > can run command with: plasmoid.runCommand, but how can I read output from
> > it?
>
> this is provided by the exec DataEngine.
>
> this really should be provided as a Plasma::Service plugin; maybe i'll get
> to that while i'm here at tokamak.
Needs be done asynchronously in a background thread unless one knows it will
always be instantaneous.
Qt4 classes are available, probably the backend used by the above. Dataengine
will be asynch if used properly. I might try it with qt4 stuff.
_______________________________________________
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