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

List:       kde-devel
Subject:    Re: Dialog on quit
From:       Michael Pyne <pynm0001 () comcast ! net>
Date:       2004-04-30 18:21:54
Message-ID: 200404301422.07261.pynm0001 () comcast ! net
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 30 April 2004 13:59, Chris Garrett wrote:
> I would want this dialog box to appear
> whether the "Quit" menu entry was clicked, or the window destroy cross in
> the window manager.

I should probably also add that you shouldn't connect your Quit action to the 
quit() slot from kapp.  Connect it to your KMainWindow subclass's close() 
slot.

I just discovered that the other day in the app I'm working on.

Regards,
 - Michael Pyne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAkplHqjQYp5Omm0oRAi4rAJ4zbdJ6a2KrWqc/qEEUg3IHB7z/pgCcCx5q
b50ShMieQ9VzAGULk+afgQM=
=xug+
-----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