[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] pyqt4 & escape function
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2006-02-26 14:09:32
Message-ID: 200602261409.32452.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

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

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic