[Kwintv] Fwd: Re: guiFactory question
Zsolt Rizsanyi
rizsanyi at myrealbox.com
Mon Jul 28 21:10:45 CEST 2003
Hi!
George suggested to repost this to the list.
So please if somebody could help, then please do so.
Thanks
Zsolt
---------- Forwarded Message ----------
Subject: Re: guiFactory question
Date: Monday 28 July 2003 19.09
From: George Staikos <staikos at kde.org>
To: Zsolt Rizsanyi <rizsanyi at myrealbox.com>
On Sunday 27 July 2003 06:12, you wrote:
> Hi George!
>
> I know you are pretty busy lately, but I would like you could help me out
> regarding installing menu entries and toolbar buttons by plugins.
>
> I have (after some experimentation) found out a way to do that but I'm not
> satisfied with the code.
> Could you please look at the Plugin::installGUIElements in
> qtvision/plugins/misc/telex/telex.cpp and say how that could be done easier
> (more importantly without casting to KMainWindow and avoiding to get
> KXMLGUIClient).
I think you should repost to the list. Rich Moore knows this stuff well
and I'll point it out to him. Meanwhile I don't think the code looks too
bad really. The dynamic_cast is necessary becasue there may not be a
MainWindow. You might not have the correct guiclient if you only take the
first one though. Maybe Rich has more insight into that part.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
-------------------------------------------------------
____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
More information about the kwintv
mailing list