[PyKDE] QStringList

Pete Ware ware at cis.ohio-state.edu
Sun Apr 2 22:59:24 BST 2000


PyQt-0.11.

I wanted to use qt.QTextBrowser and setup a Mime source using 

        qt.QMimeSourceFactory.defaultFactory().setFilePath ('some path')

Unfortunately, setFilePath() expects a QStringList (I expected a list
of strings).  Unfortunately, PyQt's QStringList doesn't have anyway of
adding more than the initial string specified in the constructor
(i.e. it needs to add the QValueList append() method).

--pete




More information about the PyQt mailing list