qt5base-lts/examples
Andreas Hartmetz e7bf0edfd4 Add option to disable "session management by closing windows".
That feature is a poor man's session management for applications
that do not implement any specific session management features.
It badly interferes with proper session management support, so
applications must be able to disable it.

This enables fixing applications with
QGuiApplication::quitOnLastWindowClosed() true - the default -
dying too early, before they are enumerated for the list of
applications to restart on session restore, thus preventing them
from being restored. See
https://bugs.kde.org/show_bug.cgi?id=354724

[ChangeLog][QtGui] Qt asking to close windows on session exit as
a fallback session management mechanism has been made optional.
Disabling it fixes session management for applications that
implement full session management. See
QGuiApplication::isFallbackSessionManagementEnabled().

Task-number: QTBUG-49667
Change-Id: Ib22e58c9c64351dea8b7e2a74db91d26dd7ab7aa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: David Faure <david.faure@kdab.com>
2016-02-15 16:10:20 +00:00
..
aggregate
corelib fix usage of wince scope 2015-06-05 10:29:10 +00:00
dbus Polish the complexpingpong example 2015-10-19 10:29:50 +00:00
embedded Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
gui Doc: remove unused code from OpenGL Window example 2015-10-07 10:56:04 +00:00
network fortuneserver/fortuneclient: Fix layout for WinRT. 2015-12-09 10:19:48 +00:00
opengl Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
qmake Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qpa Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qtconcurrent Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
qtestlib Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
sql examples: remove use of obsolete QStyleOption*V<N> typedefs 2015-11-02 18:43:26 +00:00
touch fingerpaint example: Use the maximum diameter for the touch spot by default 2015-05-23 11:28:00 +00:00
widgets Add option to disable "session management by closing windows". 2016-02-15 16:10:20 +00:00
xml Doc: Added brief statement to XML examples 2016-01-26 09:39:33 +00:00
examples.pro Move Qt Core examples under a common subdirectory 2014-10-17 14:57:13 +02:00
README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.