[Kwintv] Plugin access to the UI

Rizsanyi Zsolt rizsanyi at neobee.net
Wed May 21 21:02:43 CEST 2003


On Wednesday 21 May 2003 17.08, George Staikos wrote:
> On Wednesday 21 May 2003 08:50, Rizsanyi Zsolt wrote:
> > On Tuesday 20 May 2003 06.23, George Staikos wrote:
> > > I added plugin access to the UI tonight.  For those who wanted it,
> > > please give it a try.  It is only supported on the mainwindow client
> > > presently, but other clients can easily add support. (all of two lines
> > > of code to set the values in the driver)
> > >
> > > To access it, call driver()->guiFactory() or
> > > driver()->actionCollection(). Be sure to test for 0L!  They can return
> > > 0L if the respective class is not available.
> >
> > It seems, that the actionCollection is not available at the time the
> > plugin is created.
> > If I have turn on the plugin while qtvision is already running, then it
> > is properly installed, but if the plugin is turned on at startap then it
> > is not...
> >
> > Do you have any solution for this?
>
>    Ouch, I didn't think of this.  Ok I'll have to come up with a solution.
> Meanwhile it would be great if you can check in any code you have to work
> with this so I can use it for testing.

Hmm.  I can check in, but I dont think you will be able to use it for testing, 
because the action is added in the telex plugin, and since it is not added to 
the toolbar (yet) it can be used only by Lirc input.
And AFAIR you do not use teletext nor lirc :)

Regards
Zsolt



More information about the kwintv mailing list