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

Hans-Peter Jansen hpj at urpla.net
Mon Jul 3 23:43:12 BST 2006


Am Montag, 3. Juli 2006 23:16 schrieb Phil Thompson:
> 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.

Yup, that did the trick.

Thanks a lot, Phil.

Pete

P.S.: I feel sorry for the bad luck of your equip last saturday. 
      My condolence.




More information about the PyQt mailing list