connect(testLineEdit, SIGNAL(returnPressed(QString&)), this, SLOT(slotDoIt(QString&)));

Carsten Pfeiffer carpdjih at sp.zrz.tu-berlin.de
Fri Jun 15 00:28:26 UTC 2001


On Mittwoch, 13. Juni 2001 12:54 Lorenzo Delana wrote:

> On Wednesday 13 June 2001 12:33, you wrote:
> > someone have tried to use the signal "returnPressed" of KLineEdit ??
> >
> > I have tried with QLineEdit and all are ok, while with KLineEdit, my slot
> > funcion is invoked three times, by the connect signalling system...why?
>
> note that the SIGNAL(returnPressed()) works well one time at call. and then
> y can use ->text() to retrieve the data...

can't reproduce that, works just fine for me. One keypress, one invocation.

Cheers,
Carsten Pfeiffer

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list