List Info

Thread: Re: How to get a pointer for mainwindow?




Re: How to get a pointer for mainwindow?
user name
2007-03-12 07:42:40
On 12.03.07 05:22:04, dukju ahn wrote:
> 2007/3/12, Alexander Dymo <dymoukrpost.ua>:
> > On Monday 12 March 2007 09:55, dukju ahn wrote:
> > > Plugins can have access to ICore, and through
ICore, IUiController
> > > can be accessed. But activeMainWindow() or
defaultMainWindow()
> > > only exist in UiController, which the plugins
does not have access.z
> > >
> > Yes, those methods are not exposed in
IUiController. Could you please
> > tell me why do you need mainwindows so we can
decide whether to
> > expose that stuff or not.
> >
> 
> The reason is that
> contextMenu( KMenu *menu, const Context *context )
> signal is emitted at KDevelop::MainWindow

As Alexander said in the rest of his post: We don't know yet
wether this
will happen or wether we will do something else for context
menu
integration. So for now you can just skip context menu stuff
in your
plugin.

Andreas

-- 
You look tired.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )