switch to PyQt4 API v2 for QStrings