[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Dialog on quit
From: Michael Buesch <mbuesch () freenet ! de>
Date: 2004-04-30 18:07:03
Message-ID: 200404302007.04552.mbuesch () freenet ! de
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 30 April 2004 19:59, Chris Garrett wrote:
> I am probably being stupid here, but how do you make a dialog box appear on
> application exit asking something like "are you sure?". I am using
> KMdiMainFrm as the basis of my app. I would want this dialog box to appear
> whether the "Quit" menu entry was clicked, or the window destroy cross in
> the window manager.
You can overload QWidget's
virtual void closeEvent ( QCloseEvent * e )
> Best regards,
>
> Chris.
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAkpXHFGK1OIvVOP4RAnjlAKCtbrNtuRmcdG2+EaHNzkXpz3HWzgCZAbZv
nvYGF6x0P11QLHkwhqujgus=
=La03
-----END PGP SIGNATURE-----
>> 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