Do not connect KStandardAction::quit() to QApplication::quit()
Matthew Woehlke
mw_triad at users.sourceforge.net
Sat Feb 16 02:33:29 GMT 2008
Aurélien Gâteau wrote:
> David Faure wrote:
>> The styleguide (in KDE 3 at least; the current styleguide on
>> usability.kde.org seems to have nothing about this) says: "Closing the
>> application by selecting Quit in the File-menu closes the document-window
>> and the document within it. Closing the document-window by selecting the X
>> on the window border is equivalent to selecting Quit in the File-menu.
>> "Implementation Note
>> " Please note that closing the application does not necessarily mean
>> terminating the UNIX process - other application instances may be using
>> the same UNIX process and they should remain unaffected!
>> http://developer.kde.org/documentation/standards/kde/style/menus/file.html
>>
>> This means that connecting to closeAllWindows() is just as wrong as
>> connecting to quit(). In most KDE applications, the quit standardaction
>> should be connected to "this, SLOT(close())".
>
> Hum, I see. I guess I got used to Option+Q on Mac OS X being used to
> *really* quit the whole application. Whether it's the behavior users will
> expect should be debated on kde-usability. Will post a message about it.
What ever happened to this? I don't remember a debate on kde-usability.
--
Matthew
A pool hall put up a sign in their front window that read: "Profound
language prohibited within." I could just imagine some people discussing
the meaning of life and being told to take it outside. -- Scott Adams
More information about the kde-core-devel
mailing list