[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] [patch] qtoolbar
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2002-06-27 15:00:53
[Download RAW message or body]

Andreas Kloeckner wrote:

> hi all,
> 
>   two of the constructors for qtoolbar are misdeclared in qtoolbar.sip,
>   ownership of the toolbar is not transferred to qmainwindow as it
>   should be. the attached patch fixes this.
> 
> andreas
> 
> 
> ------------------------------------------------------------------------
> 
> --- /root/PyQt-3.3rc1-orig/sip/qtoolbar.sip	Sat Jun 22 07:26:22 2002
> +++ qtoolbar.sip	Tue Jun 25 08:40:44 2002
> @@ -22,9 +22,9 @@
>  %End
>  
>  public:
> -	QToolBar(const QString &,QMainWindow *,Dock = DockTop,bool = 0,
> +	QToolBar(const QString &,QMainWindow * /TransferThis/,Dock = DockTop,bool = 0,
>  		 const char * = 0);


This part of the patch is correct.


> -	QToolBar(const QString &,QMainWindow *,QWidget * /TransferThis/,
> +	QToolBar(const QString &,QMainWindow * /TransferThis/,QWidget * /TransferThis/,
>  		 bool = 0,const char * = 0,WFlags = 0);


This part of the patch is incorrect.


Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic