[PyKDE] function name collision

Fábio Sato sato at simepar.br
Wed Jul 23 22:45:00 BST 2003


Yes, it worked now! Thanks!
-- 
Fábio Sato


> Oops, I missed this. I'm betting that self.listEdit1 is a QWidget? I think
> you want to change:
>
> idx = string.find(self.lineEdit1, ":")
>
> to
>
> idx = string.find( self.lineEdit1.text(), ':' )
>
> -----Original Message-----
> From: Fábio Sato [mailto:sato at simepar.br]
> Sent: Wednesday, July 23, 2003 1:36 PM
> To: Michael Pyle
> Subject: Re: [PyKDE] function name collision
>
>
> No, I don't have any wigdet called 'string'...
> This is a result of a 'grep string' in my source code:
>
> import string
> from string import *
>         idx = string.find(self.lineEdit1, ":")
>
> Thanks!





More information about the PyQt mailing list