[Kwintv] Plugin access to the UI
George Staikos
staikos at kde.org
Wed May 21 12:08:13 CEST 2003
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.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the kwintv
mailing list