Doc: Mention further uses of QCA::applicationName()

Pick-to: 6.5 6.6
Change-Id: I47c72b30d13b8a2b3cfdad262a539a0865a3d635
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
This commit is contained in:
Kai Köhne 2023-07-04 08:52:02 +02:00
parent 62e3fa28d7
commit a1b22bc16c

View File

@ -2687,11 +2687,15 @@ QString QCoreApplication::organizationDomain()
\property QCoreApplication::applicationName
\brief the name of this application
The value is used by the QSettings class when it is constructed
using the empty constructor. This saves having to repeat this
information each time a QSettings object is created.
The application name is used in various Qt classes and modules,
most prominently in \l{QSettings} when it is constructed using the empty constructor.
Other uses are in formatted logging output (see \l{qSetMessagePattern()}),
in output by \l{QCommandLineParser}, in \l{QTemporaryDir} and \l{QTemporaryFile}
default paths, and in some file locations of \l{QStandardPaths}.
\l{Qt D-Bus}, \l{Accessibility}, and the XCB platform integration make use
of the application name, too.
If not set, the application name defaults to the executable name (since 5.0).
If not set, the application name defaults to the executable name.
\sa organizationName, organizationDomain, applicationVersion, applicationFilePath()
*/