[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Window manager close button?
From: Carsten Pfeiffer <carpdjih () cetus ! zrz ! TU-Berlin ! DE>
Date: 2000-06-13 21:18:09
[Download RAW message or body]
On Tue, Jun 13, 2000 at 11:15:35PM +0200, Mirko Sucker wrote:
Hiya,
> Can anybody tell me what happens exactly when the user clicks the window
> managers close button? And, especially, what is the difference than
> calling app->quit()? All I want to do is make sure a slot is called when
> this close button is hit.
QWidget::closeEvent() is called. If you don't override it, your widget
will be hidden. So just override it and call your slot from there.
Cheers,
Carsten Pfeiffer
--
http://www.geocities.com/SiliconValley/1632/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic