Re: [PyKDE] None as a string argument

2005-09-20 Thread Giovanni Bajo
Anthony Heading <[EMAIL PROTECTED]> wrote: > The latest pyqt (3.15) with sip 4.3.1 seems to disallow None to be > passed > into any Qt function expecting a QString. For example, adding a line > to tut1.py: > button.setText(None) > produced a blank button in earlier pyqt releases, but now give

Re: [PyKDE] None as a string argument

2005-09-20 Thread Phil Thompson
On Tuesday 20 September 2005 10:09 pm, Anthony Heading wrote: > Hi, > > The latest pyqt (3.15) with sip 4.3.1 seems to disallow None to be passed > into any Qt function expecting a QString. For example, adding a line > to tut1.py: > button.setText(None) > produced a blank button in earlier pyq

[PyKDE] None as a string argument

2005-09-20 Thread Anthony Heading
Hi, The latest pyqt (3.15) with sip 4.3.1 seems to disallow None to be passed into any Qt function expecting a QString. For example, adding a line to tut1.py: button.setText(None) produced a blank button in earlier pyqt releases, but now gives an error: Runtime Error: cannot pass None as