[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: New ktw problems...
From: Kalle Dalheimer <kalle () kde ! org>
Date: 1998-04-04 14:31:07
[Download RAW message or body]
Sven Radej wrote:
>
> Hi,
>
> It seems that using KTW you have to create your KTW-inherited widgets
> with new; Some apps do not do it that way. But they were old style apps
> and they ussually reimplemented closeEvent.
>
> KTW's closeEvent () deletes this. Therefore KTW-inherited widgets must
> be created with new.
>
> Now, is there a way for KTW to find out if it was created with new or
> not?
There is no way of doing so, BUTTHH you can prevent objects being
created on the stack by making the destructor private.
Kalle
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic