[PyKDE] PyQt4 QStringList

Phil Thompson phil at riverbankcomputing.co.uk
Sun Mar 5 22:49:13 GMT 2006


On Saturday 14 January 2006 8:56 pm, Doug Bell wrote:
> Hi,
>
> I've noticed that the use of QStringList is more common in Qt4.  But
> using the C++ stream operators to initialize a it doesn't seem very
> Pythonic.
>
> Would it be possible to allow the QStringList constructor to
> automatically convert from a Python list of strings?  Or am I missing an
> easier way to do it?

Will be in tonight's PyQt4 snapshot. (Yes, I am getting to the bottom of the 
list.)

Phil




More information about the PyQt mailing list