[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Memory question
From: Uwe Thiem <uwe () uwix ! alt ! na>
Date: 1999-08-02 11:13:52
[Download RAW message or body]
On Mon, 2 Aug 1999, Herwin Jan Steehouwer wrote:
> On Mon, 2 Aug 1999, Uwe Thiem wrote:
>
> > On Sun, 1 Aug 1999, Herwin Jan Steehouwer wrote:
> >
> > > I have a little memory question, when i make Dialogs or TabDialog etc,
> > > they are closed with accept(), but that is not removing the dialog.
> > >
> > > How can i be shure the dialog is removed from memory, because the memory
> > > is increasing every time i open a window !?
> >
> > There is someplace in your program where you create the dialog with "new"
> > and then call yourDialog->exec(). When that call returns you delete
> > the dialog with ... well ... "delete". ;-)
>
> Yes, but what about Modal dialogs ?
> like QDialog(this, name, TRUE); ?
>
> they can't be run with exec() ! how can i delte those ?
???
Of course you can. And should.
Uwe
-------------------------------------------------------------------------
Uwe Thiem Tel: +264 - 061 - 244511
P.O.Box 30955 Fax: +264 - 061 - 244511
Windhoek Email: uwe@uwix.alt.na
Republic of Namibia uwe@kde.org
http://www.kde.org
**********************************
You can still escape from the GATES of hell: Use KDE!
-------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic