[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: trivial KDE program crashing
From:       Guillaume Laurent <glaurent () telegraph-road ! org>
Date:       2001-09-09 17:56:16
[Download RAW message or body]

On Sunday 09 September 2001 16:48, Martijn Klingens wrote:

> Qt objects that have a 0 parent are top-level windows. There is a special
> Qt flag Qt::WDestructiveClose that specifies that closing such a window
> should auto-delete the widget (and hence its children).

This applies to widgets only. A QObject is not necessarily a widget. If you 
create a QObject with no parent, it's up to you to destroy it.

-- 
					Guillaume.
					http://www.telegraph-road.org
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic