Qt-interest Archive, May 2008
Why lostFocus() became COMPAT signal?
Message 1 in thread
- Subject: Why lostFocus() became COMPAT signal?
- From: ÐÐÑÐÐ ÐÐÑÐÑÐÐÐ <uksus70@xxxxxxxxx>
- Date: Thu, 8 May 2008 11:32:40 +0800
- Delivered-to: qt-interest@trolltech.com
- Disposition-notification-to: ÐÐÑÐÐ ÐÐÑÐÑÐÐÐ <uksus70@gmail.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:return-receipt-to:from:to:subject:date:message-id:mime-version:content-type:x-mailer:thread-index:content-language:disposition-notification-to; bh=vEb3cimwBiHHdOdPmF02cx0G5CC4bBIZRtTBwvC5lBM=; b=F1P89+pUz7LbAR2Jx73fl0d8uILcaCDIUt4d2d4OV9OXqktq0ILmX2W1PNNyJey3qVvyy5ezYi+4h7am4aYIF8acUZ7zLahL1QsFx51oaUCZI+s7ipYpkrHtGrMvK9O9ZgZncdX3XFWn4gHetqKY4q74eMZdfELGcz1Qsk1nPLQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=return-receipt-to:from:to:subject:date:message-id:mime-version:content-type:x-mailer:thread-index:content-language:disposition-notification-to; b=awnVntVz+DvYi676kDdkEfhuuJi3BwjpU/VfHMpOTCzdEX6R3V+N1JNg0wLF+Wc0n7NUt1pHN4KJC2LnWfHuOgxeh2VoxNJK9gsm83lyPRKEm4tIUJ3cI9v63gKDAFFG3YJKwzP4H1xyCCVfi6VfaP4CVjNOPLgKUSv28QvtXpM=
- List-help: <mailto:qt-interest-request@trolltech.com?subject=help>
- List-post: <mailto:qt-interest@trolltech.com>
- List-subscribe: <mailto:qt-interest-request@trolltech.com?subject=subscribe>
- List-unsubscribe: <mailto:qt-interest-request@trolltech.com?subject=unsubscribe>
- Resent-from: qt-interest@xxxxxxxxxxxxx
- Resent-message-id: <BPjzTB.A.3oE.zRnIIB@esparsett>
- Resent-sender: qt-interest-request@xxxxxxxxxxxxx
- Thread-index: AciwvCsPe2u1XaiiSHeEbmp6FEZITg==
- To: <qt-interest@xxxxxxxxxxxxx>
Iâm using QLineEdit::lostFocus() signal for some reason. Debug output tells me the following:
Connecting from COMPAT signal (QLineEdit::lostFocus())
Why that signal became COMPAT and what should I use instead?
Message 2 in thread
The signale was probably "dropped" in QT 4.0 however, they may not of marked it as COMPAT till the version that your using.
That said, if you look in the QT 3 to QT 4 docs will list which new signal to connect to.
Scott
________________________________
From: Антон Сердюков [mailto:uksus70@xxxxxxxxx]
Sent: Wednesday, May 07, 2008 8:33 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: Why lostFocus() became COMPAT signal?
I'm using QLineEdit::lostFocus() signal for some reason. Debug output tells me the following:
Connecting from COMPAT signal (QLineEdit::lostFocus())
Why that signal became COMPAT and what should I use instead?
Message 3 in thread
- Subject: RE: Why lostFocus() became COMPAT signal?
- From: ÐÐÑÐÐ ÐÐÑÐÑÐÐÐ <uksus70@xxxxxxxxx>
- Date: Thu, 8 May 2008 12:10:48 +0800
- Delivered-to: qt-interest@trolltech.com
- Disposition-notification-to: ÐÐÑÐÐ ÐÐÑÐÑÐÐÐ <uksus70@gmail.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:return-receipt-to:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:x-mailer:thread-index:content-language:disposition-notification-to; bh=l5p2tOJ1h5CukUUx8auEPmTEMXicKekvkXfBg86q+UY=; b=UdR29Y1TxHvyDGH8eK44XFkKlRPP9+YOnCfX/eAhKySxcr+8xYqNnUi33IZULU2EjSYgK7sHBoXZU+JpkRvfezG6SR7X8eSXMuH3Ts+3QGGcuDpjuRhaVNzyFUFpcA+zPccjozT5Q2JCZn6t5c8onw+xNmdYuHb1esl3A89iwVc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=return-receipt-to:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:x-mailer:thread-index:content-language:disposition-notification-to; b=LxeNdx6cQ/SpnT2ulMvNLHhbamdZXulA8CupaNwUbWZkV6BW20MN+KQJK2Tewdaq1OWZUKA4ZH5ZFBHR0cKnQZJPKHPUYJbpBokKg058LHNNvKONJyrQlnwyF+5197T3BpeCATZyECPHCc+UnV366WCtUEClkhEHYZo9tbL3oME=
- List-help: <mailto:qt-interest-request@trolltech.com?subject=help>
- List-post: <mailto:qt-interest@trolltech.com>
- List-subscribe: <mailto:qt-interest-request@trolltech.com?subject=subscribe>
- List-unsubscribe: <mailto:qt-interest-request@trolltech.com?subject=unsubscribe>
- Resent-from: qt-interest@xxxxxxxxxxxxx
- Resent-message-id: <TKl1NB.A.BTC.k1nIIB@esparsett>
- Resent-sender: qt-interest-request@xxxxxxxxxxxxx
- Thread-index: AciwvCsPe2u1XaiiSHeEbmp6FEZITgAA3XcgAABgi2A=
- To: <qt-interest@xxxxxxxxxxxxx>
By the way, Iâm talking about Qt 4.4.0. There was no such message in earlier version (4.3.1).
And I havenât found any substitution signal for loosing focus.
Message 4 in thread
Id have to look at the code... but probably it was deprecated in 4.0, but finally got around to marking it as such in 4.4.0
That said, the signal QApplication::focusChanged( QWidget * old, QWidget * new ) is probably what you are looking for.
You can also used QLineEdit::editingFinished
Scott
________________________________
From: Антон Сердюков [mailto:uksus70@xxxxxxxxx]
Sent: Wednesday, May 07, 2008 9:11 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: RE: Why lostFocus() became COMPAT signal?
By the way, I'm talking about Qt 4.4.0. There was no such message in earlier version (4.3.1).
And I haven't found any substitution signal for loosing focus.