List Info

Thread: KDE/kdevelop




KDE/kdevelop
user name
2006-08-23 07:25:53
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:ockWidge
tArea dockWidgetAreaHint() const;
> 2) virtual bool isCentralPlugin() const;
> 3) virtual QWidget *pluginView() const;
Does that mean a plugin can have only one view now?

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
KDE/kdevelop
user name
2006-08-23 14:02:43
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:ockWidge
tArea 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-develbarney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
[1-2]

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