[PyKDE] QTextEdit.setAutoFormatting() has an invalid type

Phil Thompson phil at riverbankcomputing.co.uk
Mon Jul 3 22:16:11 BST 2006


On Monday 03 July 2006 9:45 pm, Hans-Peter Jansen wrote:
> Am Montag, 3. Juli 2006 20:41 schrieb Phil Thompson:
> > On Monday 03 July 2006 3:25 pm, Hans-Peter Jansen wrote:
> > >     self.textBrowser.setAutoFormatting(QTextBrowser.AutoAll)
> > > TypeError: argument 1 of QTextEdit.setAutoFormatting() has an
> > > invalid type
> >
> > Should be fixed in tonight's PyQt3 snapshot.
>
> Could you kindfully provide a unified diff of this fix, please?
>
> I have to maintain release versions of your packages, where only
> assorted fixes are acceptable.

Find setAutoFormatting() and autoFormatting() and change the uint to int in 
both.

Phil




More information about the PyQt mailing list