[PyKDE] pyqt4 & escape function

Phil Thompson phil at riverbankcomputing.co.uk
Sun Feb 26 14:09:32 GMT 2006


On Friday 10 February 2006 10:37 am, Olivier Fournier wrote:
> Hi,
>
> I try to use escape function but I have an error: AttributeError: escape
>
> can you tell me where I wrong ?
>
> Thanks
>
>
> **********************************************
> from PyQt4 import QtCore
>
> string = QtCore.QString("escape function")
>
> print string
> print QtCore.Qt.escape(string)
>
> ***********************************************

This is now in current snapshots, but the call is...

QtGui.Qt.escape(string)

Phil




More information about the PyQt mailing list