Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, February 2008
AW: multiple signals from gui controls


Message 1 in thread

Hard to tell without you going into more details.

Maybe the slots are connected by connectSlotsByName and then again manually by you with a connect() call?

show us some code!

Cheers,
Peter

> -----Ursprüngliche Nachricht-----
> Von: Serguei [mailto:sergueiv@xxxxxxxxxxxxx] 
> Gesendet: Donnerstag, 31. Januar 2008 20:19
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: Re: multiple signals from gui controls
> 
> Thanks Niko,
> I double checked it with debugger - it's connected just once.
> 
> Serguei
> 
> Niko Paltzer wrote:
> 
> > Hi Serguei,
> > 
> > maybe you connected the slot several times to the same signal.
> > 
> > At least I did when I encountered that kind of behaviour.
> > 
> > Regards, Niko
> > 
> > 
> 
> --
> To unsubscribe - send a mail to 
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the 
> subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 
> 

--
 [ signature omitted ] 

Message 2 in thread

Thanks, Peter. That solved the problem. I did not know about
connectSlotsByName.

Serguei

Peter Prade wrote:

> Hard to tell without you going into more details.
> 
> Maybe the slots are connected by connectSlotsByName and then again
> manually by you with a connect() call?
> 
> show us some code!
> 
> Cheers,
> Peter
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Serguei [mailto:sergueiv@xxxxxxxxxxxxx] 
> > Gesendet: Donnerstag, 31. Januar 2008 20:19
> > An: qt-interest@xxxxxxxxxxxxx
> > Betreff: Re: multiple signals from gui controls
> > 
> > Thanks Niko,
> > I double checked it with debugger - it's connected just once.
> > 
> > Serguei
> > 
> > Niko Paltzer wrote:
> > 
> > > Hi Serguei,
> > > 
> > > maybe you connected the slot several times to the same signal.
> > > 
> > > At least I did when I encountered that kind of behaviour.
> > > 
> > > Regards, Niko
> > > 
> > > 
> > 
> > --
> > To unsubscribe - send a mail to 
> > qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the 
> > subject or the body.
> > List archive and information: http://lists.trolltech.com/qt-interest/
> > 
> > 
> 
> 

--
 [ signature omitted ]