KDE/kdevelop

Adam Treat treat at kde.org
Wed Aug 23 14:02:43 UTC 2006


On Wednesday 23 August 2006 3:25 am, Alexander Dymo wrote:
> On Wednesday 23 August 2006 03:00, Adam Treat wrote:
> > However, individual plugins that inherit KDevPlugin and wish to have some
> > sort of UI need to override a couple of new virtual functions in
> > KDevPlugin.
> >
> > 1) virtual Qt::DockWidgetArea dockWidgetAreaHint() const;
> > 2) virtual bool isCentralPlugin() const;
> > 3) virtual QWidget *pluginView() const;
>
> Does that mean a plugin can have only one view now?

Yes.  And I think that makes sense.  If it has two views, then you can add two 
separate plugins.  Note that these plugins can still be part of the same 
shared lib.

> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel




More information about the KDevelop-devel mailing list