[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdebase/kfind
From: Carsten Pfeiffer <carp () cs ! tu-berlin ! de>
Date: 1999-12-01 12:45:59
[Download RAW message or body]
Hi,
> For the record, connecting a signal to a signal is allowed.
> When the first one is triggered, it triggers the second one.
sure, that was the intention. It's still a bit strange and unusual if you
ask me :) What was most confusing, was that it sometimes looked like it
was a slot, while it was not, e.g.
in the header file:
signals:
void open();
and in the implementation:
connect( bla, SIGNAL(clicked()), SLOT(open()) );
It must have worked that way some time ago, but with the current Qt, I got
lots of "connect: no such slot blabla" and I wondered what the hell that
code wanted to do :) It does still work with
connect( bla, SIGNAL(clicked()), SIGNAL(open()) );
Cheers,
Carsten Pfeiffer
--
http://www.geocities.com/SiliconValley/1632
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic