On Sun, Mar 22, 2009 at 4:20 PM, Edward K. Ream <[email protected]> wrote:

>> This must be fixed properly. Maybe there is an "about-to-be-destroyed"
>> event that can be caught in the QLineEdit widget itself.
>
> Indeed there is such an event: QWidget.destroyed.  Connecting this
> event seems to work.

It's actually QObject.destroyed.

It does seem rather hackish (read: error-prone) to rely on that.
Following Terrys suggestion, why not just rely on:

http://doc.trolltech.com/4.5/qlineedit.html#textEdited

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to