On 2/10-2009 01:09 Thomas Olsen tang...@gmail.com wrote:
On 1/10-2009 23:51 David Boddie da...@boddie.org.uk wrote:
job.data.connect(self.job_received)
Thanks! It works. It really is true that the new syntax is more python
like. The documentation was so explicit that I didn't understand it
On 2/10-2009 14:01 Thomas Olsen tang...@gmail.com wrote:
self.currency_from.connect(self.do_convert_from)
Replying to myself again :-)
This should of cause be:
self.currency_from.textChanged.connect(self.do_convert_from)
Works like a charm and is much more pretty python wise.
--
Best
Am Freitag 02 Oktober 2009 schrieb Thomas Olsen:
On 2/10-2009 01:09 Thomas Olsen tang...@gmail.com wrote:
On 1/10-2009 23:51 David Boddie da...@boddie.org.uk wrote:
job.data.connect(self.job_received)
Thanks! It works. It really is true that the new syntax is more python
like. The
On 2/10-2009 14:43 Hans-Peter Jansen h...@urpla.net wrote:
Am Freitag 02 Oktober 2009 schrieb Thomas Olsen:
On 2/10-2009 01:09 Thomas Olsen tang...@gmail.com wrote:
On 1/10-2009 23:51 David Boddie da...@boddie.org.uk wrote:
job.data.connect(self.job_received)
Thanks! It works. It
Hi
This is actually PyKDE4 related but the list seems to be dead.
I am trying to connect a KIO.TransferJob[1] to a method in my class but must
be doing something wrong. A very stripped down version of my class looks like
this:
from PyKDE4.kdecore import *
from PyKDE4.kio import *
class
job is not a member of the class (self.job) so it gets destroyed.
- Original Message
From: Thomas Olsen tang...@gmail.com
To: pyqt@riverbankcomputing.com
Sent: Thursday, October 1, 2009 2:09:21 PM
Subject: [PyQt] Another connect problem
Hi
This is actually PyKDE4 related
/Using_KIO_Slaves_in_your_Program
and there job is an argument to the slot..?
- Original Message
From: Thomas Olsen tang...@gmail.com
To: pyqt@riverbankcomputing.com
Sent: Thursday, October 1, 2009 2:09:21 PM
Subject: [PyQt] Another connect problem
Hi
This is actually PyKDE4 related
instance around.
- Original Message
From: Thomas Olsen tang...@gmail.com
To: pyqt@riverbankcomputing.com; Jason H scorp...@yahoo.com
Sent: Thursday, October 1, 2009 2:46:48 PM
Subject: Re: [PyQt] Another connect problem
On Thursday 01 October 2009 20:22:00 Jason H wrote:
job
On Thursday 01 October 2009 20:56:17 Jason H wrote:
The C++ code uses new to create an object on the heap, which you must
delete later In python if nothing references the object, it is destroyed.
So as soon as __init__ is done, job goes *poof* You need to maintain a
reference to it by using
On Thu Oct 1 20:38:00 BST 2009, Thomas Olsen wrote:
On Thursday 01 October 2009 20:56:17 Jason H wrote:
The C++ code uses new to create an object on the heap, which you must
delete later In python if nothing references the object, it is
destroyed. So as soon as __init__ is done, job goes
On 1/10-2009 23:28 David Boddie da...@boddie.org.uk wrote:
On Thu Oct 1 20:38:00 BST 2009, Thomas Olsen wrote:
On Thursday 01 October 2009 20:56:17 Jason H wrote:
The C++ code uses new to create an object on the heap, which you must
delete later In python if nothing references the
On Thu Oct 1 22:46:39 BST 2009, Thomas Olsen wrote:
I use the style you've quoted above and the call return True. Tried to
read the documentation for the new-style syntax but I couldn't really grasp
how to use it without a working example.
Maybe something like this will work:
On 1/10-2009 23:51 David Boddie da...@boddie.org.uk wrote:
job.data.connect(self.job_received)
Thanks! It works. It really is true that the new syntax is more python like.
The documentation was so explicit that I didn't understand it :-) The only
problem now is that the method doesn't
13 matches
Mail list logo