[PyKDE] Problems with auto-connect and QAbstractButton.clicked()

2006-01-26 Thread Andreas Pakulat
Hi, I have 2 problems with QAbstractButton.clicked and auto-connection: 1. the auto-connected slot gets called twice, I have no idea why 2. according to Qt4 docs clicked has a boolean argument which I cannot use with the autoconnected slot. The attached files include a minimal example.

Re: [PyKDE] Problems with auto-connect and QAbstractButton.clicked()

2006-01-26 Thread Phil Thompson
On Thursday 26 January 2006 3:49 pm, Andreas Pakulat wrote: Hi, I have 2 problems with QAbstractButton.clicked and auto-connection: 1. the auto-connected slot gets called twice, I have no idea why Because the signal is emitted twice, once with no argument and once with a bool argument. 2.

Re: [PyKDE] Problems with auto-connect and QAbstractButton.clicked()

2006-01-26 Thread Andreas Pakulat
On 26.01.06 17:12:15, Phil Thompson wrote: On Thursday 26 January 2006 3:49 pm, Andreas Pakulat wrote: Hi, I have 2 problems with QAbstractButton.clicked and auto-connection: 1. the auto-connected slot gets called twice, I have no idea why Because the signal is emitted twice, once

Re: [PyKDE] Problems with auto-connect and QAbstractButton.clicked()

2006-01-26 Thread Phil Thompson
On Thursday 26 January 2006 5:38 pm, Andreas Pakulat wrote: On 26.01.06 17:12:15, Phil Thompson wrote: On Thursday 26 January 2006 3:49 pm, Andreas Pakulat wrote: Hi, I have 2 problems with QAbstractButton.clicked and auto-connection: 1. the auto-connected slot gets called twice,