qt5base-lts/tests/auto/gui/kernel/qguiapplication
Pier Luigi Fiorini 61ad604ad4 Add QGuiApplication::setDesktopFileName()
This property might be set by applications whose desktop entry file name
cannot be determined by heuristics already in place.

It is particularly useful for QtWayland as it can be used to determine
the app_id simply by stripping the ".desktop" suffix from this property.
Without a correct app_id, Wayland compositors won't be able to e.g.
show the application icon on task managers.

This property is also very interesting for X11 as there are various
desktop environments trying to map windows to launchers.
It will be possible to export desktopFileName as a xproperty, making
such mapping less error prone.

Change-Id: I0fef23f28f383639e625379ab46e36aecb338ac4
Reviewed-by: Martin Gräßlin <mgraesslin@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: David Faure <david.faure@kdab.com>
2015-08-27 11:00:39 +00:00
..
icons Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00
qguiapplication.pro Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00
testplugin.json Fix events being processed on application start 2012-09-26 19:54:19 +02:00
tst_qguiapplication.cpp Add QGuiApplication::setDesktopFileName() 2015-08-27 11:00:39 +00:00
tst_qguiapplication.qrc Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00